Turn any OpenAPI spec into an MCP server. Feed it an openapi.json, get a fully functional Model Context Protocol endpoint out.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"oas2mcp": {
"command": "cargo",
"args": [
"run",
"--",
"oas2mcp"
]
}
}
}
Run in terminal:
claude mcp add oas2mcp cargo run -- oas2mcp
Add to .cursor/mcp.json:
{
"mcpServers": {
"oas2mcp": {
"command": "cargo",
"args": [
"run",
"--",
"oas2mcp"
]
}
}
}