概要
What is MCP Link?
MCP Link automatically converts any OpenAPI V3 API into an MCP (Model Context Protocol) server. It is designed for developers who want to make existing RESTful APIs immediately compatible with AI Agent calling standards without modifying the original API.
How to use MCP Link?
Clone the repository, install Go dependencies with go mod download, and run the server via go run main.go serve --port 8080 --host 0.0.0.0. Use query parameters to configure conversion: s= for the OpenAPI spec URL, u= for the API base URL, h= for authentication header format, and f= for path filter expressions. A hosted version is available at mcp-link.vercel.app for quick testing.
Key features of MCP Link
- Automatic MCP server generation from OpenAPI Schema
- Seamless integration with existing AI Agent ecosystems
- Complete and correct mapping of all API endpoints
- Zero code modification required for the original API
- Follows the open MCP specification for broad compatibility
Use cases of MCP Link
- Convert a third‑party REST API (e.g., GitHub, Stripe) into an MCP server for AI assistants
- Rapidly prototype AI‑Agent integrations for internal APIs without manual wrapper code
- Migrate multiple legacy OpenAPI services to standard MCP interfaces in a single command
FAQ from MCP Link
How does MCP Link differ from manually creating MCP interfaces?
MCP Link automates the conversion process from OpenAPI schemas, ensuring full functionality mapping without time‑consuming and error‑prone manual implementation.
What runtime dependencies are required?
The server requires Go and its dependencies (downloaded via go mod download). No changes to the original API are needed.
Where does the MCP server run?
You can run it locally on the specified port and host, or use the hosted version at mcp-link.vercel.app without any installation.
What transport protocol does MCP Link use?
The server uses SSE (Server‑Sent Events); MCP client configuration points to an sse endpoint.
How is authentication handled?
Authentication is configured via the h= parameter in the format header-name:value-prefix. Examples include API keys, Bearer tokens, and custom headers.