Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHost interface for the MCP listener.127.0.0.1
MCP_PORTNoPort for the MCP listener.8001
LOG_LEVELNoLogging level (e.g., INFO, DEBUG).
MILVUS_URINoMilvus server URI for semantic retrieval.
SECRET_KEYYesSecret key for token protection (at least 32 characters).
ENVIRONMENTNoProcess mode (e.g., development, production).
DATABASE_URLYesDatabase connection URL for the shared Ershu PostgreSQL database.
GITHUB_TOKENNoOptional GitHub fallback token for private remotes.
GITLAB_TOKENNoOptional GitLab fallback token for private remotes.
MILVUS_TOKENNoMilvus authentication token.
PROXY_HEADERSNoTrusted forwarded request metadata (if behind a proxy).
ENCRYPTION_KEYYesEncryption key for stored credentials (at least 32 characters).
MCP_KEY_PEPPERYesPepper for MCP key protection (at least 32 characters).
MILVUS_DB_NAMENoMilvus database name.
MCP_BUILD_COMMITNoExact source commit used for the running process (40-character Git commit in production).
GIT_ALLOWED_HOSTSNoComma-separated list of allowed Git hosts for remote access.
MCP_ALLOWED_HOSTSNoComma-separated list of allowed HTTP hosts.
DATABASE_POOL_SIZENoDatabase connection pool size.
ALLOW_FILE_GIT_URLSNoWhether to allow file:// Git URLs (true/false).
FORWARDED_ALLOW_IPSNoIPs allowed to use forwarded headers.
MCP_ALLOWED_ORIGINSNoComma-separated list of allowed HTTP origins.
TRUSTED_LOCAL_PATHSNoComma-separated list of allowed local repository roots.
DATABASE_MAX_OVERFLOWNoMaximum overflow for database connection pool.
ALLOW_INSECURE_GIT_URLSNoWhether to allow insecure Git URLs (true/false).
REPOSITORY_STORAGE_PATHNoPath to store prepared remote repositories.
GIT_COMMAND_TIMEOUT_SECONDSNoTimeout in seconds for Git commands.
DATABASE_POOL_TIMEOUT_SECONDSNoDatabase pool timeout in seconds.
MCP_ENABLE_DNS_REBINDING_PROTECTIONNoWhether to enable DNS rebinding protection (true/false).
ALLOW_DEV_OPEN_LOCAL_REPOSITORY_PATHSNoWhether to allow opening local repository paths in development (true/false).

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/ershu-lab/ershu-mcp'

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