mixamo-mcp
# mixamo-mcp
A local MCP server for LLMs and a Python REST API for Mixamo and Blender. Use it with Claude Desktop, ChatGPT, or your own scripts. Search the catalog, choose a motion, adjust its controls, and save an animated FBX on your Mac. Use a library character, upload your own humanoid, or create a rigged stickman with custom proportions and colors.
The service is for one Mac user and one Mixamo account. You can try the stickman workflow entirely offline. Library search uses Mixamo over the network. Uploads go to Adobe through a signed-in Chrome tab, and direct account exports use a Mixamo session token entered in a local terminal. The project is an independent client for the Mixamo website. Adobe can change the site protocol and editor controls.
## Install on macOS
Install Python 3.11 or newer and Blender. The build and import workflows have been exercised with Blender 5.x. Browser-assisted uploads and exports also need Chrome 120 or newer, an Adobe account, and this repository’s unpacked extension. An MCP client is optional for Python and REST users.
```sh
git clone https://github.com/drhema/mixamo-mcp.git
cd mixamo-mcp
python3 -m venv .venv
.venv/bin/python -m pip install -e '.[test]'
.venv/bin/mixamo-local serve
```
Leave the service running. Use a second terminal in the same checkout for the remaining commands. The interactive API reference is available at [localhost:8765/docs](http://127.0.0.1:8765/docs).
### Create your first FBX offline
```sh
.venv/bin/python examples/python_client.py --template "Harbor" --character-only \
--template-settings '{"shirt_color":"#197E82","leg_length":1.1}' \
--output "$HOME/Downloads/harbor-rig.fbx"
```
The example prints a local `character_id`, waits for Blender to build the rig, and writes the FBX. Keep the ID to animate the same character later. The service retains the editable `.blend` as well. Choose a fresh output filename for each run. To import the result, use **File → Import → FBX** in Blender, or use the included Blender script.
```sh
/Applications/Blender.app/Contents/MacOS/Blender -b --python-exit-code 1 \
--python examples/blender_import.py -- --local-character-id CHARACTER_ID \
--character-only --save-blend "$HOME/Downloads/harbor-scene.blend"
```
## Connect an MCP client
The REST service owns characters, credentials, jobs, and files. The MCP process talks to it over loopback. Keep `mixamo-local serve` running while either client uses the tools. MCP file tools return an output-relative filename and byte count. The requested FBX or `.blend` is on the Mac that runs this service.
To check the MCP workflow locally before connecting a chat client, run the SDK example below. It starts the stdio adapter, creates a neutral stickman, waits for the job, and saves a new FBX in the MCP output directory. Omit `--output` to generate a unique filename. [MCP SDK example](examples/mcp_client.py)
```sh
.venv/bin/python examples/mcp_client.py --name Harbor --output harbor-mcp.fbx
```
### Claude Desktop via stdio
In Claude Desktop for macOS, open the **Local MCP servers** settings under **Desktop app → Extensions → Manage**. Some versions expose **Settings → Developer → Edit Config**. Merge this entry into the existing `mcpServers` object in `~/Library/Application Support/Claude/claude_desktop_config.json`. Replace the example command with the absolute path printed by `pwd -P` in your checkout followed by `/.venv/bin/mixamo-mcp`. [Local MCP setup for Claude Desktop](https://modelcontextprotocol.io/docs/develop/connect-local-servers)
```json
{
"mcpServers": {
"mixamo-mcp": {
"command": "/absolute/path/to/mixamo-mcp/.venv/bin/mixamo-mcp",
"args": []
}
}
}
```
Quit and reopen Claude Desktop, select the Mixamo tools, and ask for the local session status. For custom directories, add an `env` object inside `mixamo-mcp` with absolute paths for `MIXAMO_DATA_DIR`, `MIXAMO_INPUT_DIR`, or `MIXAMO_OUTPUT_DIR`. The default transport is stdio. Claude launches its own MCP process.
### ChatGPT via OpenAI Secure MCP Tunnel
ChatGPT on the web can reach this Mac through an outbound Secure MCP Tunnel. The tunnel client launches its own local stdio MCP process. Only the REST service needs to be started separately. Scope the connection to people who should be able to act on this Mac’s files and Mixamo account. [OpenAI Secure MCP Tunnel](https://developers.openai.com/api/docs/guides/secure-mcp-tunnels)
1. In OpenAI Platform, create or reuse a tunnel and associate it with the intended Platform organization and ChatGPT workspace. Managing a tunnel requires **Tunnels Read + Manage**. The runtime key and the person selecting the tunnel need **Tunnels Read + Use**. The workspace must allow custom MCP plugins. Install the supported `tunnel-client` binary from Platform settings. [Platform tunnel settings](https://platform.openai.com/settings/organization/tunnels)
2. Keep `mixamo-local serve` running. In another terminal, make `CONTROL_PLANE_API_KEY` available to `tunnel-client` using a local secret manager or a hidden prompt. Set `MIXAMO_TUNNEL_ID` to the complete tunnel ID from Platform. Run the following from the repository checkout. Activate the same environment whenever you restart the tunnel so its subprocess can find `mixamo-mcp`. [Official tunnel-client setup](https://github.com/openai/tunnel-client/blob/master/docs/onboarding.md)
```sh
. .venv/bin/activate
tunnel-client init --sample sample_mcp_stdio_local --profile mixamo \
--tunnel-id "$MIXAMO_TUNNEL_ID" --mcp-command mixamo-mcp
tunnel-client doctor --profile mixamo --explain
tunnel-client run --profile mixamo
```
3. Open ChatGPT Plugins and choose **+ → Add custom MCP server**. Name it **mixamo-mcp**, choose **Tunnel**, and select or paste the tunnel ID. Choose **No authentication** for the plugin’s stdio connection. The tunnel runtime key stays with `tunnel-client`, and the local REST key stays on your Mac. Review the requested access, create and install the plugin, then select it with `@` in a new conversation. Ask for `get_session_status` to check the connection. [ChatGPT Plugins](https://chatgpt.com/plugins) · [OpenAI custom MCP setup](https://developers.openai.com/api/docs/guides/custom-mcp-server)
### Other local MCP clients via HTTP
A client that supports Streamable HTTP can connect to `http://127.0.0.1:8766/mcp`. Keep `mixamo-local serve` running and start a second listener with the command below. Configure the local client to supply the `X-API-Key` header with the key stored at the path printed by `mixamo-local key-path`. The HTTP listener is loopback-only and checks the key on every request.
```sh
.venv/bin/mixamo-mcp --transport streamable-http --port 8766
```
### Try these prompts
> Use Mixamo Local to create a short-legged stickman named Harbor with a teal shirt. When it is ready, save the rig as `harbor.fbx` and its editable Blender file as `harbor.blend`.
> Find the Y Bot character and the Body Block animation. Show me the available motion controls for that character. If Overdrive is available, set it to 75, export with skin at 30 FPS, and save `y-bot-body-block.fbx`.
> Upload `heroes/astronaut.zip` from my Mixamo input folder. Tell me when the editor needs joint markers. After the rig is ready, save it as `astronaut-rig.fbx`.
## Connect Mixamo
**Direct account exports.** Sign in to Mixamo in Chrome. In DevTools, open **Network → Fetch/XHR**, reload the editor, and inspect a request to `www.mixamo.com/api/v1/`, such as `characters/primary`. Copy your own session’s `Authorization` header value. Run the command below and paste it into the hidden terminal prompt. The prompt accepts the value with or without the `Bearer` prefix. The service validates it and holds it in memory. Re-enter it if the session expires or the service restarts. The chat client never needs this token. [Mixamo](https://www.mixamo.com/) · [Reference downloader’s login instructions](https://github.com/saori-eth/node-mixamo-downloader#obtaining-your-mixamo-bearer-token)
```sh
.venv/bin/mixamo-local login
.venv/bin/mixamo-local status
```
**Custom characters.** Connect the unpacked extension to the signed-in English Mixamo editor before uploading. An already-rigged humanoid FBX can map automatically. For an unrigged character, Mixamo may request marker placement. FBX, OBJ, and ZIP uploads up to 128 MiB are supported. To include OBJ materials and textures, package one model with its MTL and image files in a ZIP. The bridge backs up the previous character before replacing it and validates the resulting rig in Blender. [Chrome bridge setup](chrome/README.md) · [Adobe’s character upload guide](https://helpx.adobe.com/creative-cloud/help/mixamo-rigging-animation.html)
**Motion settings.** Query the settings for the selected motion and character before submitting an export. Controls vary by motion, including `overdrive`, `arm_space`, `trim`, `mirror`, and `in_place` where available. The response includes accepted values. Export a single clip at 24, 30, or 60 FPS, with the mesh and rig or as an animated skeleton. Omitting the motion requests the neutral character with its mesh.
```sh
.venv/bin/python examples/python_client.py --character "Y Bot" --motion "Body Block" \
--settings '{"overdrive":75}' --fps 30 --output "$HOME/Downloads/y-bot-body-block.fbx"
```
If a name matches multiple results, select the precise `--catalog-id` or `--animation-id`. To reuse a saved character, pass `--local-character-id`. The REST and Blender examples use the Python standard library. The MCP example uses the official SDK installed with the project. [Python client](examples/python_client.py) · [Blender import script](examples/blender_import.py)
## REST API
Interactive documentation includes request schemas and response shapes. Requests to `/v1` use the service’s local key in the `X-API-Key` header. The helper sends it to curl through standard input. Run it in the checkout while the service is running. [Interactive API reference](http://127.0.0.1:8765/docs)
```sh
mixamo_curl() {
awk '{print "X-API-Key: " $0}' "$(.venv/bin/mixamo-local key-path)" |
curl --noproxy '*' --silent --show-error --fail-with-body --header @- "$@"
}
base=http://127.0.0.1:8765/v1
mixamo_curl --get --data-urlencode 'q=Body Block' "$base/animations"
mixamo_curl --form 'name=Astronaut' --form "file=@$HOME/Downloads/astronaut.fbx" \
"$base/characters/upload"
```
| Operation | REST route |
| --- | --- |
| Inspect account and Chrome connection | `GET /v1/session` |
| Search Mixamo characters or motions | `GET /v1/catalog/characters` or `GET /v1/animations` with `q` and `page` |
| Register a catalog character | `POST /v1/characters/from-catalog` |
| Upload FBX, OBJ, or ZIP | `POST /v1/characters/upload` with multipart `file` and optional `name` |
| Read the template schema or build a stickman | `GET /v1/templates/stickman` or `POST /v1/characters/from-template` |
| List or inspect saved characters | `GET /v1/characters` or `GET /v1/characters/{id}` |
| Read motion controls | `GET /v1/animations/{motion_id}/settings?character_id={local_character_id}` |
| Start a character or animation export | `POST /v1/exports` |
| Poll, resume, or cancel a job | `GET /v1/jobs/{id}`, `POST /v1/jobs/{id}/resume`, `POST /v1/jobs/{id}/cancel` |
| Download a completed job or saved character | `GET /v1/jobs/{id}/file`, `GET /v1/characters/{id}/rig`, `GET /v1/characters/{id}/blend` |
Creation and export return HTTP 202 with a `job_id` and `status_url`. Character creation also returns a reusable local `character_id`. Send the same `Idempotency-Key` on a retry of the same request. Poll the job until `completed`, then fetch its `file_url` when present. A catalog registration can complete without producing a file. `failed` and paused jobs include a reason and a `retryable` flag. A policy for each state is in [Troubleshooting](#troubleshooting).
For example, set `CHARACTER_ID` to a ready local character and `MOTION_ID` to a result from the animation search. Inspect its controls, then send a single export request with an unused idempotency key. This example uses a motion that supports `overdrive`.
```sh
mixamo_curl "$base/animations/$MOTION_ID/settings?character_id=$CHARACTER_ID"
mixamo_curl -H 'Content-Type: application/json' -H 'Idempotency-Key: harbor-wave-01' \
--data "{\"character_id\":\"$CHARACTER_ID\",\"animation_id\":\"$MOTION_ID\",\"settings\":{\"overdrive\":75},\"skin\":true,\"fps\":30}" \
"$base/exports"
```
Set `JOB_ID` to the returned `job_id` and call `mixamo_curl "$base/jobs/$JOB_ID"`. Once the job is complete, `mixamo_curl --output harbor-wave.fbx "$base/jobs/$JOB_ID/file"` writes the FBX. Choose an unused filename for the curl download.
## MCP tool reference
Tool IDs labeled `character_id` refer to a **local** character. Pass the **Mixamo catalog ID** to `register_catalog_character` and the **Mixamo motion ID** to animation tools. Creation, uploads, and exports accept an optional `idempotency_key`.
| Tool | Inputs and result |
| --- | --- |
| `get_session_status` | Read local service, Adobe session, and Chrome bridge status. |
| `search_catalog_characters` | Optional `query` and `page`. Returns Mixamo character IDs, names, and previews. |
| `register_catalog_character` | `catalog_id`. Creates a local character and a preparation job. |
| `upload_character` | `relative_path`, optional `name`. Upload a file under the configured MCP input directory to Mixamo. |
| `get_stickman_template` | Read the available size multipliers, color fields, ranges, and defaults. |
| `create_stickman` | `name`, optional `settings`. Builds the rigged template with Blender. |
| `list_characters` | List saved characters, their sources, and current states. |
| `get_character` | `character_id`. Inspect one saved character and available local assets. |
| `search_animations` | Optional `query` and `page`. Returns matching single motions. |
| `get_animation_settings` | `animation_id`, `character_id`. Read controls and export options. |
| `start_export` | `character_id`, optional `animation_id`, `settings`, `skin`, and `fps`. Defaults to mesh included and 30 FPS. |
| `get_job` | `job_id`. Read progress, recovery instructions, and result availability. |
| `resume_job` | `job_id`. Continue a paused or retryable job after resolving its cause. |
| `cancel_job` | `job_id`. Cancel a queued, paused, or failed job. |
| `save_job_file` | `job_id`, optional `relative_path`. Save the completed FBX under the MCP output directory. |
| `save_character_file` | `character_id`, optional `kind` (`rig` or `blend`) and `relative_path`. Save an available rig or editable template scene. |
## Components and configuration
| Component | Role |
| --- | --- |
| `mixamo-local serve` | FastAPI on `127.0.0.1:8765`. SQLite stores job checkpoints and character metadata. A single worker serializes changes to the active Mixamo account. |
| `mixamo-mcp` | Local stdio or Streamable HTTP MCP adapter. Reads the local REST key, returns structured tool results, and saves binary files on the Mac. |
| Blender | Background process that creates the template and verifies FBX mesh, skeleton, and movement. A local verification failure prevents job completion. |
| Chrome extension | Attaches to one signed-in Mixamo tab for uploads, rigging, previous-character backups, and browser-assisted export. |
| Setting | Default and use |
| --- | --- |
| `MIXAMO_DATA_DIR` | `~/Library/Application Support/Mixamo Local` for the REST service’s SQLite database, local key, character sources, rigs, backups, and exports. Point the CLI, MCP adapter, and examples at the same directory. |
| `MIXAMO_INPUT_DIR` | `~/Documents/Mixamo/input`. Put source files here for MCP uploads, for example `heroes/astronaut.zip`. |
| `MIXAMO_OUTPUT_DIR` | `~/Documents/Mixamo/output`. MCP save tools write new FBX and Blender files here and refuse to overwrite an existing file. |
| `MIXAMO_API_PORT` | REST port used by the MCP adapter, default `8765`. If you change it, also start `mixamo-local serve --port PORT` and use that port in the extension and REST clients. |
| `BLENDER_BIN` | Path to the Blender executable on the REST service’s host. By default the service checks `/Applications/Blender.app/Contents/MacOS/Blender`, then `PATH`. |
| `MIXAMO_TOKEN` | Optional session token supplied in the REST process environment at startup. Interactive `mixamo-local login` keeps the token out of shell commands and configuration files. |
MCP upload and save tools accept relative filenames inside their configured roots. Start with dedicated project folders. The REST service also stores its own verified copy of a completed export, so a client can retrieve it after the signed Adobe download URL expires.
## Verification
Run the test suite from the checkout. Install Blender to exercise the real FBX round-trip tests.
```sh
.venv/bin/python -m pytest -q
```
| Evidence | What it establishes |
| --- | --- |
| Local generation and Blender reimport | Two template characters retained distinct colors and proportions. Two locally generated animation-only FBXs moved the actual mesh on the same saved rig. |
| Live MCP over stdio | The client discovered the tools, queried the live catalog, and saved a generated character as both `.blend` and FBX. Blender read one mesh, 22 bones, and six materials. A standard MCP `initialize` handshake using protocol version `2025-06-18` also succeeded. |
| Local MCP over Streamable HTTP | An authenticated SDK client listed 16 tools and read session status. Requests with a missing key, an unrelated host, or an unrelated browser origin were rejected. |
| Live catalog requests | Python queried the Mixamo site for **Y Bot** and **Body Block**, then retrieved motion controls with and without a character ID. |
| Signed-in Mixamo web editor | A generated stickman uploaded as a rigged FBX. The editor exported **Dismissing Gesture** at Overdrive 50 and 75. Blender measured frame spans of 0–67 and 0–44 at 30 FPS. Both resulting FBXs carried the same 8,568 vertices, 22 moving bones, and the exact RGB values of all six original materials. |
| Automated service tests | Controlled upstream responses exercise export requests, rate limits, expired credentials, interrupted downloads, resumable jobs, idempotency, upload validation, and output attribution. |
The signed-in editor test used the official website. A live account-token export through the Python HTTP client, an entire upload-to-download run driven by the unpacked extension, and tool calls from an actual ChatGPT workspace or Claude Desktop session remain separate integration checks.
## Troubleshooting
| Symptom | Next action |
| --- | --- |
| MCP cannot reach the service, or REST returns `invalid_local_key` | Run `mixamo-local status`. Check the REST port and that both processes use the same `MIXAMO_DATA_DIR`. Reconnect the extension if the local key changed. |
| `auth_required` | For direct exports, renew the token with `mixamo-local login`. For a browser job, sign in to the bound Mixamo tab. Check or resume the original job ID. |
| `browser_required` or `needs_markers` | Open the connected tab and follow the displayed step. Confirm the intended model and its joint markers. [Chrome bridge recovery](chrome/README.md) |
| `review_required` after a network failure | Check the original job and Mixamo’s download state. Resume when the service can identify the original export. If the remote receipt is unknown, inspect the browser before cancelling and explicitly submitting a new request. |
| Unknown motion setting or multiple search matches | Use catalog IDs to choose the character and motion, then call `get_animation_settings` again. Only send parameters reported for that motion. |
| FBX validation or file-save error | Check Blender’s executable and the job’s message. A returned HTML page, broken rig, or animated export without moving bones fails validation. Choose a new output-relative filename for saves. |
| Claude cannot discover tools | Verify the absolute executable path, quit and restart Claude Desktop, and check its MCP logs. |
| ChatGPT cannot discover the tunnel or tools | Check workspace association, custom MCP permissions, and Tunnels Read + Use. Keep the REST service and `tunnel-client run` running and check `tunnel-client doctor`. |
## Contributing
Contributors are welcome. To report a bug, include the Python, Blender, and Chrome versions, steps to reproduce it, and the job’s public status or error code. A small synthetic test file can help. Remove account tokens, signed URLs, local keys, and private artwork before sharing a report. [Open an issue](https://github.com/drhema/mixamo-mcp/issues)
For a first pull request, fork the repository, create a branch from `main`, and install the test dependencies from the macOS guide above. Run `.venv/bin/python -m pytest -q`, then open a pull request against `main` describing the change and which paths you tested with Blender, Mixamo, or simulated responses.
## Credits and license
The session-based catalog and export workflow was informed by Paul Pierre’s **MixamoHarvester** and **node-mixamo-downloader** by `saori-eth`. Adobe’s documentation describes Mixamo’s supported file types, humanoid rigging, and animation controls. [MixamoHarvester](https://github.com/paulpierre/MixamoHarvester) · [node-mixamo-downloader](https://github.com/saori-eth/node-mixamo-downloader) · [Adobe Mixamo guides](https://helpx.adobe.com/creative-cloud/help/mixamo-rigging-animation.html)
The project code is released under the MIT License. Adobe’s terms govern the Mixamo service and its catalog assets. Rights to third-party models, textures, and animation files remain with their respective owners. [MIT License](LICENSE) · [Adobe Mixamo FAQ](https://helpx.adobe.com/creative-cloud/faq/mixamo-faq.html)
TDQS
Scored across 16 tools
Most tools target clearly distinct resources and actions across session, catalog, character, stickman, animation, export, and job domains. The main ambiguity is between save_character_file and save_job_file, which both save artifacts to the output directory, and the three character-creation paths are only clearly separated by their descriptions.
All tool names use snake_case and follow a predictable verb_noun convention, such as search_catalog_characters, get_character, create_stickman, start_export, and cancel_job. Minor naming specificity differences like search_catalog_characters versus search_animations do not break the overall consistency.
At 16 tools, the set is slightly above the ideal compact range but justified by the multi-stage workflow involving catalog search, character registration, stickman creation, animation settings, export, and job lifecycle management. Each tool appears to have a clear role rather than being redundant.
The surface covers discovery, registration/upload, character inspection, template creation, animation settings, export submission, job polling/resume/cancel, and file saving. Minor gaps include no delete or update operation for local characters and no job listing tool, though the returned job IDs make the latter workable.