Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HTTP_HOST | No | Host for HTTP transport. | 127.0.0.1 |
| HTTP_PORT | No | Port for HTTP transport. | 3000 |
| NAMESPACE | No | Namespace for the MCP server tools. | |
| TOOLS_MODE | No | Tools loading mode: "all" (load all endpoint-based tools), "dynamic" (load only meta-tools), or "explicit" (load only tools specified in includeTools). | all |
| API_HEADERS | No | Comma-separated key:value pairs for API authentication headers (e.g., "Authorization:Bearer token123,X-API-Key:your-api-key"). | |
| SERVER_NAME | No | Name for the MCP server. | openapi-mcp-server |
| API_BASE_URL | Yes | Base URL for the API endpoints. | |
| INCLUDE_TAGS | No | Comma-separated list of OpenAPI tags to include. | |
| ENDPOINT_PATH | No | Endpoint path for HTTP transport. | /mcp |
| SERVER_VERSION | No | Version of the server. | 1.0.3 |
| TRANSPORT_TYPE | No | Transport type to use: "stdio" or "http". | stdio |
| OPENAPI_SPEC_PATH | No | Path or URL to the OpenAPI specification file (JSON or YAML). | |
| INCLUDE_OPERATIONS | No | Comma-separated list of HTTP methods (e.g., GET, POST) to include. | |
| OPENAPI_SPEC_INLINE | No | The OpenAPI specification content provided directly as a string. | |
| DISABLE_ABBREVIATION | No | Set to "true" to disable tool name optimization/abbreviation. | |
| OPENAPI_SPEC_FROM_STDIN | No | Set to "true" to read the OpenAPI specification from standard input. |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |