Turn any REST API into an MCP server for Claude, Cursor, and other AI assistants.
Any HTTP API: SaaS, internal backend, or third-party service
Pydantic validation, error handling, dual-format responses
Claude, Cursor, or any MCP-compatible client
A complete REST API → MCP pattern with 4 tools demonstrating CRUD operations and real-world patterns.
List with filtering + pagination
Fetch with optional related data
Create with validated input
Partial updates with existence checks
Get the server running in under 2 minutes. All tests pass.
git clone https://github.com/BryceEWatson/mcp-api-bridge.gitcd mcp-api-bridgeuv pip install -e ".[dev]"pytest tests/ -v # 74 tests pass
✓ Ready to use: All dependencies installed. The server starts immediately with python -m api_bridge_mcp.server
The entire value of this project is the repeatable pattern. You're not locked into JSONPlaceholder. Swap one file and everything else is reusable MCP scaffolding.
api_client.py: base URL, auth headers@mcp.tool patternSee the README for full step-by-step examples with actual code snippets.
74 tests ensure correctness through the refactor.
Input validation, pagination, error handling, and dual-format responses all stay the same.