Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_REST_TOKENNoAPI token (required for token auth)
MCP_REST_RETRIESNoNumber of retries for failed requests (default: 3)3
MCP_REST_TIMEOUTNoRequest timeout in milliseconds (default: 30000)30000
MCP_REST_BASE_URLNoBase URL for the REST API (required)
MCP_REST_PASSWORDNoPassword (required for login auth)
MCP_REST_USERNAMENoUsername (required for login auth)
MCP_REST_AUTH_TYPENoAuthentication type: 'token' or 'login' (required)
MCP_REST_CONFIG_FILENoPath to JSON configuration file
MCP_REST_SWAGGER_URLNoURL to Swagger/OpenAPI documentation
MCP_REST_TOKEN_FIELDNoToken field name in login response (default: access_token)access_token
MCP_REST_LOGIN_ENDPOINTNoLogin endpoint path (required for login auth)

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/gyuco/mcp-http-client'

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