MyMCP is a powerful serverless application that dynamically converts any OpenAPI v3 specification into a fully-functional Model Context Protocol (MCP) server. Deploy it once, and instantly expose any OpenAPI-compliant API as an MCP-compatible interface with tools, streaming, and more.
π Live Instance: mymcp.gmitch215.xyz
- Point to OpenAPI Spec: Access any OpenAPI URL via
/{server}endpoint - Automatic Conversion: MyMCP fetches and parses the OpenAPI specification
- Tool Generation: Each API endpoint becomes an MCP tool with proper schemas
- Invoke & Stream: Use standard MCP protocols to invoke tools or stream results
https://mymcp.gmitch215.xyz/{server}/sse# example servers
https://mymcp.gmitch215.xyz/api.example.com/sse
https://mymcp.gmitch215.xyz/https://api.openapi-specification.org/openapi.json/sse
# pre configured server (tabroom)
https://mymcp.gmitch215.xyz/tabroom/sseEnsure that you properly encode the {server} portion to avoid invalid paths.
- Bun or Node.js 18+
- Cloudflare Workers account (for deployment)
- OpenAPI 3.x specification URL
# Clone the repository
git clone https://github.com/gmitch215/MyMCP.git
cd MyMCP
# Install dependencies
bun install
# Run development server
bun run devMyMCP supports the official Model Context Protocol specification (2024-11-05). This means you can connect it directly to Claude Desktop, Cursor, Windsurf, and other MCP-compatible clients.
- β
initialize- Initialize connection with protocol version and capabilities - β
tools/list- List all available API endpoints as tools - β
tools/call- Execute API calls through the MCP interface - β
prompts/list- Discover available prompts (auto-generated from endpoints) - β
resources/list- List resources (empty, extensible for future use) - β
resources/templates/list- List resource templates (empty, extensible) - β
notifications/initialized- Client initialization notification - β
ping- Connection health check
MyMCP comes with pre-configured aliases for common APIs. You can add more in src/servers.json.
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is licensed under the MPL License. See the LICENSE file for details.
- Built with Hono - Lightweight web framework
- Deployed on Cloudflare Workers
- Implements Model Context Protocol (MCP)
- OpenAPI specifications from various providers
Made with β€οΈ by gmitch215