Learn the "why" behind slow queries and how to fix them in our 2-Part Webinar.
Register now >
Docs Menu
Docs Home
/

MongoDB with Gemini

You can use MongoDB with Gemini through the official MongoDB Gemini Extension.

The MongoDB Gemini Extension provides:

  • The MongoDB MCP Server

  • Pre-built agent skills for common MongoDB tasks. See the MongoDB Agent Skills documentation for more information.

The MongoDB Gemini Extension is available in the official Gemini Extension Marketplace.

To install the MongoDB Gemini Extension:

  1. Start a Gemini session.

  2. Use the /extensions explore command to open the Extensions page.

  3. Search for "MongoDB", and select the official Gemini Extension for MongoDB (MCP Server + Skills).

  4. Follow the prompts to complete the installation.

After installing the Extension, you must configure the MCP Server before using any agent skills or functionality that connects to MongoDB.

The MongoDB Gemini Extension bundles the MongoDB MCP Server. To configure the MCP Server, see MongoDB MCP Server Get Started.

Back

Cursor Plugin

On this page