OpenAPI MCP Server
Overview
OpenAPI MCP Server is a tool that enables seamless interaction with any OpenAPI (v3.1) compliant API through natural language via Claude Desktop, acting as a proxy for these APIs.
To use the server, configure your Claude Desktop by adding the required MCP server settings in your claude_desktop_config.json file, restart Claude Desktop, and then start interacting with your APIs using natural language commands.
- Automatically converts OpenAPI endpoints into Claude tools. - Allows discovery and understanding of API endpoints and parameters. - Supports file uploads for APIs that accept multipart/form-data. - Handles API calls and responses automatically on behalf of the user.
- Test APIs interactively through natural conversation.
- Prototype integrations with third-party APIs without writing code.
- Upload files and process documents using API commands.
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": {
"openapi-mcp-server-snaggle-ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-openapi-mcp-server-snaggle-ai"
]
}
}
}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": {
"openapi-mcp-server-snaggle-ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-openapi-mcp-server-snaggle-ai"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"openapi-mcp-server-snaggle-ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-openapi-mcp-server-snaggle-ai"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"openapi-mcp-server-snaggle-ai": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-openapi-mcp-server-snaggle-ai"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"openapi-mcp-server-snaggle-ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-openapi-mcp-server-snaggle-ai"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"openapi-mcp-server-snaggle-ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-openapi-mcp-server-snaggle-ai"
]
}
}
}