Turns any OpenAPI/Swagger API into an MCP server. One MCP tool per endpoint, Streamable HTTP - for AI clients calling your REST API.
{
"mcpServers": {
"openapi-to-mcp": {
"args": [
"-y",
"openapi-mcp-generator"
],
"command": "npx"
}
}
}Standalone proxy that turns any OpenAPI/Swagger-described HTTP API into an MCP (Model Context Protocol) server. It loads the spec at startup, filters operations by include/exclude, and registers one MCP tool per API operation. Tool calls are executed as HTTP requests to the backend API.
Is it safe?
No known CVEs for openapi-mcp-generator.
No authentication — any process on your machine can connect.
MIT. View license →
Is it maintained?
Last commit 45 days ago. 15 stars. 18,146 weekly downloads.
Will it work with my client?
Transport: stdio, sse, http. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
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:
No known vulnerabilities.
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
MCP Security Weekly
Get CVE alerts and security updates for Openapi To Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.