mcp-openapi-server
A Model Context Protocol (MCP) server that exposes OpenAPI endpoints as MCP tools.
This MCP server allows Large Language Models to discover and interact with REST APIs defined by OpenAPI specifications through the MCP protocol. It can be used as a CLI tool for quick setup or as a library for custom implementations in Node.js applications. The server supports both Stdio Transport for direct integration with AI systems and Streamable HTTP Transport for web clients.
Compatible with
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"mcp-openapi-server": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-openapi-server"
]
}
}
}Config File Location
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Some servers require additional setup - check the GitHub README for specific instructions.
Permissions