MongoDB Read-Only MCP Server
Read-only MongoDB queries with database, collection and field policies.
MongoDB Read-Only MCP scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 4 tools. Filed under Databases. GitHub shows 0 stars. Package registries report about 290 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
75/100 for listing completeness. Lost points: short README, 1 of 4 tools barely described, short summary.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "fean-developer-mongodb-mcp": { "command": "npx", "args": [ "-y", "@fean-developer/mongodb-readonly-mcp@2.0.0" ], "env": { "MONGODB_MCP_PROFILE": "", "MONGODB_URI": "YOUR_MONGODB_URI" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
MONGODB_MCP_PROFILE | Optional | Optional profile previously saved with mongodb-readonly-mcp-configure. |
MONGODB_URISecret | Optional | MongoDB URI, if not using a saved private configuration; may contain credentials. |
Tools4Tool docs quality grade D
All capabilitiescountDocumentstoolConta os documentos que correspondem ao filtro.
findOnetoolBusca um documento que corresponda ao filtro.
listCollectionstoolLista as coleções autorizadas de um banco.
listDatabasestoolLista os bancos autorizados.
About
MongoDB MCP somente leitura
Servidor MCP em TypeScript/Node.js que permite a clientes como o GitHub Copilot consultar bancos, coleções e documentos no MongoDB.
O servidor oferece apenas tools de leitura, sem ferramentas de escrita, comandos arbitrários ou agregação. Por padrão, também bloqueia comandos de escrita antes de chegarem ao MongoDB, mesmo que o usuário tenha permissão para escrever. As consultas respeitam as permissões do MongoDB e as restrições configuradas.
Tools disponíveis
| Tool | O que faz |
|---|---|
listDatabases | Lista os bancos autorizados. |
listCollections | Lista as coleções autorizadas de um banco. |
find | Busca documentos por filtro, com projeção, ordenação e paginação. |
findOne | Busca um documento que corresponda ao filtro. |
countDocuments | Conta os documentos que correspondem ao filtro. |
distinct | Retorna os valores distintos de um campo nos documentos que correspondem ao filtro. |
Instalação e configuração
Para instalar, configurar e começar a usar, siga o tutorial para iniciantes.
Para detalhes de autenticação, restrições e outras opções, consulte o tutorial avançado.
Frequently asked questions
What is MongoDB Read-Only MCP Server?
Read-only MongoDB queries with database, collection and field policies.
How do I install MongoDB Read-Only MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. MongoDB Read-Only MCP Server runs locally from the npm package @fean-developer/mongodb-readonly-mcp with the command npx -y @fean-developer/mongodb-readonly-mcp@2.0.0.
Is MongoDB Read-Only MCP Server free and open source?
Yes. MongoDB Read-Only MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does MongoDB Read-Only MCP Server support remote (HTTP) connections?
No remote endpoint is listed for MongoDB Read-Only MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does MongoDB Read-Only MCP Server provide?
MongoDB Read-Only MCP Server provides 4 tools: countDocuments, findOne, listCollections, and listDatabases. See the full tool list for descriptions and parameters.
How is MongoDB Read-Only MCP Server's trust score calculated?
MongoDB Read-Only MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.