Overview
OpenAPI MCP Server is a Model Context Protocol (MCP) server that exposes OpenAPI endpoints as MCP resources, allowing Large Language Models to discover and interact with REST APIs defined by OpenAPI specifications through the MCP protocol.
To use the OpenAPI MCP Server, configure it in Claude Desktop by adding the necessary settings to your configuration file, including the API base URL, OpenAPI specification path, and authentication headers.
- Exposes OpenAPI endpoints as MCP resources - Allows interaction with REST APIs through the MCP protocol - Easy configuration through environment variables and command line arguments - Development tools for building, linting, and type checking
- Integrating Large Language Models with REST APIs.
- Simplifying API interactions for developers.
- Enhancing API discovery and usage through the MCP protocol.
Add to your AI client
Use these steps to connect OpenAPI MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"ivo-toby-mcp-openapi-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ivo-toby-mcp-openapi-server-mcp-mirror"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"ivo-toby-mcp-openapi-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ivo-toby-mcp-openapi-server-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"ivo-toby-mcp-openapi-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ivo-toby-mcp-openapi-server-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"ivo-toby-mcp-openapi-server-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ivo-toby-mcp-openapi-server-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"ivo-toby-mcp-openapi-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ivo-toby-mcp-openapi-server-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"ivo-toby-mcp-openapi-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ivo-toby-mcp-openapi-server-mcp-mirror"
]
}
}
}FAQ
Can I use OpenAPI MCP Server with any REST API?
Yes! As long as the API follows OpenAPI specifications, it can be used with the MCP server.
Is there a specific environment required to run the server?
The server can be run in any environment that supports Node.js.
How can I contribute to the project?
You can contribute by forking the repository, creating a feature branch, and submitting a pull request after making your changes.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":640,"uuid":"731af9b0-77e6-42b5-9e35-635abef83d9e","name":"ivo-toby_mcp-openapi-server","title":"OpenAPI MCP Server","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2024-12-30T03:25:04.089+00:00","updated_at":"2025-02-23T07:15:13.115+00:00","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"openapi,mcp,api-server","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/ivo-toby_mcp-openapi-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]