Generate complete, tested FastMCP 3.x MCP servers from one plain-English sentence.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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.
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:
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:
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:

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 (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. |
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.
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:
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:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcpforge)<a href="https://allmcps.com/mcp/mcpforge"><img src="https://allmcps.com/api/badge/mcpforge?style=directory" alt="Mcpforge on AllMCPs" /></a>