ouvreboite/openapi-to-mcp
by Various
An MCP server for your API
MCP
ouvreboite/openapi-to-mcp
Added 1 June 2026
Overview
Converts OpenAPI specifications into MCP servers, enabling AI assistants to directly call your API endpoints through the Model Context Protocol. Implemented in C#, it exposes any OpenAPI-compliant API as an MCP server with minimal configuration.
Best for
Best for
Developers wanting to quickly connect their OpenAPI-defined APIs to MCP-compatible AI agents
Use cases
- Expose existing REST APIs to AI assistants via MCP
- Quickly create MCP servers from OpenAPI specs
- Integrate AI models with your API without custom glue code
How to use
Install
dotnet tool install --global openapi-to-mcp Tools exposed
openapi-to-mcp
Example client config
{\n "mcpServers": {\n "petstore": {\n "command": "openapi-to-mcp",\n "args": [\n "https://petstore3.swagger.io/api/v3/openapi.json"\n ]\n }\n }\n} Notes
Converts OpenAPI specifications into MCP servers, enabling AI assistants to directly call your API endpoints through the Model Context Protocol. Implemented in C#, it exposes any OpenAPI-compliant API as an MCP server with minimal configuration.
33 stars on GitHub. Last updated 2025-07-15. Licensed MIT.
Use cases
- Expose existing REST APIs to AI assistants via MCP
- Quickly create MCP servers from OpenAPI specs
- Integrate AI models with your API without custom glue code
Pros
- Automatic generation from OpenAPI specs reduces manual work
- Uses standard MCP protocol for broad AI tool compatibility
- Simple setup with existing OpenAPI definitions
Cons
- Limited to OpenAPI spec requirements; may not handle non-standard APIs
- Small community (33 stars) with potentially limited support
- C# dependency may not suit all environments
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Automatic generation from OpenAPI specs reduces manual work
- Uses standard MCP protocol for broad AI tool compatibility
- Simple setup with existing OpenAPI definitions
Cons
- Limited to OpenAPI spec requirements; may not handle non-standard APIs
- Small community (33 stars) with potentially limited support
- C# dependency may not suit all environments
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Cline
Cline
Open-source autonomous coding agent that lives inside VS Code. BYO model key, watch it work.
Continue
Continue.dev
Open-source AI code assistant for VS Code and JetBrains. Customisable, BYO model, built for enterprise.
Claude Code
Anthropic
Anthropic's terminal-native coding agent. Reads your repo, edits files, runs tests, ships PRs.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.