Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Generate complete, tested FastMCP 3.x MCP servers from one plain-English sentence.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"mcpforge": {
"command": "uvx",
"args": [
"fastmcp-builder"
]
}
}
}在终端中运行这条命令
claude mcp add mcpforge -- uvx fastmcp-builder粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"mcpforge": {
"command": "uvx",
"args": [
"fastmcp-builder"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"mcpforge": {
"type": "stdio",
"command": "uvx",
"args": [
"fastmcp-builder"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 saagpatel 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.4)于4个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, 오늘냥이 (Oneul Nyangi)
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
Real cat photos, diaries, profiles, age and food reference calculators, and breeds.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
### One English sentence in. A tested, spec-free FastMCP 3.x server out.
mcpforge turns a plain-English description into a complete FastMCP 3.x MCP server — tools, Pydantic input validation, error handling, a pytest suite, run config, and client setup docs — all wired together and ready to inspect, validate, and install. There's no MCP schema or protocol boilerplate to hand-write: the sentence is the spec. You write it; Claude writes the implementation; mcpforge runs the generated test suite and validators before you ever run it.
You need Python 3.12+, uv, and an Anthropic API key.
uv tool install fastmcp-builder # or: pip install fastmcp-builder
export ANTHROPIC_API_KEY="your_anthropic_api_key"
mcpforge generate "A weather server that returns today's forecast for a city" -o weather-server
No key yet? Try the demo.
mcpforge demoruns the real plan → generate → validate pipeline against a built-in recording and writes a complete, validated weather server — no API key, no spend. It's the fastest way to see exactly what mcpforge produces:
`bash
uvx --from fastmcp-builder mcpforge demo
`
Bring your own key (BYOK). Generation runs on *your* Anthropic API key — mcpforge calls the Claude API directly and nothing is proxied through a hosted service. A single
generatemakes a few model calls (plan → server → tests), so a typical run costs roughly $0.05–$0.30 in API usage on the default model (claude-sonnet-4-6). That figure is an estimate — it scales with server complexity and your chosen model, and is not a live measurement. Everything that doesn't call the model —validate,inspect,list,doctor, andinit— is free.
That's the whole loop. mcpforge plans the tools, generates the code, then runs syntax, security, lint, import, and pytest checks against the result — so what lands in ./weather-server/ is already validated:
# weather-server/server.py (excerpt)
"""Weather forecast MCP server."""
from fastmcp import FastMCP
mcp = FastMCP("Weather")
_FORECASTS: dict[str, dict] = { "san francisco": {"high_c": 18, "low_c": 12, "summary": "Foggy"}, "denver": {"high_c": 24, "low_c": 9, "summary": "Clear"}, }
@mcp.tool async def get_forecast(city: str) -> dict: """Return today's forecast for a city.""" key = city.strip().lower() if key not in _FORECASTS: raise ValueError(f"No forecast available for {city!r}") return {"city": city, **_FORECASTS[key]}
if name == "main": mcp.run(transport="streamable-http")
Every generation also produces test_server.py (a real pytest suite), pyproject.toml, a README.md, and an MCP client config.json — a complete project, not a snippet. Run it with:
cd weather-server
uv run server.py # start the server (streamable-http) uv run pytest -v # run the generated tests mcpforge validate . # re-run the full validation suite anytime
The snippet above is an illustrative toy ("weather") for the docs. Real generations match your description — see
examples/for live generated servers (todo, file reader, database query, Slack notifier, TypeScript).
mcpforge has a sibling: [mcp-audit](https://github.com/saagpatel/MCPAudit) (mcp-audits on PyPI). They're two halves of one workflow — forge a server, then audit what your agents can actually touch before you trust it.
| Stage | Tool | What it does |
|---|---|---|
| Build | mcpforge | Generate a complete, tested MCP server from one sentence. |
| Audit | mcp-audit | Scan every MCP server wired into your machine and risk-score what each one can reach. |
# build
mcpforge generate "A weather server that returns today's forecast for a city" -o weather-server
uvx --from mcp-audits mcp-audit scan --ssrf-check
mcp-audit is read-only by default — it never edits a config and reports env-var key names only, never values. Build with confidence, then verify your blast radius.
Registry-ready metadata lives in server.json with the MCP Registry name io.github.saagpatel/mcpforge and PyPI package fastmcp-builder. Treat that metadata as discovery/provenance context, not as proof that generated servers are safe to run without review.
mcpforge is itself an MCP server: point an MCP client (Claude Code, Claude Desktop, Cursor) at it and your agent can forge, validate, and inspect MCP servers inside a conversation. It runs locally over stdio (it writes files into your workspace and calls your model provider on your own key), so it is not offered as a hosted remote.
uvx fastmcp-builder
Add it to a client config (Claude Code shown). generate, update, and plan call the model provider, so set the key in the server env:
{
"mcpServers": { "mcpforge": { "command": "uvx", "args": ["fastmcp-builder"], "env": { "ANTHROPIC_API_KEY": " ", "MCPFORGE_WORKSPACE": "/path/to/workspace" } } } }
Workspace paths are resolved against MCPFORGE_WORKSPACE and confined to it. Note that generate and update write files and incur model-provider cost (roughly $0.05 to $0.30 per call on your key).
| Tool | What it does | Writes | Cost | Key args |
|---|---|---|---|---|
generate | Generate a complete, tested FastMCP 3.x server from a description | yes (workspace) | API call | description, language, transport, output_path, dry_run |
update | Apply a natural-language change to an existing generated server | yes (workspace) | API call | server_path, request |
plan | Extract the structured server plan without generating code | no | API call | description, transport |
validate | Run syntax, lint, import, and pytest checks on a generated server | no (executes tests) | none | server_path |
inspect | Summarize a generated server without executing it | no | none | server_path |
doctor | Check local prerequisites and provider readiness | no | none | workspace_path |
list_generated_servers | List mcpforge-generated servers in a workspace | no | none | workspace_path, recursive |
pyproject.toml, and a pytest suite generated togethermcpforge validate runs syntax, security, lint, import, and pytest checks against generated serversmcpforge update modifies an existing generated server and backs up changed files before writingmcpforge list finds mcpforge-generated projects in a workspacemcpforge inspect summarizes generated server shape, while mcpforge doctor checks local readiness--json for agent workflowsmcpforge init creates a minimal FastMCP server skeleton for local iterationmcpforge-server exposes generation, planning, validation, inspection, doctor, and discovery tools so AI assistants can build safelyThe PyPI distribution is fastmcp-builder; the installed commands are mcpforge and mcpforge-server. Beyond generate:
# See it work with no API key — generate a weather server from a built-in recording
mcpforge demo
mcpforge generate "A todo list manager with create, read, update, and delete operations"
mcpforge validate ./my-server
mcpforge update ./my-server "Add a tool to export todos as CSV"
mcpforge list . --recursive
mcpforge inspect ./my-server
mcpforge doctor
Useful generation flags:
--dry-run displays the structured plan without writing files.--no-execute writes files but skips dependency installation and generated-code execution. Python still reports static syntax, security, and lint results; imports and generated tests do not run. TypeScript also skips type checking and generated tests, and its MCP response reports validation_mode: "write_only" and tests_status: "not_run". Provider-backed planning and code generation may still make API calls. The legacy tests_ok flag alone does not prove tests ran.--strict treats Python lint errors as hard validation failures; TypeScript has no lint stage.--from-openapi FILE generates from an OpenAPI 3.x spec.--openapi-include-tag TAG, --openapi-exclude-tag TAG, --openapi-operation ID, and --openapi-limit N curate OpenAPI conversion.--language python|typescript chooses the target server language.--auth-profile none|api-key|jwt adds optional Python auth profile metadata and env docs.--middleware-profile logging|timing|rate-limit adds optional Python middleware profiles; repeat it to combine profiles.--provider anthropic|openai|openrouter selects the generation provider. openrouter is the "bring any model" path: set OPENROUTER_API_KEY and pick any OpenRouter model with --model (e.g. --model anthropic/claude-opus-4.8), including free and low-cost ones. Generation quality and structured-output support vary by model — the recommended models are Claude Opus 4.8 (xHigh) and/or GPT 5.5 (High/Extra High). The openai package is a default dependency (included in all installs) because it backs both --provider openai and --provider openrouter; set MCPFORGE_ENABLE_OPENAI_PROVIDER=1 to enable the direct OpenAI provider for use with OPENAI_API_KEY.Useful status flags:
mcpforge list --jsonmcpforge inspect PATH --jsonmcpforge validate PATH --jsonmcpforge doctor --jsonmcpforge version --jsonmcpforge doctor --json always prints the complete JSON report and exits 0 when the report's
只显示了开头部分;其余内容请在仓库中阅读