Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server that converts OpenAPI specs into tools which can query API endpoints
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"specrun": {
"command": "npx",
"args": [
"-y",
"@pavelpiha/specrun"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add specrun -- npx -y @pavelpiha/specrunวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"specrun": {
"command": "npx",
"args": [
"-y",
"@pavelpiha/specrun"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"specrun": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pavelpiha/specrun"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub pavelpiha ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.4.0) เข้า registry 9 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Intervals 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.
Remote MCP server for intervals.icu run data and analysis
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
SpecRun
An MCP server that turns OpenAPI specifications into MCP tools. Scans a folder for OpenAPI spec files and automatically generate corresponding tools. These tools can then be used in any MCP client to interact with the APIs defined by the specs, with built-in support for authentication and server URL management via a simple .env file.
Built with FastMCP for TypeScript.
cars_addCar to call POST /cars from cars.json spec to create a new car, or github_get_user_repos to call GET /user/repos from github.yaml spec to list repos.specrun_batch tool can execute any tool with multiple inputs and returns a consolidated JSON resource.env file with {API_NAME}_API_KEY pattern{API_NAME}_SERVER_URL and {API_NAME}_BEARER_TOKEN entries when missing.github/agents/specrun.agent.md)npm install -g specrun
mkdir ~/specs
Drop any .json, .yaml, or .yml OpenAPI specification files into your specs folder
Create a .env file in your specs folder:
# ~/specs/.env
CARS_API_KEY=your_api_key_here
SpecRun will also ensure {API_NAME}_SERVER_URL and {API_NAME}_BEARER_TOKEN entries exist for each spec, adding empty placeholders when missing. When {API_NAME}_SERVER_URL has a value, SpecRun updates the spec file on load:
servers entry.host, schemes, and basePath (no servers section in OpenAPI 2.0).SpecRun also watches the .env file and refreshes server URLs and auth config automatically after changes.
Add to your MCP configuration:
If installed on your machine:
{
"mcpServers": { "specrun": { "command": "specrun", "args": ["--specs", "/path/to/your/specs/folder"] } } }
Otherwise:
{
"mcpServers": { "specrun": { "command": "npx", "args": ["-y", "specrun", "--specs", "/absolute/path/to/your/specs"] } } }
or with specific Node version:
{
"mcpServers": { "specrun": { "command": "/Users/YOUR_USER_NAME/.local/bin/mcp-npx-node22", "args": ["specrun@latest", "--specs", "/absolute/path/to/your/specs"], "type": "stdio" } } }
The mcp-npx-node22 script file uses nvm to run specrun with Node.js 22.14.0, ensuring compatibility regardless of the default Node version on your system.:
#!/bin/bash
export PATH="/Users/YOUR_USER_NAME/.nvm/versions/node/v22.14.0/bin:$PATH"
exec npx "$@"
# Default: stdio transport, current directory
specrun
specrun --specs ~/specs
specrun --transport httpStream --port 8080
If your default node is older than 22, run SpecRun with Node 22 directly:
npx -y node@22 ... runs the Node.js runtime, so the next argument must be a script path (for example ./node_modules/.bin/specrun).specrun@latest is an npm package spec and works directly with npx only when your current Node version already satisfies SpecRun requirements.
npx -y node@22 ./node_modules/.bin/specrun list --specs ~/specs
npx -y specrun@latest --specs ~/specs
# List all loaded specifications and their tools
specrun list
specrun list --specs ~/specs
The server automatically detects authentication from environment variables using these patterns:
| Pattern | Auth Type | Usage |
|---|---|---|
{API_NAME}_API_KEY | 🗝️ API Key | X-API-Key header |
{API_NAME}_TOKEN | 🎫 Bearer Token | Authorization: Bearer {token} |
{API_NAME}_BEARER_TOKEN | 🎫 Bearer Token | Authorization: Bearer {token} |
{API_NAME}_USERNAME + {API_NAME}_PASSWORD | 👤 Basic Auth | Authorization: Basic {base64} |
SpecRun also creates .env placeholders for:
| Pattern | Purpose |
|---|---|
{API_NAME}_SERVER_URL | Base URL for the API |
{API_NAME}_BEARER_TOKEN | Token placeholder if missing |
If {API_NAME}_SERVER_URL is set, SpecRun writes that value into the spec before generating tools:
servers entry.host, schemes, and basePath.Updates to .env are applied automatically without restarting the MCP server.
The {API_NAME} is derived from the filename of your OpenAPI spec:
cars.json → CARS_API_KEYgithub-api.yaml → GITHUB_TOKENmy_custom_api.yml → MY_CUSTOM_API_KEYTools are automatically named using this pattern:
{operation_id}{method}_{path_segments}Name normalization rules:
snake_case_Specs:
get_car_by_id (from operationId)get_user_repos (generated from GET /user/repos)Use the shared batch tool to run any tool with an array of inputs:
{
"toolName": "cars_getCarById", "items": [{ "id": "123" }, { "id": "456" }], "failFast": false }
Batch responses return a consolidated JSON resource with per-item outputs.
For batches over 200 items, SpecRun requires explicit confirmation. This is to prevent accidental large runs that could cause performance issues or unintended consequences. The server will return a message asking for confirmation, and you can retry with confirmLargeBatch: true and the provided confirmLargeBatchToken to proceed.
Tool responses are returned as MCP resources with application/json content. Each resource includes:
Example resource payload:
{
"requestUrl": "https://api.example.com/v1/users/123", "requestBody": null, "response": { "status": 200, "body": { "id": "123", "name": "Jane Doe" } } }
Batch runs return a single consolidated resource containing all item results.
your-project/
── specs/ # Your OpenAPI specs folder ├── .env # Authentication credentials └── custom-api.yml # Your OpenAPI spec files
SpecRun exposes MCP prompts for common workflows:
Detailed prompt guide with examples: PROMPTS_README.md
list_apis: List loaded APIs/tools and ask the user to choose an endpointgenerate_api_call: Generate a ready-to-run JSON input payload for a toolexplain_api_schema: Explain parameters and request body schema with examplesgenerate_random_data: Generate random ready-to-run JSON payload samples for a toolHere's a minimal example that creates two tools:
# ~/specs/example.yaml
openapi: 3.0.0 info: title: Example API version: 1.0.0 servers:
paths: /users/{id}: get: operationId: getUser summary: Get user by ID parameters:
This creates tools named:
example_getUserexample_createUser specrun list --specs /path/to/specs
.json, .yaml, .yml)⚠️ Note: SpecRun works best when you use absolute paths (with no spaces) for the
--specsargument and other file paths. Relative paths or paths containing spaces may cause issues on some platforms or with some MCP clients.
.env file is in the specs directory specrun list
# Clone and install
git clone git@github.com:Pavel-Piha/specrun.git cd specrun npm install
npm run build
npm run dev -- list --specs ./specs
Contributions are welcome! Please feel free to submit issues and pull requests.