Skip to main content
Back to timeline
MongoDB | BlogSource publication:

MongoDB ships Atlas App Connections: AI coding tools reach Atlas in one click, without shared long-lived credentials

Synopsis

MongoDB released Atlas App Connections, which lets AI coding tools connect to an Atlas account with a single click of authorization. Until now the only route was sharing long-lived service account credentials, which slowed builders and left administrators managing a security risk they were reluctant to accept, so some organizations avoided third-party integrations. Built on OAuth 2.1, it lets AI clients act on the user's behalf through the Atlas MCP Server, scoped to the user's existing permissions, revocable at any time, and off by default for existing organizations until an administrator opts in.

AI-generated editorial illustration: Introducing Atlas App Connections: Secure, One-Click Access for AI Tools

Interpretation

MongoDB released Atlas App Connections, letting builders connect AI coding tools including ChatGPT, Claude, Claude Code, Codex CLI, Cursor, Devin and Grok to their MongoDB Atlas account with one click. Previously the only way to connect an external application was sharing long-lived service account credentials, a workaround that slowed builders and left administrators managing a security risk they were reluctant to accept; some organizations avoided third-party integrations or defaulted to whatever tool was already in their AI stack. Once connected, these tools can provision, manage and query Atlas resources on the builder's behalf, such as spinning up a new cluster, checking an existing one or working with its data, limited to the access the connecting user already has.

Authorization runs on OAuth 2.1, an industry-standard authorization framework, and AI clients act for the user through the MongoDB Atlas MCP Server without long-lived credentials to generate, share or manage. With Claude as the example, connecting takes three steps: install the MongoDB plugin, select the plugin under /mcp and authenticate, then approve the one-click authorization; installing the plugin also adds skills that teach Claude to work with Atlas and installs MongoDB's remote MCP server behind the scenes. After approval the AI tool obtains a short-lived access token and a refresh token so it need not ask the user to log in for every action, and it acts on Atlas resources through the Atlas MCP Server within the connecting user's permissions.

Perspective

The demonstrated scope is onboarding between MongoDB Atlas accounts and the listed AI coding tools, plus the access properties of authorization, revocation, audit and organization-level switches; an Atlas organization owner must first enable delegations in the organization before connecting a first application.

Revoking a user's access for an AI client takes effect within 15 minutes, while an organization owner turning off delegation for the whole organization takes effect immediately; existing organizations have this access disabled by default and require an administrator to opt in, whereas organizations created during sign-up start with it enabled.