MCP.so
登录

MongoDB MCP Server

@thinking-bzf

基本信息

分类

数据库

传输方式

stdio

作者

thinking-bzf

关于 MongoDB MCP Server

A Model Context Protocol (MCP) server that enables LLMs to connect MongoDB using mcp-go.

MongoDB MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MongoDB MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MongoDB MCP Server?

A Model Context Protocol (MCP) server that enables LLMs to connect MongoDB using mcp-go. It acts as a bridge between the LLM and the MongoDB database, allowing you to perform CRUD operations using natural language.

How to use MongoDB MCP Server?

Copy the config.yml.example file to config.yml, modify it with your MongoDB and MCP server settings, then run the server using go run main.go. The server exposes tools for querying and managing collections, documents, and indexes.

Key features of MongoDB MCP Server

  • Perform CRUD operations via natural language
  • Query, count, and list MongoDB collections
  • Insert, update, and delete single documents
  • Create, drop, and list indexes
  • Supports Server-Sent Events (SSE) transport

Use cases of MongoDB MCP Server

  • Enable an LLM to query MongoDB collections with filters and projections
  • Let an LLM insert, update, or delete documents in a MongoDB database
  • Allow an LLM to manage indexes (create, drop, list) on MongoDB collections

常见问题

1

How is MongoDB MCP Server configured?

Configuration is managed through a `config.yml` file with MongoDB connection details (host, port, user, password, database) and MCP server settings (name, version, base URL, address, SSE toggle).

2

What tools does MongoDB MCP Server provide?

It provides tools for find, count, listCollections, insertOne, updateOne, deleteOne, createIndex, dropIndex, and indexes.

3

Does MongoDB MCP Server support SSE?

Yes, SSE support is enabled by default (configurable via the `sse` field in `config.yml`).

4

What runtime does MongoDB MCP Server require?

The server is written in Go and is started with `go run main.go`. It uses the mcp-go library and the official MongoDB Go driver.

5

Can I run MongoDB MCP Server with DeepChat?

Yes, the README shows usage in DeepChat with a screenshot depicting integration.

评论

数据库 分类下的更多 MCP 服务器