MongoDB MCP somente leitura
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| listDatabasesA | Lista apenas bancos autorizados pela política e pela identidade MongoDB. |
| listCollectionsB | Lista apenas coleções autorizadas no banco informado. |
| findC | Consulta documentos paginados; informa quando há mais resultados ou truncamento. |
| findOneC | Consulta um documento autorizado ou retorna null. |
| countDocumentsB | Retorna a contagem exata dos documentos que satisfazem o filtro. |
| distinctC | Retorna valores distintos limitados e informa se a resposta foi truncada. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool targets a distinct read operation: metadata listing (listDatabases, listCollections), single-vs-many document retrieval (findOne vs find), counting (countDocuments), and unique-value extraction (distinct). The find/findOne boundary is the classic overlap case, but the descriptions make the cardinality difference explicit.
All names use camelCase consistently, matching MongoDB shell conventions. The pattern is verb+noun for listDatabases, listCollections, and countDocuments, while find, findOne, and distinct follow native driver naming — a minor deviation but predictable and idiomatic for this domain.
Six tools is well-scoped for a read-only MongoDB server: one per essential read primitive with no redundant entries. Every tool earns its place and the surface stays small enough to avoid selection confusion.
The read-only surface covers discovery, querying, counting, and distinct values with truncation/pagination signaling, which is solid lifecycle coverage for a deliberately read-only server. The notable gap is aggregation pipeline support (aggregate), a common read operation agents may need for grouping and projection.