Connects Claude to the xmorf API for AI image editing and generation. Exposes three tools: edit images using natural language prompts across eight specialized models (standard editing, enhance for realism, upscale, shadow migration, skin retouching, multi-angle views, and scene generation), generate new images from text descriptions, and list available models. Handles multiple input formats including file paths, data URLs, and raw base64. Requires an API token from xmorf.com. Reach for this when you need to programmatically manipulate images through conversation, whether removing backgrounds, upscaling photos, or generating artwork from descriptions without leaving your AI workflow.
MCP server for xmorf — AI image editing and generation API.
| Tool | Description |
|---|---|
xmorf_edit_image | Edit images with natural language prompts (8 AI models) |
xmorf_generate_image | Generate images from text descriptions |
xmorf_list_models | List available editing models |
| Model | Description |
|---|---|
standard | General-purpose AI image editing |
enhance | Enhance realism / anything-to-real |
upscale | Upscale and improve resolution |
shadow | Light & shadow migration (needs reference image) |
kiss | Passionate kiss effect (needs reference image) |
skin | Skin editing and retouching |
angles | Multi-angle view generation |
scene | Scene change / next-scene generation |
Get an API token from xmorf.com.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"xmorf": {
"command": "npx",
"args": ["-y", "mcp-xmorf"],
"env": {
"XMORF_API_TOKEN": "xmorf_your_token_here"
}
}
}
}
Add to .vscode/mcp.json:
{
"servers": {
"xmorf": {
"command": "npx",
"args": ["-y", "mcp-xmorf"],
"env": {
"XMORF_API_TOKEN": "xmorf_your_token_here"
}
}
}
}
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"xmorf": {
"command": "npx",
"args": ["-y", "mcp-xmorf"],
"env": {
"XMORF_API_TOKEN": "xmorf_your_token_here"
}
}
}
}
Edit this photo to remove the background
The xmorf_edit_image tool accepts file paths, data URLs, or raw base64 as input. You can optionally specify an output path to save the result to disk.
Generate a watercolor painting of a mountain landscape at dawn
What image editing models are available on xmorf?
| Variable | Required | Description |
|---|---|---|
XMORF_API_TOKEN | Yes | Your xmorf API bearer token |
See the full API docs at xmorf.com/docs.
MIT
XMORF_API_TOKEN*secretYour xmorf API bearer token from xmorf.com