ckanthony/openapi-mcp
Dockerized MCP server that enables AI agents to access any API with OpenAPI documentation through the MCP protocol.
About this tool
ckanthony/openapi-mcp
Dockerized MCP server that enables AI agents to access any API with OpenAPI documentation through the MCP protocol.
- Source: ckanthony/openapi-mcp on GitHub
- Category: api-integration-mcp-servers
- Tags: mcp, openapi, api-integration, docker, ai-agent
Features
- Dockerized MCP Server: Easily deployable using Docker, with a pre-built image available on Docker Hub or buildable locally.
- OpenAPI/Swagger Integration: Reads OpenAPI (swagger.json or openapi.yaml) files and generates a Model Context Protocol (MCP) toolset for API interaction.
- AI Agent Compatibility: Allows MCP-compatible clients (such as Cursor) to access any API described by OpenAPI, enabling AI agents to interact with APIs without extra coding.
- Automatic Tool Definition Generation: Generates MCP tool definitions directly from OpenAPI specification files.
- API Key Configuration: Supports passing API keys via command line flags, environment variables, or .env files.
- Flexible API Key Handling: Configure API key parameter name and location (header, query, path, or cookie).
- Selective Exposure: Include or exclude tags and operation IDs from the OpenAPI specification to control which endpoints are exposed.
- Base URL Override: Manually override the API server base URL if needed.
- Custom Naming/Description: Set default name and description for the generated MCP toolset.
- Example Provided: Includes a Weatherbit API example, with Docker Compose setup for demonstration.
- Command-Line Options: Multiple flags for fine-grained control over server behavior and toolset generation.
Installation
- Docker (Recommended):
- Use the pre-built Docker image from Docker Hub or build locally.
- Run the container with required OpenAPI spec and API key configuration.
- Docker Compose:
- Example setup provided in the repository for running with docker-compose.
Usage
- Provide the OpenAPI specification (local file or remote URL).
- Configure API keys as needed (via environment or .env file).
- Run the server and connect MCP-compatible clients to the exposed APIs.
- Use command-line flags to customize behavior (see features above).
Pricing
- Open Source: No pricing information is provided; the project is available for free on GitHub.
Loading more......
Information
Categories
Tags
Similar Products
6 result(s)A proxy MCP server that enables LLM clients to interact with Databutton app API endpoints via the MCP protocol over websockets. This is a notable addition to the ecosystem of Awesome MCP Servers.
An MCP Server implementation that integrates the Balldontlie API, providing information about NBA, NFL, and MLB players, teams, and games.
An MCP Server for running Bruno Collections, providing integration and automation capabilities for Model Context Protocol workflows. Directly relevant as an MCP Server implementation for API automation.
A Model Context Protocol server that exposes over 200+ APIs from API.market as MCP resources, allowing large language models to discover and interact with various APIs. A robust and feature-rich MCP server for API aggregation.
An MCP server to communicate with the App Store Connect API for iOS Developers, enabling automation and data access.
Model Context Protocol server for bridging LLMs with the APISIX Admin API to query and manage Apache APISIX resources.