MCP.so
登录

MongoDB MCP Server

@thinking-bzf

关于 MongoDB MCP Server

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

基本信息

分类

数据库

运行时

go

传输方式

stdio

发布者

thinking-bzf

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

工具是从 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

FAQ from MongoDB MCP Server

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).

What tools does MongoDB MCP Server provide?

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

Does MongoDB MCP Server support SSE?

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

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.

Can I run MongoDB MCP Server with DeepChat?

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

评论

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