Set up OpenAI Codex with Remote MCP
Connect OpenAI Codex—both the desktop app and the CLI—to the Atlan Remote MCP server using the Atlan Codex Plugin. OAuth is handled automatically with mcp.atlan.com on the first tool call. No API key, environment variable, or manual MCP configuration is required.
Prerequisites
Before you begin, make sure you have:
- An Atlan tenant with Remote MCP enabled.
- OpenAI Codex installed—either the desktop app, the CLI, or both.
Set up Codex with Remote MCP
Choose the setup that fits how you use Codex. Plugin install is the recommended path. Use direct MCP install only if you need the Codex CLI alone and don't want the desktop-app plugin entry.
- Plugin install (recommended)
- Direct MCP (CLI only)
The Atlan Codex Plugin is published in the Atlan agent toolkit repository, which exposes a Codex marketplace.
-
Register Atlan's marketplace with Codex:
codex plugin marketplace add https://github.com/atlanhq/agent-toolkit -
Install the Atlan plugin from that marketplace:
codex plugin add atlan@atlanThe
atlan@atlanslug uses Codex's<plugin-name>@<marketplace-name>convention. The firstatlanis the plugin name; the second is the marketplace name (Atlan's). It's how Codex resolves which plugin from which marketplace—not an internal-only identifier. -
Quit and relaunch the Codex desktop app. The Atlan plugin appears under Plugins → Manage (enabled, with the bundled MCP server registered).
-
On the first tool call, Codex runs OAuth with
mcp.atlan.comto authenticate to your Atlan tenant. Complete the sign-in flow in your browser. -
Inside a Codex session, run
/mcpto inspect connected servers, then ask anything Atlan-related—for example:Find all tables in the snowflake connection and trace lineage upstream from orders_fact.
If you only need the MCP server in the Codex CLI and don't want the desktop-app plugin entry, register the server directly:
-
Add the Atlan MCP server:
codex mcp add atlan --url https://mcp.atlan.com/mcp -
Authenticate via OAuth:
codex mcp login atlanThis appends
[mcp_servers.atlan]to~/.codex/config.tomlwithout going through the plugin system. -
Inside a Codex session, run
/mcpto verify the server is connected, then start using Atlan MCP tools.
Verify the connection
Confirm the plugin is installed and the MCP server is reachable:
codex plugin list | grep atlan # atlan@atlan installed, enabled
codex mcp list # atlan ✓
You can then ask Atlan-related questions inside a Codex session—for example:
- Find all tables in the Snowflake connection.
- Trace lineage upstream from the orders_fact table.
- List glossary terms tagged as PII in my catalog.
For the full list of tools available, see MCP tools.
Need help?
If you have any issues configuring the integration, contact Atlan Support for assistance.