io.github.Runware/mcp
Access the full Runware API as MCP tools: image, video, audio, 3D, and text.
ماذا يمكنك أن تفعل مع io.github.Runware/mcp؟
run— execute any Runware inference task (image, video, audio, 3D, upscaling, captioning, etc.) on a given modelmodel_schema— fetch the parameter schema for a specific modellist_models— list Runware's official, curated model integrations (supportscapability,category,creator,searchfilters)model_details— get full metadata for a curated model by AIRmodel_examples— get sample input/output pairs for a curated modelmodel_pricing— get pricing overview + per-configuration examples for a curated modellist_capabilities— list every model capability (e.g.io:text-to-image,op:upscale) with labelsmodel_search— search the community model catalog (Civitai fine-tunes, custom uploads)
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
@runware/mcpclaude mcp add io-github-runware-mcp -e 'RUNWARE_API_KEY=<your runware_api_key>' -- npx -y @runware/mcp@1.3.2
{
"mcpServers": {
"io-github-runware-mcp": {
"command": "npx",
"args": [
"-y",
"@runware/mcp@1.3.2"
],
"env": {
"RUNWARE_API_KEY": "<your runware_api_key>"
}
}
}
}
متغيرات البيئة
RUNWARE_API_KEYإلزامي سري Your Runware API key. Create one at https://runware.ai.
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
Runware MCP
MCP server that gives AI agents (Claude, Cursor, Codex, etc.) access to the full Runware API — image generation, video generation, audio generation, 3D, upscaling, background removal, captioning, and more.
Install
Pick one — npx is simplest, global install is faster on repeat use.
# Use directly with npx (no install)
npx -y @runware/mcp
# Or install globally
npm install -g @runware/mcp
Connect
Get an API key at runware.ai. Then point your agent at the MCP.
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"runware": {
"command": "npx",
"args": ["-y", "@runware/mcp"],
"env": {
"RUNWARE_API_KEY": "your-api-key"
}
}
}
}
If you installed globally:
{
"mcpServers": {
"runware": {
"command": "runware-mcp",
"env": {
"RUNWARE_API_KEY": "your-api-key"
}
}
}
}
Cursor
Settings → MCP → Add server — same config as above.
Codex
Add to your MCP configuration with the same command and env.
How to use it
Once connected, just talk to your agent. It picks the right tool, picks the right model, and fills in the parameters.
- "Generate an image of a cat in a forest"
- "What models do you have for video generation?"
- "Upscale https://example.com/photo.jpg by 4x"
- "Show me my account balance"
- "Find me a Civitai LoRA for anime style"
The agent figures out which model fits, what parameters to pass, and how to interpret the response. Parameters are validated against each model's schema before submission, so the agent gets fast feedback when it picks wrong values.
Tools the agent has access to
You don't call these directly — the agent does, based on what you ask for.
run— execute any Runware inference task (image, video, audio, 3D, upscaling, captioning, etc.) on a given modelmodel_schema— fetch the parameter schema for a specific modellist_models— list Runware's official, curated model integrations (supportscapability,category,creator,searchfilters)model_details— get full metadata for a curated model by AIRmodel_examples— get sample input/output pairs for a curated modelmodel_pricing— get pricing overview + per-configuration examples for a curated modellist_capabilities— list every model capability (e.g.io:text-to-image,op:upscale) with labelsmodel_search— search the community model catalog (Civitai fine-tunes, custom uploads)media_storage— store media (images, video, audio, 3D models) for use as input, or delete stored mediamodel_upload— upload a custom modelaccount— retrieve account information including balance and usageget_task_details— retrieve the original request and response for a previous task
Environment variables
| Variable | Required | Description |
|---|---|---|
RUNWARE_API_KEY | Yes | Your Runware API key |
Development
# Run directly (no build step)
npm run dev
# Build
npm run build
# Test
npm test
# Lint
npm run lint
# Smoke-test the stdio protocol
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0.0"}}}
{"jsonrpc":"2.0","method":"notifications/initialized"}
{"jsonrpc":"2.0","id":2,"method":"tools/list"}' | RUNWARE_API_KEY=your-key node dist/index.js
# Or use the MCP Inspector for a UI
npx @modelcontextprotocol/inspector node dist/index.js
الأسئلة الشائعة
ما هو io.github.Runware/mcp؟
Access the full Runware API as MCP tools: image, video, audio, 3D, and text.
كيف أثبّت io.github.Runware/mcp؟
يعمل على جهازك. في Claude Code: claude mcp add io-github-runware-mcp -e 'RUNWARE_API_KEY=<your runware_api_key>' -- npx -y @runware/mcp@1.3.2. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.Runware/mcp إلى مفتاح API؟
نعم. يتطلب RUNWARE_API_KEY، وتضبطها في إعداداته.
هل io.github.Runware/mcp مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون io.github.Runware/mcp؟
ينشره Runware. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.