Skip to main content
Glama
vishnuweb-a

MongoDB MCP

by vishnuweb-a

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MONGODB_URIYesMongoDB connection string
DATABASE_NAMEYesDatabase name

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
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
all_collectionsA

Returns all collections in the database.

fetch_collection_schemaB

Returns inferred schema from a sample document.

fetch_collection_dataC

Fetch documents from a collection.

find_documentC

Find a single document.

count_documentsC

Count matching documents.

insert_documentC

Insert a document.

update_documentC

Update matching document.

delete_documentC

Delete matching document.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3/5.0

Scored across 8 tools

Disambiguation4/5

Most tools are clearly distinct: collection listing, schema inference, data fetching, single document find, count, insert, update, delete. The only potential overlap is between fetch_collection_data and find_document, but the former implies multiple documents while the latter explicitly targets a single document.

Naming Consistency3/5

The naming mixes patterns: 'all_collections' and 'fetch_collection_*' vs. 'find_document', 'count_documents', 'insert_document', etc. While verb-first naming is used for most, the prefixes 'all' and 'fetch_collection_' are inconsistent. Still readable and not chaotic.

Tool Count5/5

With 8 tools, the server covers the core MongoDB operations without unnecessary bloat. Each tool serves a clear purpose in the database workflow, from listing collections to CRUD operations and schema inspection.

Completeness4/5

The tool set provides comprehensive coverage for basic MongoDB interactions: listing collections, inspecting schemas, querying documents, counting, inserting, updating, and deleting. Missing advanced features like aggregation or indexing are not critical for a general-purpose MongoDB MCP server.

Maintenance

ActivityInactive
ResponsivenessNo issues