Skip to main content

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

Service details

License

MIT — see LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_face_transform-2026.8.23.0.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_face_transform-2026.8.23.0-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file mcp_face_transform-2026.8.23.0.tar.gz.

File metadata

  • Download URL: mcp_face_transform-2026.8.23.0.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for mcp_face_transform-2026.8.23.0.tar.gz
Algorithm Hash digest
SHA256 9417c38a1fbe1f8569a5d1a14188c9984c1993af1ee8a62c0dd4a7e767758f9d
MD5 899ae2070dfe0c2fb5182be8815c8858
BLAKE2b-256 5476525b5623ed67cc319e103174de6171ac38c7228521ccb3e224ab07a4f378

See more details on using hashes here.

File details

Details for the file mcp_face_transform-2026.8.23.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_face_transform-2026.8.23.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3db7955f645f3c056007cccc3b153e80e2a4d2c1e1c5bbf1f31c1d0b88b3258c
MD5 00bcd83f7d67a0dd1e564ec44bdd56c6
BLAKE2b-256 cd7f4887a6946ef05d47f7ab83bb4c9e3a8bceaa4a90142d9346dc455d763e01

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2026.8.23.0 This release

2 files

2026.8.18.0

2 files

2026.8.17.0

2 files

2026.8.10.0

2 files

2026.7.30.0

2 files

2026.7.4.0

2 files

2026.7.2.4

2 files

2026.7.2.3

2 files

2026.7.2.2

2 files

2026.7.2.1

2 files

2026.7.2.0

2 files

2026.6.9.4

2 files

2026.6.9.3

2 files

2026.6.9.2

2 files

2026.6.9.1

2 files

2026.6.9.0

2 files

2026.6.6.0

2 files

2026.5.31.2

2 files

2026.5.31.1

2 files

2026.5.31.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page