Cover image
Try Now
2025-04-14

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

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

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:

相关推荐

  • av
  • Führen Sie mühelos LLM -Backends, APIs, Frontends und Dienste mit einem Befehl aus.

  • 1Panel-dev
  • 🔥 1Panel bietet eine intuitive Weboberfläche und einen MCP -Server, um Websites, Dateien, Container, Datenbanken und LLMs auf einem Linux -Server zu verwalten.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.

  • rulego
  • ⛓️Rugele ist ein leichter, leistungsstarker, leistungsstarker, eingebetteter Komponenten-Orchestrierungsregel-Motor-Rahmen für GO.

  • Byaidu
  • PDF wissenschaftliche Papierübersetzung mit erhaltenen Formaten - 基于 ai 完整保留排版的 pdf 文档全文双语翻译 , 支持 支持 支持 支持 google/deeptl/ollama/openai 等服务 提供 cli/gui/mcp/docker/zotero

  • sigoden
  • Erstellen Sie einfach LLM -Tools und -Argarten mit einfachen Bash/JavaScript/Python -Funktionen.

  • hkr04
  • Leichtes C ++ MCP (Modellkontextprotokoll) SDK

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 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

  • dmayboroda
  • On-Premise-Konversationslappen mit konfigurierbaren Behältern

  • modelscope
  • Bauen Sie LLM-Multi-Agent-Anwendungen auf einfachere Weise auf.

    Reviews

    3.3 (12)
    Avatar
    user_k6yus24H
    2025-04-24

    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!

    Avatar
    user_uswf8Hlb
    2025-04-24

    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!

    Avatar
    user_LyWvK1oA
    2025-04-24

    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!

    Avatar
    user_NC7ksg4F
    2025-04-24

    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!

    Avatar
    user_gbfHFTdY
    2025-04-24

    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!

    Avatar
    user_GW2dGfwK
    2025-04-24

    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!

    Avatar
    user_g1sUgrK0
    2025-04-24

    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.

    Avatar
    user_kIOv6yyZ
    2025-04-24

    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!

    Avatar
    user_Wp5iBej8
    2025-04-24

    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!

    Avatar
    user_DZjWrm1w
    2025-04-24

    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!

    Avatar
    user_uH6zXY5f
    2025-04-24

    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.

    Avatar
    user_jHLCMD42
    2025-04-24

    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!