For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

Get Started with the MongoDB MCP Server

In this guide, you learn how to get started with the MongoDB MCP Server by configuring and using it in your AI client.

Tip

Select your desired AI Client from the AI Client dropdown below for setup instructions.

If you have issues with your MCP server configuration, see Troubleshoot MongoDB MCP Server.

For complete configuration options and available tools, see Configure MCP Server and Connections and Supported Tools.

For more usage examples, see MongoDB MCP Server Usage Examples.