Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Turn any OpenAPI/Swagger spec into an MCP server - every API operation becomes an agent tool.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
AGENTIFY_BEARER_TOKEN, AGENTIFY_API_KEY, AGENTIFY_API_KEY_HEADER, AGENTIFY_API_KEY_QUERY, AGENTIFY_BASIC_USER, AGENTIFY_BASIC_PASS标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"agentify": {
"command": "npx",
"args": [
"-y",
"agentify-openapi"
],
"env": {
"AGENTIFY_BEARER_TOKEN": "your-value",
"AGENTIFY_API_KEY": "your-value",
"AGENTIFY_API_KEY_HEADER": "your-value",
"AGENTIFY_API_KEY_QUERY": "your-value",
"AGENTIFY_BASIC_USER": "your-value",
"AGENTIFY_BASIC_PASS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add agentify --env AGENTIFY_BEARER_TOKEN=your-value --env AGENTIFY_API_KEY=your-value --env AGENTIFY_API_KEY_HEADER=your-value --env AGENTIFY_API_KEY_QUERY=your-value --env AGENTIFY_BASIC_USER=your-value --env AGENTIFY_BASIC_PASS=your-value -- npx -y agentify-openapi运行前请先填写空着的值。
这个服务器需要在启动命令中填入值,请复制设置后自行填写。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"agentify": {
"command": "npx",
"args": [
"-y",
"agentify-openapi"
],
"env": {
"AGENTIFY_BEARER_TOKEN": "your-value",
"AGENTIFY_API_KEY": "your-value",
"AGENTIFY_API_KEY_HEADER": "your-value",
"AGENTIFY_API_KEY_QUERY": "your-value",
"AGENTIFY_BASIC_USER": "your-value",
"AGENTIFY_BASIC_PASS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器需要在启动命令中填入值,请复制设置后自行填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"agentify": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agentify-openapi"
],
"env": {
"AGENTIFY_BEARER_TOKEN": "your-value",
"AGENTIFY_API_KEY": "your-value",
"AGENTIFY_API_KEY_HEADER": "your-value",
"AGENTIFY_API_KEY_QUERY": "your-value",
"AGENTIFY_BASIC_USER": "your-value",
"AGENTIFY_BASIC_PASS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
AGENTIFY_API_KEY_HEADER envAGENTIFY_API_KEY_QUERY envAGENTIFY_BASIC_USER env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 sani-savaliya 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:AGENTIFY_BEARER_TOKEN, AGENTIFY_API_KEY, AGENTIFY_BASIC_PASS
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.1)于5个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Kanal Varna — drains, leaks & plumbing (Varna, BG)
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
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
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Turn any OpenAPI / Swagger spec into an agent-ready MCP server.
Listed on the official MCP Registry (io.github.sani-savaliya/agentify) and Smithery.
Point it at a spec — a URL, a file, OpenAPI 3.x or Swagger 2.0 — and every operation becomes a tool an AI agent can call. No code generation, no per-API boilerplate, no hosting. One command.
npx agentify-openapi https://petstore3.swagger.io/api/v3/openapi.json --list
Swagger Petstore - OpenAPI 3.0 v1.0.27
Base URL: https://petstore3.swagger.io/api/v3 Tools: 19
getPetById Find pet by ID. findPetsByStatus Finds Pets by status. ...
*"Today, agents have to operate software designed for humans. The interfaces of
the future will be built for agents — APIs, MCPs, CLIs — with agents as
first-class citizens."* — YC RFS: Software for Agents
There are tens of thousands of APIs that already describe themselves with an OpenAPI document. agentify makes every one of them agent-native, instantly, without anyone hand-writing an integration.
Add it to your client's MCP config. The same command/args shape works in Claude Desktop, Claude Code (claude mcp add), Cursor (.cursor/mcp.json), Windsurf, Cline, and anything else that speaks MCP:
{
"mcpServers": { "petstore": { "command": "npx", "args": ["-y", "agentify-openapi", "https://petstore3.swagger.io/api/v3/openapi.json"] } } }
The agent now has one tool per API operation. Calling a tool builds the HTTP request (path params, query string, headers, JSON body) and returns the live response.
Pointing at GitHub (1000+ operations) or Stripe (400+) would flood your agent with hundreds of tools and wreck its tool-selection accuracy. Filter down to what matters — by tag, HTTP method, or name glob — and cap the total:
# GitHub, read-only, just the repo endpoints
npx agentify-openapi https://api.github.com/openapi.json --tag repos --read-only
npx agentify-openapi ./stripe.json --include "*Customer*" --max-tools 25
{
"mcpServers": { "github-repos": { "command": "npx", "args": ["-y", "agentify-openapi", "https://api.github.com/openapi.json", "--tag", "repos", "--read-only", "--max-tools", "30"], "env": { "AGENTIFY_BEARER_TOKEN": "ghp_your_token" } } } }
--read-only (GET/HEAD/OPTIONS) is also a simple safety rail — expose a giant API to an agent without exposing anything that can mutate state.
Provide credentials via environment variables — agentify reads the spec's declared security scheme to find the right header name when it can:
| Variable | Effect |
|---|---|
AGENTIFY_BEARER_TOKEN | Authorization: Bearer |
AGENTIFY_BASIC_USER / AGENTIFY_BASIC_PASS | HTTP basic auth |
AGENTIFY_API_KEY | API key (sent as a header by default) |
AGENTIFY_API_KEY_HEADER | Override the api-key header name |
AGENTIFY_API_KEY_QUERY | Send the api key as a query param instead |
You can also inject raw headers from the CLI: --header "X-Org-Id: 42" (repeatable).
agentify <spec-url-or-file> [options]
--base-url Override the API base URL from the spec --header "K: V" Add a raw header to every request (repeatable) --name Override the MCP server name --list Print the discovered tools and exit (no server) -h, --help Show help
Tool selection (keep big APIs from flooding the agent's context): --tag Keep only operations with this tag (repeatable) --exclude-tag Drop operations with this tag (repeatable) --method Keep only this HTTP method, e.g. GET (repeatable) --read-only Shorthand: keep only GET/HEAD/OPTIONS operations --include Keep only tools matching this glob (repeatable) --exclude Drop tools matching this glob (repeatable) --max-tools Hard cap on tool count (warns when it truncates)
A small, pure pipeline — each stage is independently unit-tested:
spec ──▶ operations ──▶ tool defs ──▶ http request ──▶ response
│ │ │ │ │ load & one tool JSON Schema path/query/ fetch + surface deref per op for inputs header/body status & body $refs + auth
Only the HTTP execution and MCP transport touch the outside world; everything else is deterministic and tested.
import { loadSpec, extractOperations, resolveBaseUrl, createServer } from "agentify-openapi";
const spec = await loadSpec("./openapi.yaml"); const tools = extractOperations(spec); const baseUrl = resolveBaseUrl(spec); // ...build your own MCP server, or just inspect the generated tool defs
multipart/form bodies are passed through best-effort.cookie parameters and OAuth2 flows are not yet handled (use --header for now).npm install
npm test # vitest, 80%+ coverage enforced npm run build # tsc -> dist/ node scripts/smoke.mjs # end-to-end MCP client smoke test (network)
MIT