MCP-MongoDB
Serveur MCP
1
Github Watches
1
Github Forks
0
Github Stars
MCP 配置文件
{
"mcpServers": {
"mongodb": {
"command": "node",
"args": [
"E:\\project\\mongodb\\build\\index2.js"
],
"env": {
"MONGO_URI": "mongodb://localhost:27017/"
},
"disabled": false,
"autoApprove": []
},
}
}
读取资源请求示例:
<use_mcp_tool> <server_name>mongodb</server_name> <tool_name>read_resource</tool_name>
{ "uri": "mongodb://localhost:27017/common" }
</use_mcp_tool>
CallToolRequestSchema、ReadResourceRequestSchema 的区别
CallToolRequestSchema: 用于执行特定操作 适合执行命令、处理数据等主动操作 示例:获取集合列表、插入数据等
ReadResourceRequestSchema: 用于读取资源内容 适合提供对资源的只读访问 示例:读取集合文档、获取数据库状态等
多表联查示例
<use_mcp_tool> <server_name>mongodb</server_name> <tool_name>multi_collection_query</tool_name>
{ "database": "common", "collection": "players", "pipeline": [ { "$lookup": { "from": "platform", "localField": "platform", "foreignField": "appKey", "as": "platformInfo" } }, { "$unwind": "$platformInfo" }, { "$project": { "_id": 1, "pid": 1, "__v": 1, "bank": 1, "ip": 1, "lobbyUrl": 1, "platform": "$platformInfo", "rtp": 1, "_collection": { "$literal": "players" } } }, { "$limit": 2 } ] }
</use_mcp_tool>
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
🧑🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.
Une liste organisée des serveurs de protocole de contexte de modèle (MCP)
Reviews
user_ufxDSmWr
I've been using the mcp-mongodb application by nan-qin and it's truly impressive. The seamless integration with MongoDB and the efficiency it offers for managing databases is unmatched. The user-friendly interface and robust features have significantly simplified my workflow. Highly recommend checking it out! You can find more details at the product link here: https://github.com/nan-qin/mcp-mongodb.