Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoBind host0.0.0.0
MCP_PORTNoPort for Streamable HTTP server3100
MCP_SERVER_NAMENoServer name reported to MCP clientsopenapi-to-mcp
MCP_TOOL_PREFIXNoPrefix for tool names (e.g. api_ -> api_messages, api_channels)
MCP_API_BASE_URLNoBase URL for API requestshttp://127.0.0.1:3000
MCP_OPENAPI_SPEC_URLNoURL of OpenAPI spec (e.g. http://api:3000/openapi.json). Takes precedence over file.
MCP_EXCLUDE_ENDPOINTSNoComma-separated method:path to exclude. Ignored for endpoints in include.
MCP_INCLUDE_ENDPOINTSNoComma-separated method:path (e.g. get:/messages,get:/channels). If set, only these become tools.
MCP_OPENAPI_SPEC_FILENoPath 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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/EvilFreelancer/openapi-to-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server