A tool that converts OpenAPI specifications to MCP server
MCPpedia last refreshed this data
Openapi MCP Generator is an MCP server that a tool that converts OpenAPI specifications to MCP server. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 93/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"openapi-mcp-generator": {
"args": [
"-y",
"openapi-mcp-generator"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Generate Model Context Protocol (MCP) servers from OpenAPI specifications.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y 'openapi-mcp-generator' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked openapi-mcp-generator 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
MCP Security Weekly
Get CVE alerts and security updates for Openapi Mcp Generator and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
openapi-mcp-generator is a free, MIT-licensed CLI and library that turns an OpenAPI 3.x specification into a ready-to-run Model Context Protocol (MCP) server for stdio, SSE, Streamable HTTP or Cloudflare Workers. You own the generated TypeScript code, and tool inputs are validated against JSON Schema before any request reaches your API.
Docs · Quickstart · Browser playground · Changelog
npx openapi-mcp-generator --input ./openapi.json --output ./my-mcp
eval).structuredContent (optionally with a declared outputSchema).tsconfig.json, package.json, and entry point.npm install -g openapi-mcp-generator
You can also use
yarn global add openapi-mcp-generatororpnpm add -g openapi-mcp-generator
5.0 generates servers on the MCP TypeScript SDK v2 and supports MCP 2026-07-28 alongside 2025-era clients. Generated projects change, so upgrade deliberately:
npx openapi-mcp-generator@5 -i ./openapi.json -o ./my-mcp --force. --force overwrites generated files, including your edits.npm install. @modelcontextprotocol/sdk is replaced by @modelcontextprotocol/server (^2.4.0), and zod, json-schema-to-zod, dotenv and uuid by @cfworker/json-schema.@modelcontextprotocol/server (stdio helpers from @modelcontextprotocol/server/stdio).mcp-session-id, and GET and DELETE on /mcp return 405. Tool calls over POST are unaffected.MCP_ALLOW_MISSING_CREDENTIALS=true restores the old behavior.-32602 error. Integers stay integers, readOnly properties leave request inputs, and schema defaults are no longer injected.