io.github.crawde/xmorf
AI image editing and generation via xmorf API. Edit, generate, and list models.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
mcp-xmorfclaude mcp add xmorf -e 'XMORF_API_TOKEN=<your xmorf_api_token>' -- npx -y mcp-xmorf@1.0.2
{
"mcpServers": {
"xmorf": {
"command": "npx",
"args": [
"-y",
"mcp-xmorf@1.0.2"
],
"env": {
"XMORF_API_TOKEN": "<your xmorf_api_token>"
}
}
}
}
متغيرات البيئة
XMORF_API_TOKENإلزامي سري Your xmorf API bearer token from xmorf.com
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
mcp-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
الأسئلة الشائعة
ما هو io.github.crawde/xmorf؟
AI image editing and generation via xmorf API. Edit, generate, and list models.
كيف أثبّت io.github.crawde/xmorf؟
يعمل على جهازك. في Claude Code: claude mcp add xmorf -e 'XMORF_API_TOKEN=<your xmorf_api_token>' -- npx -y mcp-xmorf@1.0.2. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.crawde/xmorf إلى مفتاح API؟
نعم. يتطلب XMORF_API_TOKEN، وتضبطها في إعداداته.
هل io.github.crawde/xmorf مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون io.github.crawde/xmorf؟
ينشره crawde. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.