Configure the MCP Server to interact with your MongoDB clusters from AI clients.
This page describes AI client compatibility and prerequisites, and has links to pages with the MCP Server configuration options. For a simple MCP Server configuration and introduction, see Get Started with the MongoDB MCP Server.
AI Client Compatibility
The MCP Server is compatible with AI clients that support MCP. For example, you can use these AI clients:
The JSON configuration file structure can vary for each AI client. Read the AI client documentation for details.
For a list of clients that support MCP, see MCP Clients.
Prerequisites
Ensure you have already installed the software as specified in MCP Server software prerequisites.
The MCP Server can run Atlas tools that perform various Atlas operations. To run the Atlas tools, your Atlas cluster requires a service account with the appropriate permissions.
To set up a service account, see MongoDB MCP Server Prerequisites for Running Atlas Tools.
For a list of the tools, see MongoDB MCP Server Tools.
MongoDB MCP Server Configuration Tasks and Operations
To perform MongoDB MCP Server configuration tasks and operations, see the following pages:
Page | Description |
---|---|
View MCP Server options that specify how to connect to a cluster and control MCP Server operations. | |
Set MCP Server options in a JSON configuration file, a command line, and environment variables. | |
Enable or disable MCP Server features such as read-only mode, specific MCP tools, telemetry data collection about system use, and using indexes in queries. | |
Export results returned by queries and aggregation pipelines to files. | |
Configure the MCP Server to run as a standalone service. | |
Examine MCP Server logs for information that can help resolve problems. |