mcp4api¶
mcp4api turns your API docs into a working MCP server, then calls every generated tool against your API and reports which ones work. The repository is smusali/mcp4api.
Built for platform teams who want their product callable by agents.
Install¶
Quickstart¶
These commands need no API key. They reuse the committed manifest and cassettes,
regenerate the other artifacts in place, and exit 3. The sample's one known gap
is get_book: page_count is a string in the API and an integer in the spec.
git clone https://github.com/smusali/mcp4api && cd mcp4api
uvx mcp4api examples/sample-api/openapi.yaml --offline --out examples/sample-api
cat examples/sample-api/report/verification.md


Where to go next:
- Usage for every command, flag, and exit code.
- Architecture for the four-stage pipeline.
- Methodology for curation and verification.
- Limitations for what mcp4api does not do.