Skip to main content
Glama
sourabhshegane

MongoDB That Works - MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MONGODB_URIYesMongoDB connection string, e.g. mongodb+srv://user:pass@cluster.mongodb.net/database
MONGODB_DATABASENoDefault database name (falls back to the URI's database)

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

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
findA

Find documents in a MongoDB collection

findOneB

Find a single document in a MongoDB collection

aggregateB

Run an aggregation pipeline on a MongoDB collection

countA

Count documents in a MongoDB collection

distinctB

Get distinct values for a field in a MongoDB collection

listCollectionsA

List all collections in the database

insertOneB

Insert a single document into a MongoDB collection

updateOneC

Update a single document in a MongoDB collection

deleteOneA

Delete a single document from a MongoDB collection

getSchemaA

Analyze collection structure and return field names with types

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/sourabhshegane/mongodb-mcp-that-works'

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