RunAPI MCP server for Qwen 2: create tasks, poll status, and check pricing.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"qwen-2": {
"env": {
"RUNAPI_API_KEY": "${RUNAPI_API_KEY}"
},
"args": [
"-y",
"@runapi.ai/qwen-2-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
@runapi.ai/qwen-2-mcp is a focused Model Context Protocol server for the Qwen 2 model line on RunAPI. It gives MCP-compatible assistants direct access to 3 endpoints and 3 model variants without loading the full RunAPI catalog.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y '@runapi.ai/qwen-2-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @runapi.ai/qwen-2-mcp against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in other
Pi Coding Agent extension (CLI-first) — routes bash/read/grep/find/ls through lean-ctx CLI for strong token savings. Optional MCP bridge can register advanced tools.
Autonomous spec-to-product coding-agent CLI with an MCP server exposing 34 tools over stdio.
97% token reduction for AI coding sessions — zero deps, 21 languages, MCP server
App framework, testing framework, and inspector for MCP Apps.
MCP Security Weekly
Get CVE alerts and security updates for io.github.runapi-builder/qwen-2-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Qwen 2 API access for AI agents: create image generation tasks, poll results, and check pricing through one focused MCP server.
Works with Claude Code, Codex, Cursor, Windsurf, VS Code, Roo Code, and any MCP-compatible host.
Install | Tools | Models | Agent Prompts | Configuration | Links
@runapi.ai/qwen-2-mcp is a focused Model Context Protocol server for the Qwen 2 model line on RunAPI.
It gives MCP-compatible assistants direct access to 3 endpoints and 3 model variants without loading the full RunAPI catalog.
Use this per-model server when an agent should stay scoped to Qwen 2. Use @runapi.ai/mcp when one assistant should discover every RunAPI model line.
Add it to Claude Code:
claude mcp add qwen-2 -s user -- npx -y @runapi.ai/qwen-2-mcp
Use project scope when the server should be shared with a repository:
claude mcp add qwen-2 -s project -- npx -y @runapi.ai/qwen-2-mcp
Codex, Cursor, Windsurf, VS Code, Roo Code, and other MCP hosts can use the same stdio command:
{
"mcpServers": {
"qwen-2": {
"command": "npx",
"args": ["-y", "@runapi.ai/qwen-2-mcp"],
"env": { "RUNAPI_API_KEY": "${RUNAPI_API_KEY}" }
}
}
}
Create an API key at runapi.ai and expose it as RUNAPI_API_KEY. check_pricing can run without a key; task creation and status polling require one.
Ready-made examples are in examples/ for Claude, Cursor, Windsurf, VS Code, and Roo Code.
| Tool | Auth | Purpose |
|---|---|---|
edit_image | Yes | Create a Qwen 2 edit image task and optionally wait for a terminal status. Returns the task id, status, output URLs, and pricing snapshot. |
remix_image | Yes | Create a Qwen 2 remix image task and optionally wait for a terminal status. Returns the task id, status, output URLs, and pricing snapshot. |
text_to_image | Yes | Create a Qwen 2 text to image task and optionally wait for a terminal status. Returns the task id, status, output URLs, and pricing snapshot. |
get_task | Yes | Fetch the current status and latest payload for an existing task. |
check_pricing | No | Look up the current pricing snapshot for a Qwen 2 model and endpoint. |
Qwen 2 covers 3 model variants across 3 endpoints. Each tool accepts the models listed for it:
| Tool | Models |
|---|---|
edit_image | qwen-2-edit-image |
remix_image | qwen-2-remix-image |
text_to_image | qwen-2-text-to-image |
Model availability can change between releases. Use check_pricing or the Qwen 2 model page for the current catalog view.
Ask your assistant in natural language; it can inspect pricing, create the task, and return the task id plus output URLs.
Run a Qwen 2 edit image task with RunAPI.
The assistant can call `