Swagger MCP transforms Swagger/OpenAPI specs into an MCP server. It exposes API endpoints as MCP actions, allowing AI agents to interact with RESTful services. It connects to any API described by a Swagger/OpenAPI spec. Developers use it to integrate existing APIs into AI workflows without rewriting code.
Swagger MCP transforms Swagger/OpenAPI specs into an MCP server. It exposes API endpoints as MCP actions, allowing AI agents to interact with RESTful services. It connects to any API described by a Swagger/OpenAPI spec. Developers use it to integrate existing APIs into AI workflows without rewriting code.
npx -y swagger-mcpAdd this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"dcolley-swagger-mcp-github": {
"command": "npx",
"args": [
"-y",
"npx -y swagger-mcp"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from swagger mcp?"
API Key Required
This server requires an API key from swagger mcp. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| SWAGGER_MCP_API_KEY | Yes | Your swagger mcp API key |
"What resources are available in swagger mcp?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in swagger mcp"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in swagger mcp with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.