LAUNCHMongoDB 8.3 is built for the sub-100ms retrieval & zero downtime AI demands. Read blog >
AI DATAStop fighting your data layer. Get the memory & retrieval agents need to scale. Read blog >

MongoDB MCP features

Comprehensive tools, flexible configuration, enterprise-grade authentication, and more for customizable, secure usage with AI.

View on Github

An official MongoDB MCP Server

The MongoDB MCP Server exposes both MongoDB databases and Atlas management APIs through a unique Model Context Protocol server.

Illustration of database connecting to atlas cloud

A single MCP Server for MongoDB

Works with all MongoDB deployment options: Atlas, Community Edition, and Enterprise Advanced.

Learn more
general_features_tools

Comprehensive database and Atlas operations

Tools for MongoDB databases and Atlas, including database and collection operations, plus project, cluster, and database management.

See all MongoDB MCP Server tools
general_action_share

Advanced monitoring

MongoDB provides extensive logging capabilities, ensuring full observability of agent-database interactions for safety and reliability.

Learn more
atlas_integration

Bundled with MongoDB for VS Code

Integrate with the MongoDB for VS Code extension. The extension automatically exposes an MCP server that you can use with your AI assistant.

Explore the MongoDB for VS Code extension

Enterprise-grade support and features

Confidently build on and with MongoDB with the MongoDB MCP Server.

Illustration of chart and financial documents.

Flexible configuration controls

The MongoDB MCP Server offers robust configuration options to connect, secure, monitor, and customize deployments.

Explore server configuration options
realm_user_authorization

Scoped authorization

Enables secure operations through scoped, permissioned access using Atlas service accounts and database user connection strings.

Explore Atlas service accounts
mdb_ldap

Database-level roles and permissions

Allows setting database- and collection-level roles and permissions for safer agent-database interoperability.

Learn more
atlas_hierarchical_permissioning

Enterprise-grade authentication

Support for enterprise-grade authentication methods such as OIDC, LDAP, Kerberos, and X.509 certificates, along with proxy connectivity.

See server security options

Get started with the MongoDB MCP Server

Supercharge your coding agents with database context.
Read the DocsView on GitHub
WHY USE MCP SERVER?
  • Database context for better code
  • Works with your favorite AI tools
  • Simplified development workflows