Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_MODENoLogging mode: local or prod.local
MCP_NAMENoServer name advertised to clients.mcp-retrieval
MCP_PATHNoHTTP route (http transport only)./mcp
MAX_IMAGESNoMaximum number of images per query.10
PROXY_HOSTNoProxy host. If set, all proxy credentials are required.
PROXY_PORTNoProxy port. Required when PROXY_HOST is set.
MAX_QUERIESNoMaximum number of queries/URLs per call.10
MAX_RESULTSNoMaximum number of search results per query.20
MCP_VERSIONNoServer version advertised to clients.0.1.0
PROXY_LOGINNoProxy login. Required when PROXY_HOST is set.
SERVER_PORTNoHTTP server port (http transport only).8080
PROXY_SCHEMENoProxy scheme. Required when PROXY_HOST is set.
MCP_TRANSPORTNoTransport: stdio or http.stdio
DEFAULT_IMAGESNoDefault number of images per query.5
MAX_TIMEOUT_MSNoMaximum timeout in milliseconds.10000
MIN_TIMEOUT_MSNoMinimum timeout in milliseconds.1000
PROXY_PASSWORDNoProxy password. Required when PROXY_HOST is set.
DEFAULT_RESULTSNoDefault number of search results per query.5
DEFAULT_TIMEOUT_MSNoDefault timeout in milliseconds.5000
MAX_DOCUMENT_CHARSNoMaximum characters for scraped pages.20000
SERVER_READ_TIMEOUTNoHTTP server read timeout.60s
SERVER_WRITE_TIMEOUTNoHTTP server write timeout.60s
DEFAULT_DOCUMENT_CHARSNoDefault maximum characters for scraped pages.20000
MAX_IDLE_CONNS_PER_HOSTNoHTTP connection pooling.100

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/Role1776/mcp-retrieval'

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