About xmorf
xmorf is an MCP server for editing and generating images through the xmorf API. It offers multiple editing model types, image generation, and model discovery for supported hosts such as Claude Desktop, VS Code, and Cursor.
Key features
- 01Edit images with natural-language prompts
- 02Generate images from text descriptions
- 03List available editing models
- 04Support file paths, data URLs, and base64 inputs
- 05Save edited results to an output path
Use cases
- 01Remove a photo background using a prompt
- 02Generate a watercolor landscape
- 03Check which image editing models are available
MCP support
The MCP server exposes image editing, image generation, and model-listing tools to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y mcp-xmorfXMORF_API_TOKENSecretYour xmorf API bearer token from xmorf.comLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
3Saved tool list · updated 2w ago
This tool takes no parameters.
Details
From the project READMEmcp-xmorf
MCP server for xmorf — AI image editing and generation API.
Tools
| 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 |
Edit 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 |
Setup
Get an API token from xmorf.com.
Claude Desktop
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"
}
}
}
}
VS Code
Add to .vscode/mcp.json:
{
"servers": {
"xmorf": {
"command": "npx",
"args": ["-y", "mcp-xmorf"],
"env": {
"XMORF_API_TOKEN": "xmorf_your_token_here"
}
}
}
}
Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"xmorf": {
"command": "npx",
"args": ["-y", "mcp-xmorf"],
"env": {
"XMORF_API_TOKEN": "xmorf_your_token_here"
}
}
}
}
Usage Examples
Edit an image
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 an image
Generate a watercolor painting of a mountain landscape at dawn
List models
What image editing models are available on xmorf?
Environment Variables
| Variable | Required | Description |
|---|---|---|
XMORF_API_TOKEN | Yes | Your xmorf API bearer token |
API Reference
See the full API docs at xmorf.com/docs.
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.