Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Turn any OpenAPI 3 spec into a working MCP server. One file, local (stdio) or remote (HTTP).
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"openapi": {
"command": "npx",
"args": [
"-y",
"@asthanaji/openapi-mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add openapi -- npx -y @asthanaji/openapi-mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"openapi": {
"command": "npx",
"args": [
"-y",
"@asthanaji/openapi-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"openapi": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@asthanaji/openapi-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Asthanaji05 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.1) เข้า registry 25 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Python MCP
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.
Local-only Python MCP server for the Files.com API.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Turn any OpenAPI 3 spec into a working MCP server. One file, about 130 lines, no dependencies.
node openapi-mcp.mjs https://your-api.com/openapi.json
Every API endpoint becomes a tool that an AI client (Claude, Cursor, etc.) can call. There is no code generation and no per-endpoint files. The spec is read at startup, and the tools are built in memory.
Requires Node 18 or newer.
git clone <this-repo>
cd openapi-mcp node openapi-mcp.mjs sample/animechan.openapi.json
It prints openapi-mcp: 4 tools from "Animechan" -> ... and then waits silently for an MCP client. That is normal: it talks JSON-RPC over stdin/stdout and is not meant to be read by humans.
Add this to ~/Library/Application Support/Claude/claude_desktop_config.json, then restart the app:
{
"mcpServers": { "animechan": { "command": "node", "args": ["/full/path/openapi-mcp.mjs", "/full/path/animechan.openapi.json"] } } }
If the client can't find node, use the full path from which node.
Start the server, then register it:
MCP_AUTH_TOKEN=secret node openapi-mcp.mjs sample/animechan.openapi.json --http 8787
claude mcp add --transport http animechan http://localhost:8787/mcp \ --header "Authorization: Bearer secret"
Then ask in plain English: "give me a random quote from Naruto".
| Mode | Command | Use when |
|---|---|---|
| Local (stdio) | node openapi-mcp.mjs | The client launches the server on your machine |
| Remote (HTTP) | node openapi-mcp.mjs --http | The client connects to a URL, or you want to self-host |
In HTTP mode, clients send JSON-RPC messages as POST http://host: /mcp. Put --http last.
Test it by hand:
curl -X POST localhost:8787/mcp -H 'Authorization: Bearer secret' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
node openapi-mcp.mjs <spec-url-or-file> [base-url] [--http <port>]
| Argument / env var | What it does | |
|---|---|---|
| OpenAPI 3 spec, as a URL or a local file (JSON; YAML needs npm i yaml) | |
[base-url] | Overrides the API address. Defaults to servers[0].url in the spec | |
API_TOKEN | Your secret for the API. The spec's securitySchemes decide where it goes (see Authentication) | |
OAUTH_CLIENT_ID, OAUTH_CLIENT_SECRET | OAuth2 client-credentials: the token is fetched and refreshed automatically | |
OAUTH_REFRESH_TOKEN | OAuth2 refresh-token grant (use with the client id and secret) | |
OAUTH_TOKEN_URL, OAUTH_SCOPE | Optional: override the tokenUrl from the spec, or request a scope | |
API_HEADERS | Extra headers sent on every call, for anything the schemes don't cover. Example: '{"X-App-Id":"abc"}' | |
TOOL_FILTER | Regex. Only tools whose name matches are exposed. Example: `'^(get\ | list)'` for read-only |
MCP_AUTH_TOKEN | HTTP mode only. Requires Authorization: Bearer on every request |
Big APIs can have hundreds of endpoints. Too many tools makes the model choose worse, so use TOOL_FILTER to keep the useful ones.
The server reads securitySchemes from the spec and puts your secret in the right place. You only supply the secret as an environment variable:
| Spec says | Set | Sent as |
|---|---|---|
http / bearer | API_TOKEN=tok | Authorization: Bearer tok |
http / basic | API_TOKEN=user:pass | Authorization: Basic |
apiKey in header | API_TOKEN=key | The header named in the spec (e.g. X-Key: key) |
apiKey in query | API_TOKEN=key | The query parameter named in the spec |
apiKey in cookie | API_TOKEN=key | Cookie: name=key |
oauth2 / openIdConnect, you already have an access token | API_TOKEN=token | Authorization: Bearer token |
oauth2, machine-to-machine | OAUTH_CLIENT_ID + OAUTH_CLIENT_SECRET | Token fetched from the tokenUrl, cached, and renewed before it expires |
oauth2, you logged in once elsewhere | the two above + OAUTH_REFRESH_TOKEN | Access tokens renewed from the refresh token |
Example for Claude Desktop:
{
"mcpServers": { "my-api": { "command": "node", "args": ["/full/path/openapi-mcp.mjs", "https://my-api.com/openapi.json"], "env": { "API_TOKEN": "your-secret" } } } }
Notes:
security list is used (or the first one defined). Per-endpoint security overrides are not applied, so the secret is sent on every call.$ref pointers.operationId is the name, summary the description, and parameters plus request body the input schema.HTTP followed by the response body (cut at 50,000 characters).Many small public APIs only have HTML docs. For those, write a small spec by hand (see sample/animechan.openapi.json, 4 tools in about 35 lines), then run it the same way.
MCP_AUTH_TOKEN bearer token). Some remote clients may require these.MCP_AUTH_TOKEN, or anyone who finds the URL can use your API key.Issues and pull requests are welcome. The goal is to stay small and readable, so please keep new features to a few lines each.