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 targets a distinct stage of the Swagger documentation workflow: listing sources, searching APIs, retrieving interface detail, and refreshing the cache. There is no meaningful overlap; descriptions and required parameters make the intended use of each tool clear.
All tools follow a consistent swagger_<verb>_<noun> pattern: swagger_list_sources, swagger_search_api, swagger_get_api_detail, swagger_refresh_cache. The convention is predictable and immediately readable.
Four tools is a tight, well-scoped surface for a Swagger documentation server. Each tool earns its place by covering a necessary step in the discovery-to-detail workflow, with no obvious redundancy.
The set covers source discovery, keyword search, detailed interface lookup, and cache refresh, which handles the core read workflow. Minor gaps exist, such as browsing all interfaces without a keyword or listing modules/interfaces directly, but agents can work around these via search.