Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Local OpenAPI contract and breaking-change checks for AI agents.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"api-guardian": {
"command": "npx",
"args": [
"-y",
"mcp-api-guardian"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add api-guardian -- npx -y mcp-api-guardianวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"api-guardian": {
"command": "npx",
"args": [
"-y",
"mcp-api-guardian"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"api-guardian": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-api-guardian"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub petrovicistefan ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.2) เข้า registry 19 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Kanal Varna — drains, leaks & plumbing (Varna, BG)
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.
Drain unblocking, leak detection & plumbing in Varna, Bulgaria: services, prices, areas, contact
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Stop your AI agent from breaking your API: OpenAPI contract checks and breaking-change diffs over MCP, fully local.
Local-first guardrails for AI coding agents working with OpenAPI specs: catch contract errors (missing operation IDs, unresolved references, public auth), detect breaking changes (removed operations, new required parameters, changed authentication), and keep API consumers working before you ship.
Zero configuration. No API keys. No network. Runs entirely on your machine via the Model Context Protocol.
Cursor:
Or use the direct protocol link: cursor://anysphere.cursor-deeplink/mcp/install?name=api-guardian&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIm1jcC1hcGktZ3VhcmRpYW4iXX0=
Claude Code:
claude mcp add api-guardian -- npx -y mcp-api-guardian
Or if installed in the petrovicistefan/mcp-marketplace:
/plugin marketplace add petrovicistefan/mcp-marketplace
Claude Desktop:
Add to claude_desktop_config.json:
{
"mcpServers": { "api-guardian": { "command": "npx", "args": ["-y", "mcp-api-guardian"] } } }
Cursor:
Add to ~/.cursor/mcp.json:
{
"mcpServers": { "api-guardian": { "command": "npx", "args": ["-y", "mcp-api-guardian"] } } }
VS Code / GitHub Copilot:
Or manually create/edit .vscode/mcp.json:
{
"servers": { "api-guardian": { "type": "stdio", "command": "npx", "args": ["-y", "mcp-api-guardian"] } } }
Windsurf:
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": { "api-guardian": { "command": "npx", "args": ["-y", "mcp-api-guardian"] } } }
Zed:
Add to your Zed settings.json:
{
"context_servers": { "api-guardian": { "command": "npx", "args": ["-y", "mcp-api-guardian"] } } }
Direct npx (one-line test):
npx -y mcp-api-guardian
Found this MCP useful? [Star this repository](https://github.com/petrovicistefan/mcp-api-guardian)!
A GitHub star helps other developers discover the project and lets you save it for later. Thanks for supporting open source!
AI coding agents increasingly modify OpenAPI specs as they work on API features, documentation, and integrations. A single agent iteration can:
operationId that generated SDKs rely onAPI Guardian catches these before they break production. It provides two MCP tools your AI agent can call:
Fully local, read-only, zero dependencies. No telemetry, no API keys, no network calls.
API Guardian provides 2 MCP tools for validating OpenAPI 3.0.x and 3.1.x documents:
| Tool | Description | Inputs |
|---|---|---|
| `audit_openapi` | Static OpenAPI 3.0/3.1 lint and authentication declaration review. Does not call endpoints. | spec (object): OpenAPI document as JSON |
| `compare_openapi` | Find selected breaking changes between two OpenAPI documents; not exhaustive schema compatibility. | before (object): Original OpenAPI document after (object): Updated OpenAPI document |
audit_openapi({spec})Static contract checks on a single OpenAPI spec:
$ref references, missing info.title/info.version, invalid pathsoperationId, missing response definitions{param} placeholders must be declared as required path parameters$ref URLs (not fetched)Reports errors and warnings with severity, location, and actionable messages. Explicitly states coverage limits.
compare_openapi({before, after})Breaking-change detection between two OpenAPI spec versions:
Reports definite breaks (error) and potential compatibility issues (warning). Schema variance and composed schemas are not yet analyzed (see Limitations).
Prompt: "Audit the OpenAPI spec at api/openapi.json before I commit"
Your AI agent calls audit_openapi, catches a missing operation ID, and suggests a fix — before the PR.
Prompt: "Compare the OpenAPI spec on this branch to main and fail if there are breaking changes"
Your agent runs compare_openapi, detects a removed endpoint, and blocks the merge with an actionable report.
Prompt: "Check all OpenAPI specs in api/ for public endpoints without authentication"
Your agent audits each spec, flags public operations, and generates a security review checklist.
| Feature | MCP API Guardian | oasdiff | pb33f/openapi-changes | optic (archived) |
|---|---|---|---|---|
| MCP integration | ✅ Native MCP server | ❌ CLI only | ❌ CLI only | ❌ CLI only |
| AI agent friendly | ✅ JSON-RPC stdio, designed for agents | ⚠️ CLI output parsing | ⚠️ CLI output parsing | ⚠️ Archived |
| Fully local (no network) | ✅ Zero network calls | ✅ Offline | ✅ Offline | ⚠️ Cloud offering existed |
| Breaking-change detection | ✅ Core feature | ✅ Comprehensive (773 checks) | ✅ Comprehensive | ✅ (legacy) |
| Static contract linting | ✅ Core feature | ⚠️ Validation only | ⚠️ Change-focused | ⚠️ Traffic-focused |
| Git revision comparison | ❌ Planned | ✅ Built-in | ✅ Built-in | ✅ (legacy) |
| Schema compatibility | ❌ Planned | ✅ Full | ✅ Full | ✅ (legacy) |
| HTML/Markdown reports | ❌ JSON only | ✅ Multiple formats | ✅ Multiple formats | ✅ (legacy) |
| License | MIT | Apache 2.0 | GPL-3.0 / Commercial | MIT (archived) |
When to use API Guardian:
When to use alternatives:
API Guardian is a targeted linter, not a complete OpenAPI validator. Current limitations:
oneOf/anyOf/allOf composed schemas, and property-level breaking changes require a later releasecompare_openapiPublic endpoints may be intentional; warnings are not proof of a vulnerability. Reports explicitly state coverage limits.
git clone https://github.com/petrovicistefan/mcp-api-guardian.git
cd mcp-api-guardian npm test npm start
Add to an MCP client's configuration, replacing the absolute path:
{
"mcpServers": { "api-guardian": { "command": "node", "args": ["/absolute/path/mcp-api-guardian/src/server.js"] } } }
Requirements: Node.js 22+
Future releases will add:
oneOf/anyOf/allOf), request vs response variance$ref references with configurable allowlistsThe local stdio MCP server above stays fully useful without an account or network. Quotas are enforced only by a separate hosted HTTP process that reserves units on mcp-control-plane before running the same analysis core.
# Terminal 1 — control plane (see its README for ADMIN_TOKEN)
node --env-file=.env src/server.js # in mcp-control-plane
cp .env.example .env # set CONTROL_PLANE_URL npm run start:hosted
Bootstrap a customer key with the control-plane admin API (POST /v1/admin/accounts, POST /v1/admin/keys). Then:
| Method | Path | Body |
|---|---|---|
| GET | /health | Liveness |
| POST |
ตัดมาแค่ช่วงต้น อ่านต่อใน repo