Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Bind host | 0.0.0.0 |
| MCP_PORT | No | Port for Streamable HTTP server | 3100 |
| MCP_SERVER_NAME | No | Server name reported to MCP clients | openapi-to-mcp |
| MCP_TOOL_PREFIX | No | Prefix for tool names (e.g. api_ -> api_messages, api_channels) | |
| MCP_API_BASE_URL | No | Base URL for API requests | http://127.0.0.1:3000 |
| MCP_OPENAPI_SPEC_URL | No | URL of OpenAPI spec (e.g. http://api:3000/openapi.json). Takes precedence over file. | |
| MCP_EXCLUDE_ENDPOINTS | No | Comma-separated method:path to exclude. Ignored for endpoints in include. | |
| MCP_INCLUDE_ENDPOINTS | No | Comma-separated method:path (e.g. get:/messages,get:/channels). If set, only these become tools. | |
| MCP_OPENAPI_SPEC_FILE | No | Path to OpenAPI JSON file (used if URL not set) |
Capabilities
Server capabilities have not been inspected yet.
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 | |