Explore and interact with Swagger/OpenAPI specifications, allowing for browsing endpoints and retrieving details on API operations.
A Model Context Protocol (MCP) server that allows LLMs to explore and interact with Swagger/OpenAPI specifications. This server provides tools and resources for loading API specifications, browsing endpoints, and getting detailed information about API operations.
npm install
npm run build
load_api
Load an OpenAPI/Swagger specification into the server.
Parameters:
apiId
(string): Unique identifier for this APIsource
(string): URL or file path to the OpenAPI/Swagger specificationExample:
{ "name": "load_api", "arguments": { "apiId": "petstore", "source": "https://petstore.swagger.io/v2/swagger.json" } }
get_endpoint_details
Get detailed information about a specific API endpoint.
Parameters:
apiId
(string): ID of the loaded APImethod
(string): HTTP method (GET, POST, etc.)path
(string): API endpoint pathnatural
(boolean, optional): If true, returns a human-readable summaryExample:
{ "name": "get_endpoint_details", "arguments": { "apiId": "petstore", "method": "GET", "path": "/pet/{petId}", "natural": true } }
list_apis
List all currently loaded API specifications.
Parameters: None
search_endpoints
Search for endpoints matching a specific pattern.
Parameters:
apiId
(string): ID of the loaded APIpattern
(string): Search pattern for endpoint paths or descriptionsExample:
{ "name": "search_endpoints", "arguments": { "apiId": "petstore", "pattern": "pet" } }
swagger://{apiId}/load
Get overview information about a loaded API specification.
swagger://{apiId}/endpoints
Get a list of all available endpoints for an API.
swagger://{apiId}/endpoint/{method}/{path}
Get detailed information about a specific endpoint.
To use this server with Claude Desktop, add the following to your claude_desktop_config.json
:
{ "mcpServers": { "swagger-explorer": { "command": "node", "args": ["/path/to/your/swagger-mcp-server/build/index.js"] } } }
Replace /path/to/your/swagger-mcp-server
with the actual path to your project directory.
MIT License
An AI-native API testing platform for generating scenarios, executing tests, and analyzing results.
Introspects Laravel codebases to provide structured information about views, routes, classes, and models using the mateffy/laravel-introspect package.
Execute Python code and install packages safely within isolated Docker containers.
A local MCP server for Laravel developers to boost productivity with artisan commands.
A template for deploying a remote MCP server on Cloudflare Workers, customizable by defining tools in the source code.
Tools for logging, analyzing, and improving Claude Desktop prompts to enhance prompt engineering skills.
Generate and edit images using OpenAI's DALL-E models via the official Python SDK.
An executable server for running MCP services, featuring tool chaining, multi-service management, and plugin support.
A Swift-based MCP server that integrates with Xcode to enhance AI development workflows.
A tool server for integrating Dify Workflows via the Model Context Protocol (MCP).