mongo-mcp logo

mongo-mcp适用于模型上下文协议 (MCP) 的 MongoDB Server

(0)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

mongo-mcp 工具是一个 MongoDB Model Context Protocol(MCP)服务器。它允许 LLMs 使用自然语言直接与 MongoDB 数据库交互。该工具能够无缝查询集合、检查模式并管理数据。 mongo-mcp服务器提供了多项功能,包括集合模式检查、文档查询和过滤、索引管理,以及文档操作(插入、更新和删除)。 它主要为 Claude Desktop app 设计,但也可适配其他 MCP 客户端。该工具需要 Node.js 18+,可通过 Smithery 或手动安装。 服务器可以通过在 Claude Desktop 配置文件中添加 MongoDB 连接 URL 来进行配置。已提供演示视频以展示其功能。 该工具的功能包括基本操作,如列出集合、显示模式和查询文档,以及更高级的查询和索引管理。

主要功能

  • 集合模式的检查
  • 文档的查询和过滤
  • 索引管理
  • 文档操作(插入、更新、删除)

价格

模型
Free
评分
暂无评价

使用场景

数据库探索

使用自然语言探索 MongoDB数据库,包括列出集合、检查模式和查询文档。

数据管理

使用自然语言查询进行数据管理任务,例如插入、更新和删除文档。

优点 & 缺点

优点

  • 支持自然语言与 MongoDB 数据库进行交互
  • 支持集合模式的检查和文档的查询
  • 支持索引管理和文档操作

缺点

  • 要求 Node.js 18+ 和 MongoDB 连接
  • 仅限于 MCP 客户端,例如 Claude Desktop 的使用

评测

登录以留下评测。

暂无评测。来当第一个吧!

问答

Is mongo-mcp limited to Claude Desktop?

It is primarily designed for Claude Desktop but can be adapted to other MCP clients that support the Model Context Protocol. The configuration requires adding a MongoDB connection URL to the client’s config.

Asked by Sven Bergqvist · Oct 2, 2025

What are the prerequisites for running mongo-mcp?

You need a MongoDB instance (or a sandbox via Docker Compose), Node.js 18 or higher, and an MCP client such as Claude Desktop. Docker Compose is only needed for local sandbox testing.

Asked by Fiorella Bianchi · Sep 5, 2025

Which operations can I perform through natural language with mongo-mcp?

You can inspect collection schemas, query and filter documents, manage indexes, and perform insert, update, and delete operations directly from an MCP client like Claude Desktop.

Asked by Amara Chukwu · Jul 12, 2025

How do I install mongo-mcp for my MongoDB database?

Install via Smithery with `npx @smithery/cli install mongo mcp client claude` or manually by cloning the repo, ensuring Node.js 18+ and Docker Compose if testing locally. Then add the connection URL to Claude Desktop’s config file under mcpServers.

Asked by Kwabena Asante · Jul 3, 2025

提问

服务配缩器 的替代品