mcp-mongodb
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Log level: debug, info, warn, error, silent. | info |
| MONGODB_URI | Yes | Connection string. Use a read-only user. | |
| MCP_HTTP_PORT | No | HTTP port to listen on (HTTP transport only). | 3000 |
| MCP_TRANSPORT | No | Transport to use: stdio or http. | stdio |
| MCP_CONFIG_PATH | Yes | Path to the config file that defines exposed collections. Without it, nothing is exposed. | |
| MCP_MAX_PAGE_SIZE | No | Maximum page size the caller can request. | 200 |
| MCP_HTTP_AUTH_TOKEN | No | Required for HTTP transport; minimum 32 characters. | |
| MCP_DEFAULT_PAGE_SIZE | No | Default page size when the caller does not specify one. | 50 |
| MCP_HTTP_ALLOWED_HOSTS | No | Comma-separated allowed hosts for DNS-rebinding protection. | |
| MCP_MAX_RESPONSE_BYTES | No | Maximum response size in bytes. | 262144 |
| MCP_HTTP_MAX_BODY_BYTES | No | Maximum request body size in bytes. | 1048576 |
| MONGODB_QUERY_TIMEOUT_MS | No | Query timeout in milliseconds; becomes maxTimeMS on every query. | 10000 |
| MONGODB_ALLOWED_DATABASES | Yes | Comma-separated list of database names that are reachable. | |
| MONGODB_CONNECT_TIMEOUT_MS | No | Connection timeout in milliseconds. Must be lower than the query timeout. | 5000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues