MyMCP
Dynamically converts any OpenAPI v3 specification into a fully-functional Model Context Protocol (MCP) server.
README
MyMCP - OpenAPI to MCP Server Converter
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
š Table of Contents
šÆ How It Works
- 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/sse
Ensure that you properly encode the {server} portion to avoid invalid paths.
š Getting Started
Prerequisites
- Bun or Node.js 18+
- Cloudflare Workers account (for deployment)
- OpenAPI 3.x specification URL
Installation
# Clone the repository
git clone https://github.com/gmitch215/MyMCP.git
cd MyMCP
# Install dependencies
bun install
# Run development server
bun run dev
š Usage
MyMCP 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.
Supported MCP Methods
- ā
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
š§ Pre-configured Servers
MyMCP comes with pre-configured aliases for common APIs. You can add more in src/servers.json.
š¤ Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
š License
This project is licensed under the MPL License. See the LICENSE file for details.
š Acknowledgments
- Built with Hono - Lightweight web framework
- Deployed on Cloudflare Workers
- Implements Model Context Protocol (MCP)
- OpenAPI specifications from various providers
Made with ā¤ļø by gmitch215
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.