Swagger Explorer MCP
A Management Control Plane (MCP) server for exploring and analyzing Swagger/OpenAPI specifications through Claude.
Quick Start
Install and run globally using npx:
Or install with environment variables:
Installation for Claude Desktop
- Open Claude Desktop
- Click on Settings (gear icon)
- Select "Tools & Integrations"
- Click "Add MCP Server"
- Enter the following:
- Click "Install"
Usage with Claude
Here are some example interactions with Claude:
Basic Swagger Exploration
Analyzing Specific Endpoints
Schema Analysis
Features
- Authentication Support
- Bearer token authentication
- Configurable through environment variables
- Custom Response Formatting
- Minimal format: Removes null/empty values
- Detailed format: Includes metadata and timestamps
- Raw format: Unmodified response
- Schema Analysis
- Detailed property exploration
- Response schema analysis
- Schema relationships
- API Exploration
- Path listing
- Method filtering
- Response format analysis
Configuration
Environment Variables:
BASE_URL
: Base path for the API (default: '')AUTH_TOKEN
: Bearer token for authenticationPORT
: Server port (default: 3000)SWAGGER_URL
: Default Swagger documentation URL
API Endpoints
Explore API
Get Schema Details
Get Response Schemas
Response Formats
Minimal Format
Detailed Format
Common Use Cases
- API Documentation Review
- Schema Validation
- Response Analysis
- Integration Planning
Troubleshooting
- Connection Issues
- Ensure the Swagger URL is accessible
- Check if authentication token is correct
- Verify port is not in use
- Authorization Errors
- Verify AUTH_TOKEN is set correctly
- Ensure bearer token is included in requests
- Schema Not Found
- Check if schema name is exact match
- Verify Swagger spec is loaded correctly
Security Notes
- The MCP requires authentication if AUTH_TOKEN is set
- All requests are logged for debugging
- Sensitive information is not cached
- Rate limiting is applied to prevent abuse
Development
To contribute or modify:
- Clone the repository
- Install dependencies:
- Build:
- Run locally:
License
MIT License - See LICENSE file for details
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
ユーザーが Swagger/OpenAPI 仕様を探索および分析できるようにする管理コントロール プレーン サーバー。エンドポイント探索、スキーマ分析、カスタマイズ可能な応答フォーマットなどの機能を提供し、認証と Claude などのツールとの統合をサポートします。
Related Resources
Related MCP Servers
- -securityAlicense-qualityA server that enables interaction with any API that has a Swagger/OpenAPI specification through Model Context Protocol (MCP), automatically generating tools from API endpoints and supporting multiple authentication methods.Last updated -1899Apache 2.0
- AsecurityAlicenseAqualityAn MCP server that connects to a Swagger specification and helps an AI to build all the required models to generate a MCP server for that service.Last updated -51866MIT License
- AsecurityAlicenseAqualityMCP server providing token-efficient access to OpenAPI/Swagger specs via MCP Resources for client-side exploration.Last updated -2942MIT License
- AsecurityAlicenseAqualityA tool that creates MCP (Model Context Protocol) servers from OpenAPI/Swagger specifications, enabling AI assistants to interact with your APIs.Last updated -3821MIT License