MCP cover image
See in Github
2025-04-14

MCP

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:

相关推荐

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • 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.

  • Aurity Ltd
  • Create and Publish Business Websites in seconds. AI will gather all the details about your website and generate link to your website.

  • Convincible Ltd
  • You're in a stone cell – can you get out? A classic choose-your-adventure interactive fiction game, based on a meticulously-crafted playbook. With a medieval fantasy setting, infinite choices and outcomes, and dice!

  • John Rafferty
  • Text your favorite pet, after answering 10 questions about their everyday lives!

  • Ian O'Connell
  • Provide players' names or enter Quickstart to start the game!

  • analogchat.com
  • Efficient Spotify assistant for personalized music data.

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • langgenius
  • alibaba
  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • Azure
  • 该存储库用于开发Azure MCP服务器,将Azure的功能带给您的代理商。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • Byaidu
  • PDF科学纸翻译带有保留格式的pdf -基于ai完整保留排版的pdf文档全文双语翻译

  • caio-moliveira
  • 创建该项目是为了证明我们如何与不同的模型上下文协议(MCP)连接。

  • microsoft
  • Python tool for converting files and office documents to Markdown.

  • mindsdb
  • AI's query engine - Platform for building AI that can answer questions over large scale federated data. - The only MCP Server you'll ever need

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • AstrBotDevs
  • llm llm聊天机器人及开发框架平台支持QQ QQ QQ 频道、电报| mcp 服务器、 openai,deepseek,双子座、硅基流动、月之暗面、 ollama,

    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!