A
securityA
licenseA
qualityA Model Context Protocol server that provides access to MongoDB databases. This server enables LLMs to inspect collection schemas and execute read-only queries.
Last updated -
8
817
217
TypeScript
MIT License
提供对 MongoDB 数据库的只读访问的模型上下文协议 (MLM) 服务器。该服务器使 LLM 能够检查集合模式并执行聚合管道。
collection
(字符串):要查询的集合pipeline
(数组):MongoDB 聚合管道阶段options
(对象):可选的聚合设置allowDiskUse
(布尔值):允许需要使用磁盘的操作maxTimeMS
(数字):最大执行时间(以毫秒为单位)comment
(字符串):用于标识操作的注释collection
(字符串):要分析的集合pipeline
(数组):MongoDB 聚合管道阶段verbosity
(字符串):解释的详细程度服务器为数据库中的每个集合提供架构信息:
mongodb://<host>/<collection>/schema
)要将此服务器与 Claude Desktop 应用程序一起使用,请将以下配置添加到claude_desktop_config.json
的“mcpServers”部分:
将mydb
替换为您的数据库名称,并根据需要调整连接字符串。
此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
为 LLM 提供对 MongoDB 数据库的只读访问权限,以检查收集模式并执行聚合管道。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mongodb-developer/mongodb-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server