
First_mcp
MCP
3 years
Works with Finder
0
Github Watches
0
Github Forks
0
Github Stars
MCP MongoDB Server
This server implements a Model Context Protocol (MCP) interface for MongoDB, allowing interaction with MongoDB collections and documents through standardized MCP requests.
Features
Resource Management
-
List Collections: Lists all MongoDB collections as MCP resources
- Each collection is represented with a
mongodb://
URI scheme - Returns collection names and metadata in MCP resource format
- Each collection is represented with a
Document Operations
-
Read Documents: Retrieve documents from MongoDB collections
- Access collections using
mongodb://collection-name
URI format - Supports filtering and projection of documents
- Default limit of 100 documents per request
- Access collections using
Tools
-
Query Builder: Structured querying of MongoDB collections
- Specify collection name
- Apply filters and projections
- Configure result limits
Security & Logging
- Secure MongoDB connection handling
- Detailed operation logging to
logs/server.log
- Connection error handling and reporting
- Input validation for collection names and queries
Configuration
- MongoDB connection via environment variables (
MONGODB_URI
) - Configurable client options for performance and security
- Logging system with timestamp and error tracking
Technical Details
- Built with
@modelcontextprotocol/sdk
version 1.10.2 - Uses MongoDB Node.js driver version 6.16.0
- Implements MCP server capabilities for resources and tools
Components
Tools
-
query
- Execute MongoDB queries with filtering and projection
- Input parameters:
-
collection
: Name of collection to query -
filter
: MongoDB query filter (optional) -
projection
: Fields to include/exclude (optional) -
limit
: Maximum number of documents to return (default 100)
-
Resources
The server provides access to MongoDB collections as resources:
-
Collections (
mongodb://<collection-name>
)- Each collection is exposed as a resource
- Documents are returned in JSON format
- Supports filtering and projection via query tool
Configuration
Usage with Claude Desktop
To use this server with Claude Desktop, add the following to your claude_desktop_config.json
:
相关推荐
🔥 1Panel bietet eine intuitive Weboberfläche und einen MCP -Server, um Websites, Dateien, Container, Datenbanken und LLMs auf einem Linux -Server zu verwalten.
🧑🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.
⛓️Rugele ist ein leichter, leistungsstarker, leistungsstarker, eingebetteter Komponenten-Orchestrierungsregel-Motor-Rahmen für GO.
PDF wissenschaftliche Papierübersetzung mit erhaltenen Formaten - 基于 ai 完整保留排版的 pdf 文档全文双语翻译 , 支持 支持 支持 支持 google/deeptl/ollama/openai 等服务 提供 cli/gui/mcp/docker/zotero
Erstellen Sie einfach LLM -Tools und -Argarten mit einfachen Bash/JavaScript/Python -Funktionen.
😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 qq / 微信(企业微信、个人微信) / 飞书 / 钉钉 / diskord / telegram / slack 等平台 | 支持 Chatgpt 、 Deepseek 、 Diffy 、 Claude 、 Gemini 、 xai 、 ppio 、 、 ulama 、 lm Studio 、阿里云百炼、火山方舟、 siliconflow 、 qwen 、 mondshot 、 chatglm 、 sillytraven 、 mcp 等 llm 的机器人 / agent | LLM-basierte Instant Messaging Bots-Plattform, unterstützt Zwietracht, Telegramm, Wechat, Lark, Dingtalk, QQ, Slack
Reviews

user_k6yus24H
As a dedicated user of first_mcp by rtcface, I am thoroughly impressed with its seamless integration and user-friendly interface. This product truly stands out in its category, making it an essential tool for anyone in need of an efficient MCP application. Highly recommended!

user_uswf8Hlb
I recently started using first_mcp by rtcface, and it has significantly improved my workflow. The setup was straightforward, and the user interface is very intuitive. I appreciate the helpful welcome message that guided me through the initial setup. Overall, it’s a fantastic tool for anyone looking to streamline their tasks efficiently. Highly recommended!

user_LyWvK1oA
I've been a dedicated user of first_mcp created by rtcface, and I must say it is a game-changer. The interface is intuitive, and the features are robust, making it a valuable tool for both novice and experienced users. The seamless integration and detailed documentation provide an excellent user experience. Highly recommended!

user_NC7ksg4F
As a dedicated user of first_mcp by rtcface, I am thrilled with its performance and functionality. The application is user-friendly and has greatly streamlined my tasks. The intuitive design and robust features make it a must-have tool for anyone in need of such a solution. Highly recommended!

user_gbfHFTdY
First_mcp by rtcface is an outstanding application! The user experience is seamless, and it integrates perfectly into my workflow. From the welcoming interface to the easy navigation, it truly enhances productivity. Highly recommended for anyone seeking a reliable and efficient mcp tool!

user_GW2dGfwK
As a loyal user of the first_mcp app, I am truly impressed by its seamless functionality and user-friendly interface. Developed by rtcface, it has significantly simplified my daily tasks, making everything more efficient. Highly recommended for anyone looking for a reliable solution!

user_g1sUgrK0
As a dedicated user of first_mcp, I am incredibly impressed with its functionality and efficiency. rtcface has done an exceptional job in crafting this application. The smooth navigation through the initial URL and the welcoming interface make the overall experience highly enjoyable. This product stands out in the market and is a must-have for anyone seeking a reliable MCP application.

user_kIOv6yyZ
I recently started using first_mcp by rtcface and it has significantly improved my workflow. The application is intuitive and user-friendly, making it accessible even for new users. The seamless integration with various platforms truly sets it apart. Highly recommend it to anyone looking for an efficient and reliable MCP application!

user_Wp5iBej8
As a dedicated user of the first_mcp application, I must say that this product by rtcface has significantly improved my productivity. The user-friendly interface and seamless integration make it a must-have tool. It simplifies tasks and offers a smooth user experience. Highly recommended!

user_DZjWrm1w
As a dedicated user of first_mcp, I am thoroughly impressed by its performance and user-friendly interface. Created by rtcface, this product has truly enhanced my experience with its seamless integration and functionality. Highly recommend it to anyone looking for an efficient solution!

user_uH6zXY5f
As a dedicated user of first_mcp by rtcface, I must say this application is truly remarkable. It stands out with its user-friendly interface and seamless performance. The thoughtfully crafted design and efficient functionality make it a must-have tool. I highly recommend it to anyone in need of a reliable MCP application.

user_jHLCMD42
I've been using first_mcp by rtcface for a while now, and it's a fantastic tool! The application is smooth and efficient, making my workflow so much easier. The user interface is intuitive, and the welcome message sets a positive tone right from the start. Highly recommended for anyone in need of a reliable mcp application!