MongoDB
Query and analyze MongoDB databases.
Obtain your MongoDB connection details
Gather your MongoDB URI. This will look like:mongodb://<username>:<password>@<host>:<port>/<database><username>: Your MongoDB username<password>: Your MongoDB password<host>: Hostname or IP address of your MongoDB server<port>: Port number (default is27017)<database>: Name of your MongoDB database
(Optional) Decide if you want read-only mode
- If you want to prevent all write operations, enable read-only mode by setting
MCP_MONGODB_READONLYto"true". - Leave this value unset or set to
"false"if you need write access.
- If you want to prevent all write operations, enable read-only mode by setting
Go to the FastMCP connection interface
- Click the "Install Now" button for the MCP MongoDB Server integration.
- In the FastMCP connection setup interface, you will see fields for environment variables.
Fill in the required environment variables:
MCP_MONGODB_URI:
Paste your MongoDB URI in this field.MCP_MONGODB_READONLY (optional):
Set to"true"for read-only access, or leave blank/false to allow write operations.
Save and finish the configuration
- Click "Save" or "Connect" (button label may vary).
- The MCP MongoDB Server integration should now be ready to use with the provided credentials.
Example setup
- MCP_MONGODB_URI:
mongodb://muhammed:kilic@localhost:27017/database - MCP_MONGODB_READONLY:
true
You are now ready to connect and use your MongoDB server through the MCP integration.
Quick Start
Choose Connection Type for
Authentication Required
Please sign in to use FastMCP hosted connections
Configure Environment Variables for
Please provide values for the following environment variables:
started!
The MCP server should open in . If it doesn't open automatically, please check that you have the application installed.
Copy and run this command in your terminal:
Make sure Gemini CLI is installed:
Visit Gemini CLI documentation for installation instructions.
Make sure Claude Code is installed:
Visit Claude Code documentation for installation instructions.
Installation Steps:
Configuration
Installation Failed
More for Database
View All →Supabase MCP Server
Connect Supabase projects directly with AI assistants using the Model Context Protocol (MCP). This server standardizes communication between Large Language Models and Supabase, enabling AI to manage tables, query data, and interact with project features like edge functions, storage, and branching. Customize access with read-only or project-scoped modes and select specific tool groups to fit your needs. Integrated tools cover account management, documentation search, database operations, debugging, and more, empowering AI to assist with development, monitoring, and deployment tasks in your Supabase environment efficiently and securely.
ClickHouse
Unlock powerful analytics with the ClickHouse MCP Server—seamlessly run, explore, and manage SQL queries across ClickHouse clusters or with chDB’s embedded OLAP engine. This server offers easy database and table listing, safe query execution, and flexible access to data from files, URLs, or databases. Built-in health checks ensure reliability, while support for both ClickHouse and chDB enables robust data workflows for any project.
Postgres MCP Pro
Boost your Postgres database performance with Postgres MCP Pro, an AI-driven MCP server offering advanced index tuning, detailed explain plans, and comprehensive health checks. It combines proven optimization algorithms with schema intelligence for safe, context-aware SQL execution. Whether analyzing slow queries or recommending optimal indexes, Postgres MCP Pro empowers developers to improve efficiency and maintain database integrity. Designed for both development and production, it supports flexible transport options and robust access controls, making database management smarter, safer, and easier. Experience deterministic performance insights alongside AI assistance to keep your Postgres running at its best.