← Technology, Science & Infrastructure ▣ Distilled locally

Connecting MongoDB Atlas Managed MCP to AWS Quick: A Step-by-Step Guide

MongoDB Blog
December 2, 2026  ·  MongoDB Blog ↗
Connecting MongoDB Atlas Managed MCP to AWS Quick: A Step-by-Step Guide

Operational questions often start in the same place: an order changed status, an event arrived, or a customer record was updated in MongoDB Atlas. Bringing MongoDB Atlas Managed MCP Server into AWS Quick gives teams a conversational way to investigate that live data through an AI assistant, without first flattening documents into tables or operating their own MCP server. In this blog post, we'll create least-privilege Atlas MCP credentials, register the remote server as a Quick custom connector, and validate the connection.

What is Atlas Managed MCP Server?

MongoDB Atlas Managed MCP Server is a MongoDB-hosted MCP endpoint that exposes tools for interacting with Atlas deployments and data. Rather than deploy and maintain your own server, you connect an MCP-capable client to MongoDB's remote endpoint. For programmatic access, an Organization Owner or Project Owner creates an MCP configuration with an ingress service account for the client and a separate egress identity with the assigned Atlas permissions.

What is AWS Quick?

AWS Quick is an AI-powered workspace for asking questions, researching information, building apps and workflows, and working with business data. It provides a unified, agentic experience that brings together AI-powered productivity, business intelligence, and automation in one place. Its chat experience can invoke tools exposed by connected MCP servers, which is the focus of this blog. See the AWS Quick MCP integration documentation.

How AWS Quick authenticates to Atlas Managed MCP Server

What you'll need:

Architecture

Figure 1. Interaction between Atlas Managed MCP Server and AWS Quick.

Integrating AWS Quick with MongoDB Atlas relies on the MongoDB-hosted Atlas Managed MCP Server, eliminating the need to maintain custom MCP infrastructure. When users engage with Quick Chat, Flows, Apps, or Automations, the AI assistant invokes exposed MongoDB tools via a custom MCP connector configured for service authentication (OAuth client credentials).

The integration begins by retrieving the server's OAuth Protected Resource Metadata, then requests an access token from https://cloud.mongodb.com/api/oauth/token using the Client ID and Client secret configured for the connection. Using this token, Quick establishes a Streamable HTTP connection to https://mcp.mongodb.com and registers available tools as executable actions.

The managed server executes these tool invocations using a dedicated egress identity bound to the MCP configuration, enforcing defined Atlas roles, IP access lists, and read-only constraints. Because tool calls operate under this shared service identity across all Quick users, access policy is governed centrally by the remote configuration rather than individual account privileges.

1. Create an Atlas Managed MCP configuration

An Atlas Managed MCP configuration determines the roles and access controls used for this connection. By default, read-only permissions are enforced, providing a baseline least-privilege security model from the outset.

You can create a project-level configuration using the Atlas CLI. Sign in to your Atlas account:

The CLI begins an interactive authentication flow. Follow its on-screen instructions to sign in through your browser, then return to the terminal. A successful login leaves the CLI ready to call Atlas with your account's permissions; it does not create an MCP configuration or generate OAuth credentials for Quick. If authentication fails, check which Atlas organization/project your account can access and whether you have Project Owner permissions before continuing. Atlas CLI login reference.

Create a request file named quick-mcp-config.json:

This is the API request body, not CLI output. mcpConfigName labels the new MCP configuration, and roles defines the Atlas project role assigned to it. Review the role against your intended tools and access policy before creating the configuration. Save the JSON file in the directory from which you will run the next command. See Manage AI Client Access for your Organization for more information.

Create the project-level MCP configuration, replacing <PROJECT_ID> with your 24-character Atlas project ID:

Note: Make sure to check the latest version for the --version parameter in the Atlas CLI documentation before running the command.

Here --groupId selects the Atlas project (Atlas calls a project a group in the API), --file supplies the JSON request, --version selects the API version, and -o json requests JSON output. On success, the CLI prints a JSON MCP configuration containing mcpConfigId (the new configuration identifier), clientId (the ingress service-account Client ID to enter in Quick), and other configuration details such as its name and roles. No plaintext Client secret is returned by this command; generate one in the next step. Copy mcpConfigId and clientId into a secure note and avoid rerunning creation just to retrieve them, as that would create another configuration.

For more, see the Atlas CLI configuration command and Admin API response schema.

Figure 2. Atlas CLI output showing the created MCP configuration.

2. Generate a client secret

Create quick-mcp-secret.json with the desired secret lifetime. This example requests a one-year lifetime; permitted minimum and maximum values depend on your organization's settings:

This file is another request body. secretExpiresAfterHours controls how long the new service-account secret is valid. Generate the secret using the mcpConfigId returned above:

The CLI posts the request to the specified project's MCP configuration and prints a JSON response on success. Expect secret (the plaintext value to enter as Quick's Client secret), id (the secret's own identifier, not the Client ID), createdAt, and expiresAt.

For more, see the Atlas CLI secret command and Admin API response schema.

Figure 3. MCP configuration secret creation response.

3. Add the custom MCP connector in AWS Quick

Within the AWS Quick UI, navigate to More and select Connectors. On the connectors management page, enable the Create for your team toggle located beneath the search box. Locate Model Context Protocol via search and choose it to open the setup form for configuring your Atlas Managed MCP connection parameters. In the write-permissions step of the connector configuration wizard, explicitly specify allowable write tools and state mutative operations, ensuring fine-grained access policies are enforced for database updates.

Note: Exact navigation labels may vary by Quick edition and release.

Enter the Atlas Managed MCP settings:

Important: In Quick, use the clientId returned by createGroupMcpConfig and the one-time secret returned by createGroupMcpSecret. Do not use an Atlas CLI login identifier, and never use the configuration's egressClientId as the Quick Client ID, as it identifies the separate Atlas-facing identity used by the managed server.

Figure 4. Quick custom connector form showing the endpoint selection.

Figure 5. Quick service-authentication fields.

Review the configuration and proceed.

4. Validate the connection safely

After setup, verify that:

  1. Quick completes connector creation without an OAuth or metadata validation error.

  2. The expected MCP tools appear in Quick.

  3. A harmless read-only test prompt succeeds against the intended Atlas project.

  4. The permissions exposed through the MCP configuration match the approved least-privilege scope.

  5. The connection can be disabled, or its secret rotated according to your operational process.

With the remote integration saved, select New Chat and enter the following query to verify that tool invocation and authorization function as intended.

Figure 6. Result of the prompt.

What can you do with the connector?

Once the connector is validated and the appropriate tools are available, potential use cases include:

These are example prompts, not a guarantee of particular tools or autonomous actions. The result depends on your MCP configuration, available tools, Atlas roles, and data. This MCP path is best suited to interactive tool use. See the MongoDB MCP use cases.

How to troubleshoot AWS Quick connector validation errors

If Quick still fails after checking the credentials:

Do not repeatedly rotate credentials as the first response to a generic validation error. Rotate exposed or compromised secrets immediately; otherwise, use the request trace to identify the failing stage.

Security recommendations

Frequently Asked Questions (FAQ)

Originally published by MongoDB Blog ↗ · rebuilt here from its own full-text RSS feed · all rights remain with the publisher, please read and support them there.