# xmorf [Health: Active]

**Category:** 🎥 Multimedia Process  
**Repository:** https://github.com/crawde/mcp-xmorf  
**GitHub Stars:** 0  
**npm Downloads (last month):** 165  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/xmorf

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

## Tools
Capabilities this server exposes over MCP:

- **xmorf_list_models** — List available xmorf image editing models and their descriptions
- **xmorf_edit_image** — Edit an image using AI with a natural language prompt. Models: standard (general-purpose), enhance (realism), upscale (resolution), shadow (light migration, needs reference), kiss (needs reference), skin (retouching), angles (multi-angle), scene (scene change). Input can be a file path or base64 data URL.
- **xmorf_generate_image** — Generate an image from a text description using AI

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "xmorf": {
    "command": "npx",
    "args": ["-y","mcp-xmorf"],
    "env": {
      "XMORF_API_TOKEN": ""
    }
  }
}
```

**Requires environment variables:** `XMORF_API_TOKEN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What the xmorf MCP server does

The xmorf MCP server exposes xmorf’s image API through the Model Context Protocol. It supports two image workflows: changing an existing image with a natural-language instruction and creating a new image from a text description. A third tool reports which editing models are currently available.

Editing supports eight named models:

- `standard` for general-purpose editing
- `enhance` for realism enhancement or “anything-to-real” transformations
- `upscale` for increasing resolution and improving an image
- `shadow` for light and shadow migration; this requires a reference image
- `kiss` for a passionate kiss effect; this requires a reference image
- `skin` for skin editing and retouching
- `angles` for generating views from multiple angles
- `scene` for scene changes or next-scene generation

Use the server when an agent must turn an image-editing request into an xmorf API operation, generate an image from a prompt, or inspect the available editing choices.

## How it works

The xmorf MCP server provides three tools. `xmorf_edit_image` accepts a natural-language prompt and an image supplied as a file path, data URL, or raw base64. An optional output path can save the edited result to disk. `xmorf_generate_image` creates an image from a text description. `xmorf_list_models` lists the editing models available through xmorf.

For example, an agent can receive a request to remove a photo’s background and pass the image plus that instruction to the edit tool. It can also submit a description such as a watercolor mountain landscape at dawn to the generation tool. The model-listing tool is useful when the agent needs to determine which editing modes are available before selecting one.

## Setup and configuration

An API token from xmorf.com is required. Set it in the `XMORF_API_TOKEN` environment variable; the README identifies this variable as required and uses it as the xmorf API bearer token.

The documented launch command uses `npx`:

```json
{
  "command": "npx",
  "args": ["-y", "mcp-xmorf"],
  "env": {
    "XMORF_API_TOKEN": "xmorf_your_token_here"
  }
}
```

The README includes configuration examples for Claude Desktop, VS Code, and Cursor. Their configuration file locations differ, but each starts the same package with the token in the environment. API documentation is available at xmorf.com/docs.

## Tools and capabilities

- `xmorf_edit_image`: edit an input image using a natural-language prompt and an editing model.
- `xmorf_generate_image`: generate an image from a text description.
- `xmorf_list_models`: list available editing models.

The edit tool’s accepted input forms make it suitable for agents working with local files, data URLs, or already encoded image data. The optional output path provides a way to write an edit to disk when a local file is preferred.

## Limitations and notes

An xmorf API token is needed before the server can be used. The `shadow` and `kiss` editing models require a reference image, so they are not interchangeable with editing modes that do not list that requirement.

_Full upstream README: https://allmcps.com/mcp/xmorf/readme_

