MCP Server with MongoDB Integration
@sven-olding
MCP Server with MongoDB Integration について
概要はまだありません
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-server-mongo": {
"command": "uv",
"args": [
"pip",
"install",
"-e",
"."
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP Server with MongoDB Integration?
This MCP server provides tools for querying MongoDB data. It connects to a MongoDB instance, allowing users to run queries and list collections through the Model Context Protocol.
How to use MCP Server with MongoDB Integration?
Install dependencies with uv pip install -e ., then run python main.py. The server connects to mongodb://localhost:27017 by default; override the connection using environment variables MONGODB_URI and MONGODB_DATABASE. Two tools are available: query_mongodb and list_collections.
Key features of MCP Server with MongoDB Integration
- Query MongoDB collections with a filter and optional limit.
- List all collections in the database.
- Default connection to localhost:27017.
- Customizable MongoDB URI and database via environment variables.
- Simple command-line invocation with minimal setup.
Use cases of MCP Server with MongoDB Integration
- Retrieve documents from a MongoDB collection using a query filter.
- List all collections in a database to explore its structure.
- Integrate MongoDB queries into an MCP-driven AI agent workflow.
- Prototype and test MongoDB queries without a full application.
FAQ from MCP Server with MongoDB Integration
What is the default MongoDB connection?
The server connects to mongodb://localhost:27017 by default. You can change the URI and database name by setting the MONGODB_URI and MONGODB_DATABASE environment variables.
What tools does the server provide?
It provides two tools: query_mongodb (requires collection and query parameters, optional limit) and list_collections (no parameters required).
How do I install and run the server?
Install dependencies with uv pip install -e ., then run python main.py. Ensure uv and Python are installed.
Can I limit the number of results returned?
Yes, the query_mongodb tool accepts an optional limit parameter (default 10).
「データベース」の他のコンテンツ
Database Gateway
centralmindUniversal MCP-Server for your Databases optimized for LLMs and AI-Agents.
Snowflake MCP Server
isaacwassermanPostgres Mcp
crystaldbaPostgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
Neon MCP Server
neondatabaseMCP server for interacting with Neon Management API and databases
mcp_mysql_server
wenb1n-devModel Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展
コメント