Add the Admin MCP server to Codex

Add the Admin entry the way Codex’s own docs describe, fill in what it needs, then check it’s connected.

  1. Run the command

    codex mcp add microsoft-admin --url https://agent365.svc.cloud.microsoft/agents/tenants/<tenant_id>/servers/mcp_AdminTools
  2. Fill in the values

    What you fill in

    Required values appear as <NAME> placeholders in the snippets; add optional ones the same way. Descriptions are the server’s registry entry’s.

    • <tenant_id> Value Required

      Microsoft Entra tenant ID

  3. Check it’s connected

    Restart or reload Codex and look for microsoft-admin in its list of MCP servers. A server that needs sign-in opens it on first use.

Codex’s MCP docs · Admin MCP server →

Other clients