OpenAPI to MCP Server

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
API_KEYNoAPI Key for the target API (if required)
CONFIG_FILENoPath to a JSON configuration file
DISABLE_X_MCPNoSet to `true` to disable adding the `X-MCP: 1` header to all API requests
CUSTOM_HEADERSNoJSON string containing custom headers to include in all API requests
OPENAPI_SPEC_PATHNoPath to OpenAPI spec file
TARGET_API_BASE_URLNoBase URL for API calls (overrides OpenAPI servers)
SECURITY_CREDENTIALSNoJSON string containing security credentials for multiple schemes
SECURITY_SCHEME_NAMENoName of the security scheme requiring the API Key
OPENAPI_OVERLAY_PATHSNoComma-separated paths to overlay JSON files
MCP_BLACKLIST_OPERATIONSNoComma-separated list of operation IDs or URL paths to exclude (supports glob patterns, ignored if whitelist used)
MCP_WHITELIST_OPERATIONSNoComma-separated list of operation IDs or URL paths to include (supports glob patterns like `getPet*` or `GET:/pets/*`)

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

ID: i5336b36ae