Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_MONGODB_URIYesMongoDB Connection URL
MCP_MONGODB_READONLYNoMongoDB Connection Read-Only mode. If read-only set to 'true'.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
queryB

Execute a MongoDB query with optional execution plan analysis

aggregateB

Execute a MongoDB aggregation pipeline with optional execution plan analysis

updateC

Update documents in a MongoDB collection

serverInfoA

Get MongoDB server information including version, storage engine, and other details

insertB

Insert one or more documents into a MongoDB collection

createIndexB

Create one or more indexes on a MongoDB collection

countC

Count documents in a collection matching a query

listCollectionsB

List all collections in the MongoDB database

Prompts

Interactive templates invoked by user choice

NameDescription
analyze_collectionAnalyze a MongoDB collection structure and contents

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

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