Mount any OpenAPI spec as an MCP server from one YAML file, with per-user OAuth, per-operation scopes, tool shaping and dynamic exposure for fine-grained access control and context efficiency.
MCPpedia last refreshed this data
Openapi MCP Gateway is an MCP server that mount any OpenAPI spec as an MCP server from one YAML file, with per-user OAuth, per-operation scopes, tool shaping and dynamic exposure for fine-grained access control and context efficiency. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 60/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"openapi-mcp-gateway": {
"args": [
"openapi-mcp-gateway"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Mount any OpenAPI (Swagger) spec as a Model Context Protocol (MCP) server from one YAML file, with no code to write. Per-user OAuth and per-operation scopes give fine-grained access control, and tool shaping and dynamic exposure give context efficiency on large APIs. One process runs several APIs, each with its own endpoint and auth.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked openapi-mcp-gateway against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in developer-tools / security
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
MCP server for using the GitLab API
The TypeScript MCP framework
A NestJS module to effortlessly create Model Context Protocol (MCP) servers for exposing AI tools, resources, and prompts.
MCP Security Weekly
Get CVE alerts and security updates for Openapi MCP Gateway and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Mount any OpenAPI spec as a Model Context Protocol (MCP) server from one YAML file, with no code to write. Fine-grained access control decides who may call each operation and which values the model may send, and dynamic exposure keeps an API of any size within the model's context. One process runs several APIs, each with its own endpoint and auth.
With uv installed, one command serves PokéAPI:
uvx openapi-mcp-gateway serve --spec https://pokeapi.co/openapi.yml --name pokeapi
Then connect any MCP client, such as Claude Code, Cursor or VS Code, to http://127.0.0.1:8000/pokeapi/mcp. Getting Started continues from there to a config file with several APIs.
Most OpenAPI-to-MCP tools turn every operation into a tool. The gateway also decides what the model sees, what it may send and who may call it.
Each tool call is authorized, shaped and sent upstream, and its response is reshaped on the way back.
See the documentation for the guides, concepts, reference and evaluation.