Overview
api-mcp is a command-line tool that generates a Model Context Protocol (MCP) server from an API specification. It reads OpenAPI 3.x, Swagger 2.0, GraphQL, and Google's Discovery Document formats from a file, URL, or stdin, and creates one tool per operation without requiring code. The tool can run in stdio or HTTP mode, and supports authentication methods including bearer, basic, API key, and dynamic token fetching. It also handles per-request signatures, unique request IDs, and filtering of operations by method and path.
The tool is designed to avoid handing credentials to third-party servers. With the specification in hand, the server is generated and runs wherever the user places it, so credentials never leave. It supports various authentication schemes, including static tokens, dynamic token fetching, and per-request signatures. It can handle APIs that sign queries, require unique request IDs, and serve on multiple hosts. It also supports Google APIs via Discovery Documents and allows trimming the surface of large APIs.
Pricing
Free
Detailed plans have not been confirmed in our catalog. Check the official website for current limits and billing terms.
Visit WebsitePrices and limits may change. Confirm the currency, billing period, seat minimum and usage caps on the official website.
Use Cases
- Teams use api-mcp to generate an MCP server from an OpenAPI specification without writing code.
- Teams use api-mcp to connect to APIs that require per-request signatures, such as Shopee or TikTok Shop.
- Teams use api-mcp to handle dynamic authentication where the API trades credentials for a short-lived token.
- Teams use api-mcp to filter operations by method and path, e.g., to allow reads but restrict writes.
- Teams use api-mcp to connect to Google APIs via Discovery Documents.
- Teams use api-mcp to handle APIs on multiple hosts within a single OpenAPI document.
Features
AI assistant
Natural language interface
Workflow automation
Reviews
No reviews yet. Be the first to share your experience!