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

TDQS

A3.7/5.0

Scored across 10 tools

Disambiguation5/5

Each tool targets a distinct MongoDB operation: find vs findOne are clearly differentiated (multiple vs single document), and aggregate, count, distinct, listCollections, insertOne, updateOne, deleteOne, and getSchema have no overlapping responsibilities. The descriptions clarify the purpose of each, leaving no ambiguity for an agent.

Naming Consistency5/5

All tool names follow a consistent lowerCamelCase convention with a verb-first pattern (find, findOne, aggregate, count, distinct, listCollections, insertOne, updateOne, deleteOne, getSchema). The style is uniform and predictable, making it easy to infer tool behavior from the name.

Tool Count5/5

With 10 tools, the server is well-scoped for a MongoDB interface. It covers querying, aggregation, schema inspection, and basic CRUD operations without unnecessary bloat. Each tool serves a clear purpose, and the count is ideal for an MCP server of this domain.

Completeness4/5

The tool surface covers the core CRUD operations (insertOne, updateOne, deleteOne, find, findOne) and includes useful extras like aggregate, count, distinct, and getSchema. However, it lacks bulk operations (insertMany, updateMany, deleteMany) and collection management (createCollection, dropCollection), which are common in MongoDB workflows. These are minor gaps that an agent can work around by composing single-document calls, but they are noticeable.

Maintenance

ActivityMaintained
ResponsivenessNo issues