Back to Directory/Media & Images

io.github.crawde/xmorf

AI image editing and generation via xmorf API. Edit, generate, and list models.

Media & ImagesJavaScriptv1.0.2

mcp-xmorf

MCP server for xmorf — AI image editing and generation API.

Tools

ToolDescription
xmorf_edit_imageEdit images with natural language prompts (8 AI models)
xmorf_generate_imageGenerate images from text descriptions
xmorf_list_modelsList available editing models

Edit Models

ModelDescription
standardGeneral-purpose AI image editing
enhanceEnhance realism / anything-to-real
upscaleUpscale and improve resolution
shadowLight & shadow migration (needs reference image)
kissPassionate kiss effect (needs reference image)
skinSkin editing and retouching
anglesMulti-angle view generation
sceneScene 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

VariableRequiredDescription
XMORF_API_TOKENYesYour xmorf API bearer token

API Reference

See the full API docs at xmorf.com/docs.

License

MIT

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y mcp-xmorf

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-crawde-xmorf": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-xmorf"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

mcp-xmorfnpm

Compatible MCP Clients

io.github.crawde/xmorf works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More