Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server providing access to 300+ AI models via OpenRouter
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
OPENROUTER_API_KEY, DEFAULT_TEXT_MODEL, DEFAULT_IMAGE_MODEL, DEFAULT_CODE_MODEL, DEFAULT_VISION_MODEL, DEFAULT_EMBEDDING_MODELค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"openrouter": {
"command": "uvx",
"args": [
"mcp-openrouter"
],
"env": {
"OPENROUTER_API_KEY": "ใส่ค่าของคุณ",
"DEFAULT_TEXT_MODEL": "ใส่ค่าของคุณ",
"DEFAULT_IMAGE_MODEL": "ใส่ค่าของคุณ",
"DEFAULT_CODE_MODEL": "ใส่ค่าของคุณ",
"DEFAULT_VISION_MODEL": "ใส่ค่าของคุณ",
"DEFAULT_EMBEDDING_MODEL": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add openrouter --env OPENROUTER_API_KEY='ใส่ค่าของคุณ' --env DEFAULT_TEXT_MODEL='ใส่ค่าของคุณ' --env DEFAULT_IMAGE_MODEL='ใส่ค่าของคุณ' --env DEFAULT_CODE_MODEL='ใส่ค่าของคุณ' --env DEFAULT_VISION_MODEL='ใส่ค่าของคุณ' --env DEFAULT_EMBEDDING_MODEL='ใส่ค่าของคุณ' -- uvx mcp-openrouterเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"openrouter": {
"command": "uvx",
"args": [
"mcp-openrouter"
],
"env": {
"OPENROUTER_API_KEY": "ใส่ค่าของคุณ",
"DEFAULT_TEXT_MODEL": "ใส่ค่าของคุณ",
"DEFAULT_IMAGE_MODEL": "ใส่ค่าของคุณ",
"DEFAULT_CODE_MODEL": "ใส่ค่าของคุณ",
"DEFAULT_VISION_MODEL": "ใส่ค่าของคุณ",
"DEFAULT_EMBEDDING_MODEL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"openrouter": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-openrouter"
],
"env": {
"OPENROUTER_API_KEY": "ใส่ค่าของคุณ",
"DEFAULT_TEXT_MODEL": "ใส่ค่าของคุณ",
"DEFAULT_IMAGE_MODEL": "ใส่ค่าของคุณ",
"DEFAULT_CODE_MODEL": "ใส่ค่าของคุณ",
"DEFAULT_VISION_MODEL": "ใส่ค่าของคุณ",
"DEFAULT_EMBEDDING_MODEL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
DEFAULT_TEXT_MODEL envDEFAULT_IMAGE_MODEL envDEFAULT_CODE_MODEL envDEFAULT_VISION_MODEL envDEFAULT_EMBEDDING_MODEL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub tsilva ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: OPENROUTER_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.1.8) เข้า registry 6 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Starreel
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Turn a script into a finished, downloadable short-drama episode — via MCP or REST.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
🚀 One MCP server for OpenRouter models 🚀
mcp-openrouter is a Python MCP server that lets Codex, Claude Code, opencode, and other MCP hosts call OpenRouter models from local stdio tools.
It exposes chat, image generation, embeddings, model listing, and model search through a small FastMCP server with retry handling, host-aware installation, and optional default model environment variables.
Install the published server into every detected MCP client:
uvx mcp-openrouter install --yes
Install into selected clients:
uvx mcp-openrouter install --yes --clients codex,claude,opencode
Run from a local checkout:
git clone https://github.com/tsilva/mcp-openrouter.git
cd mcp-openrouter uv sync --dev uv run mcp-openrouter
mcp-openrouter with no arguments starts the stdio server. The explicit command is uv run mcp-openrouter serve.
uvx mcp-openrouter install --yes # install into detected MCP clients
uvx mcp-openrouter install --yes --force # replace an existing openrouter config uvx mcp-openrouter uninstall --yes # remove from detected MCP clients uv run mcp-openrouter # run the local stdio server uv run pytest tests/test_cli.py tests/test_client.py tests/test_config.py tests/test_installer.py tests/test_release_metadata.py tests/test_server.py uv run pytest tests/test_tools.py uv run ruff check src/ uv run ruff format src/
| Tool | Purpose |
|---|---|
chat | Send a prompt or message list to an OpenRouter chat model. |
generate_image | Generate one image and optionally save it to an absolute local path. |
embed | Generate embeddings for a string or list of strings. |
list_models | List models, optionally filtered by vision, image_gen, embedding, tools, or long_context. |
find_models | Search model names and slugs, returning up to 20 matches. |
Example MCP prompts:
Use openrouter chat with anthropic/claude-sonnet-4 to summarize this file
Use openrouter generate_image with google/gemini-3-pro-image-preview to create a square app icon Use openrouter embed with mistralai/mistral-embed-2312 to embed "Hello world" Use openrouter list_models with capability "image_gen" Use openrouter find_models to search for "claude"
AGENTBRIDGE_API_KEY is optional when a gateway requires authentication. The local gateway needs no application key. For an authenticated gateway, inject the token from Infisical using infisical run --projectId PROJECT_ID --env=prod -- uv run mcp-openrouter. Python reads it from the process environment.
Optional defaults make the model parameter optional for matching tools:
DEFAULT_TEXT_MODEL=google/gemini-3-pro-image-preview
DEFAULT_IMAGE_MODEL=google/gemini-3-pro-image-preview DEFAULT_CODE_MODEL=anthropic/claude-sonnet-4.5 DEFAULT_VISION_MODEL=google/gemini-3-pro-image-preview DEFAULT_EMBEDDING_MODEL=mistralai/mistral-embed-2312
The current tools read DEFAULT_TEXT_MODEL, DEFAULT_IMAGE_MODEL, and DEFAULT_EMBEDDING_MODEL. DEFAULT_CODE_MODEL and DEFAULT_VISION_MODEL are available for client conventions. Non-secret defaults may remain in .env; the API key must not.
uvx mcp-openrouter.generate_image.output_path must be absolute, for example /Users/you/output.png.tests/test_tools.py requires a live AGENTBRIDGE_API_KEY.server.json and the package version in sync before release. Release notes are generated on GitHub. The Makefile release helper is make release-x.y.z.Register a local checkout when you want an MCP host to run your working tree instead of the published PyPI package.
Claude Code:
claude mcp add openrouter --scope user -- uv run --directory /path/to/mcp-openrouter mcp-openrouter
Codex:
codex mcp add openrouter -- uv run --directory /path/to/mcp-openrouter mcp-openrouter
opencode:
{
"mcp": { "openrouter": { "type": "local", "command": ["uv", "run", "--directory", "/path/to/mcp-openrouter", "mcp-openrouter"], "enabled": true } } }
All model requests use AgentBridge as their sole endpoint. Set AGENTBRIDGE_BASE_URL to its API root (default http://127.0.0.1:8082/api/v1). AGENTBRIDGE_API_KEY is an optional gateway access token; upstream OpenRouter credentials are managed only by AgentBridge. Existing model choices are preserved and gain the gateway's openrouter/ namespace on requests. Image generation and embeddings require the gateway application routes; there is no direct-provider fallback.
MIT