Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging level (Available values: DEBUG, INFO, WARNING, ERROR, CRITICAL)INFO
MONGODB_URINoMongoDB connection stringmongodb://localhost:27017
LOG_BACKUP_COUNTNoNumber of backup log files5
LOG_MAX_FILE_SIZENoMaximum log file size in bytes10MB
MONGODB_DEFAULT_DBNoDefault database name (optional)
MONGODB_AUTH_SOURCENoAuthentication sourceadmin
MONGODB_TLS_ENABLEDNoEnable TLS connectionfalse
MONGODB_MAX_POOL_SIZENoMaximum connection pool size100
MONGODB_MIN_POOL_SIZENoMinimum connection pool size0
MONGODB_AUTH_MECHANISMNoAuthentication mechanism (SCRAM-SHA-1, SCRAM-SHA-256, etc.)
ENABLE_ADMIN_OPERATIONSNoEnable administrative operationstrue
ENABLE_INDEX_OPERATIONSNoEnable index operationstrue
MONGODB_READ_PREFERENCENoRead preferenceprimary
MONGODB_WRITE_CONCERN_WNoWrite concern1
MONGODB_MAX_IDLE_TIME_MSNoMaximum idle time in milliseconds30000
MONGODB_SOCKET_TIMEOUT_MSNoSocket timeout in milliseconds (0 - no timeout)0
MONGODB_CONNECT_TIMEOUT_MSNoConnection timeout in milliseconds20000
MONGODB_READ_CONCERN_LEVELNoRead concern levellocal
ENABLE_DANGEROUS_OPERATIONSNoEnable potentially dangerous operationsfalse
MONGODB_SERVER_SELECTION_TIMEOUT_MSNoServer selection timeout in milliseconds30000

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/441126098/mongo-mcp'

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