mcp-server-mongo

mcp-server-mongo

0

This MCP server integrates with MongoDB to provide tools for querying databases and listing collections. It allows users to easily set up a connection and perform database operations.

MCP Server with MongoDB Integration

Setup

  • Install dependencies using uv.
  • Configure MongoDB connection with environment variables MONGODB_URI and MONGODB_DATABASE.

Running the Server

  • Use Python to execute the main script.

Available Tools

1. query_mongodb

  • Query a MongoDB collection with a filter.

2. list_collections

  • List all collections in the database.