pypi mcp-face-transformstreamable-httpMITupdated 16d ago
A Model Context Protocol (MCP) server that exposes the AceDataCloud Face Transform API — face keypoint detection, beautification, age/gender transform, face swap, cartoonization, and liveness detection.
What can you do with mcp face transform?
MCP Face Transform Server
A Model Context Protocol (MCP) server that exposes the AceDataCloud Face Transform API — face keypoint detection, beautification, age/gender transform, face swap, cartoonization, and liveness detection.
Status: All Face APIs are currently in Alpha. Interfaces may evolve.
Features
- Keypoint detection — 90+ landmarks per face, multi-face supported
- Beautification — smoothing, whitening, face slimming, eye enlarging
- Age transform — age or de-age a portrait
- Gender transform — swap perceived facial gender characteristics
- Face swap — move a source face onto a target image (with optional async webhook)
- Cartoonize — render a portrait in animated / cartoon style
- Liveness detection — distinguish live captures from printed / screen photos
Installation
pip install mcp-face-transform
Configuration
Set your AceDataCloud API token:
export ACEDATACLOUD_API_TOKEN=your_token_here
Get your token from https://platform.acedata.cloud.
Usage
stdio mode (default)
mcp-face-transform
HTTP mode
mcp-face-transform --transport http --port 8000
Tool Reference
| Tool | Description |
|---|---|
face_detect_keypoints |
Detect 90+ keypoints per face (multi-face supported). |
face_beautify |
Smoothing, whitening, face slimming, and eye enlarging. |
face_change_age |
Age or de-age a portrait. |
face_change_gender |
Swap perceived facial gender characteristics. |
face_swap |
Move a source face onto a target image (with optional async webhook). |
face_cartoonize |
Render a portrait in cartoon / animated style. |
face_detect_liveness |
Distinguish a live capture from a printed / screen photo. |
face_get_usage_guide |
Concise client-side tool usage reference. |
Example
"Detect all faces in https://example.com/group.jpg and return their keypoints."
→ face_detect_keypoints(image_url="https://example.com/group.jpg")
"Lighten and smooth my portrait."
→ face_beautify(image_url="https://example.com/me.jpg", smoothing=15, whitening=25)
"Replace the face in the scene with the headshot."
→ face_swap(
source_image_url="https://example.com/headshot.jpg",
target_image_url="https://example.com/scene.jpg",
)
Configuration in Claude Desktop / Claude Code
{
"mcpServers": {
"face-transform": {
"command": "uvx",
"args": ["mcp-face-transform"],
"env": {
"ACEDATACLOUD_API_TOKEN": "your_api_token_here"
}
}
}
}
Or use the hosted endpoint with bearer auth:
{
"mcpServers": {
"face-transform": {
"url": "https://face.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer your_api_token_here"
}
}
}
}
Development
pip install -e ".[dev,test]"
pytest --cov=core --cov=tools
ruff check .
Service details
License
MIT — see LICENSE.
Install
Add mcp face transform to your client. Pick the one you use.
{
"servers": {
"mcp-face-transform": {
"type": "http",
"url": "https://face.mcp.acedata.cloud/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
claude mcp add mcp-face-transform -- uvx mcp-face-transformcodex mcp add mcp-face-transform -- uvx mcp-face-transformamp mcp add mcp-face-transform -- uvx mcp-face-transform{
"mcpServers": {
"mcp-face-transform": {
"command": "uvx",
"args": [
"mcp-face-transform"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp-face-transform": {
"command": "uvx",
"args": [
"mcp-face-transform"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"mcpServers": {
"mcp-face-transform": {
"command": "uvx",
"args": [
"mcp-face-transform"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp-face-transform": {
"command": "uvx",
"args": [
"mcp-face-transform"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp-face-transform": {
"command": "uvx",
"args": [
"mcp-face-transform"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp-face-transform": {
"type": "local",
"command": "uvx",
"args": [
"mcp-face-transform"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp-face-transform": {
"command": {
"path": "uvx",
"args": [
"mcp-face-transform"
]
}
}
}
}Add to your Zed `settings.json`.
uvx mcp-face-transformRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
8 tools
mcp face transform exposes 8 tools to a connected agent.
- face_detect_keypoints
- Detect 90+ keypoints per face (multi-face supported).
- face_beautify
- Smoothing, whitening, face slimming, and eye enlarging.
- face_change_age
- Age or de-age a portrait.
- face_change_gender
- Swap perceived facial gender characteristics.
- face_swap
- Move a source face onto a target image (with optional async webhook).
- face_cartoonize
- Render a portrait in cartoon / animated style.
- face_detect_liveness
- Distinguish a live capture from a printed / screen photo.
- face_get_usage_guide
- Concise client-side tool usage reference.
Score
84 / 100
Excellent
- Documentation22/25
- Maintenance25/25
- Trust16/20
- Capability6/15
- Install experience15/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 8 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 8 tool(s) documented
- Provides prompt templates
- Provides resources
- 18 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 2026.8.23.0Latest | Aug 23, 2026 |
| 2026.8.18.0 | Aug 18, 2026 |
| 2026.8.17.0 | Aug 17, 2026 |
| 2026.8.10.0 | Aug 10, 2026 |
| 2026.7.30.0 | Jul 30, 2026 |
| 2026.7.4.0 | Jul 4, 2026 |
| 2026.7.2.4 | Jul 2, 2026 |
| 2026.7.2.3 | Jul 2, 2026 |
| 2026.7.2.2 | Jul 2, 2026 |