Skip to content

Connect Codex to DevGlimpse

Live Org admin
Needs
An MCP credential
Settings file
~/.codex/config.toml

How do you let Codex read your delivery metrics?

You add DevGlimpse to Codex as a remote MCP server. The credential stays out of the settings file: Codex reads it from an environment variable. You need an MCP credential first.

Connect

  1. Go to Admin → MCP and create a credential. Copy it.

  2. Under Configure your assistants, click the Codex tab.

  3. Add the settings block to ~/.codex/config.toml:

    [mcp_servers.devglimpse]
    url = "https://api.devglimpse.com/mcp"
    bearer_token_env_var = "DEVGLIMPSE_MCP_KEY"
    
  4. Add the credential line to your shell profile (~/.zshrc or ~/.bashrc):

    export DEVGLIMPSE_MCP_KEY='<your-mcp-credential>'
    
  5. Open a new terminal and restart Codex.

Use the text from the page, not these copies. The page has your real address and credential.

The settings block holds no secret, so it is safe to share. The shell line holds the credential. Keep your profile private.

Check that it works

  1. Run codex mcp list in a terminal. devglimpse should be in the list.
  2. Open Codex and ask: “Which team merged the most PRs in the last 30 days?”

If it works, you will see Codex call a DevGlimpse tool, such as team_metrics. More ideas are on the examples page.

Change or remove it

  • To use a new credential, change the value in your shell profile, open a new terminal and restart Codex.
  • To cut off access for good, revoke the credential in Admin → MCP. Codex is turned away on its next call.

If it does not work

Codex says the server is unauthorized.The DEVGLIMPSE_MCP_KEY variable is probably empty in the terminal that started Codex. Open a new terminal, run echo "${DEVGLIMPSE_MCP_KEY:+set}", and check it prints set. If the credential was revoked, create a new one.
Codex cannot see people's numbers.You are probably using a Workspace (aggregates only) credential, or your visibility setting does not cover those people. See MCP credentials.