internal-swagger-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port for HTTP mode (default 3000) | |
| SOURCES_FILE | No | Path to a JSON file containing the source list (relative to project root) | |
| MCP_BIND_HOST | No | Bind address for HTTP mode (default 0.0.0.0) | |
| SWAGGER_SOURCES | No | JSON array of Swagger source URLs (e.g., ["<SOURCE>"]) | |
| MCP_BEARER_TOKEN | No | Bearer token for HTTP mode authentication | |
| MCP_ALLOWED_ORIGINS | No | Comma-separated allowed origins for HTTP mode |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| swagger_list_sourcesA | List all configured Swagger documentation sources and their cache status. For each service, returns:
Use this before calling swagger_search_api to discover which services are available. |
| swagger_search_apiA | Search API interfaces in the internal Swagger documentation. Searches by keyword across interface name, description, path, and module name. Optionally filter by HTTP method and service. Parameters:
Response: Each matched interface includes: service name, module name, HTTP method, full path, interface name, description, status. Examples:
|
| swagger_get_api_detailA | Get full details of a single API interface, including all parameter definitions and response examples. Parameters:
Response includes:
|
| swagger_refresh_cacheA | Force-refetch Swagger documentation data and update the cache. Use this after the documentation has been updated (interfaces added or modified) to fetch the latest data. Parameters:
Returns: Refresh results, including success/failure status and updated interface counts. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool serves a distinct function: listing sources, searching APIs, fetching details, and refreshing cache. There is no overlap between these operations.
All tool names follow the consistent pattern 'swagger_<verb>_<noun>' with lowercase and underscores. The naming is uniform and predictable.
Four tools are well-scoped for a Swagger documentation MCP server, covering the essential operations without unnecessary bloat.
The tool surface covers the full workflow: discover sources, search endpoints, get detailed specs, and refresh cached docs. No obvious gaps exist for the stated purpose.