Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Mongo Db Mcp

    MCP Server for MongoDB

    3 stars
    TypeScript
    Updated Sep 12, 2025

    Table of Contents

    • Overview
    • Prerequisites
    • Installation
    • Building the Project
    • Running the client

    Table of Contents

    • Overview
    • Prerequisites
    • Installation
    • Building the Project
    • Running the client

    Documentation

    MongoDB MCP Server

    A Model Context Protocol (MCP) server for MongoDB that allows querying MongoDB collections through a simple interface for local integrations and command line tools.

    Overview

    This project implements an MCP server that connects to MongoDB and provides a query tool to retrieve data from collections. It currently only supports read-only transactions. Project includes:

    • A MongoDB MCP server that exposes database querying capabilities
    • A client application for interacting with the server
    • Utilities for MongoDB connection and transaction management

    Prerequisites

    • Node.js (v16 or higher)
    • npm
    • MongoDB database (local or cloud-based)

    Installation

    1. Clone the repository:

    bash
    git clone https://github.com/yourusername/mongo-db-mcp.git
       cd mongo-db-mcp

    2. Install dependencies:

    bash
    npm install

    3. Create a .env file in the root directory with your MongoDB connection string:

    code
    MONGO_CONNECTION_STRING=your_mongodb_connection_string

    Building the Project

    Build the TypeScript code:

    bash
    npm run build

    Running the client

    bash
    node dist/client/client.js dist/index.js

    Similar MCP

    Based on tags & features

    • GL

      Glm Mcp Server

      TypeScript·
      3
    • NS

      Ns Private Access Mcp

      TypeScript·
      3
    • MC

      Mcp Wave

      TypeScript00
    • OP

      Openai Gpt Image Mcp

      TypeScript·
      75

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • GL

      Glm Mcp Server

      TypeScript·
      3
    • NS

      Ns Private Access Mcp

      TypeScript·
      3
    • MC

      Mcp Wave

      TypeScript00
    • OP

      Openai Gpt Image Mcp

      TypeScript·
      75

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k