Skip to main content

Codex · Didit MCP

Add Didit to Codex

One command in your terminal. The same setup works in the Codex CLI and the Codex IDE extension. Sign in with Didit. No API key.

Read the docs
$ codex mcp add didit --url https://mcp.didit.me/mcp
$ codex mcp login didit

The first command starts the sign-in. Run the second only if you cancel it.

Install

Two ways to add it

Run one command, or add three lines to config.toml. Both end with Log in with Didit.

1

Add the server

Codex writes it to ~/.codex/config.toml. Run the sign-in command next to open your browser.

codex mcp add didit --url https://mcp.didit.me/mcp codex mcp login didit
2

Log in with Didit

The browser shows Codex wants to access your Didit account. Choose the organizations, review the permissions and click Approve.

3

Confirm

Run codex mcp list. The didit row shows status enabled and auth OAuth.

If you cancel the sign-inRun codex mcp login didit later.
On a remote machineRun the login command, open the printed URL on your own computer and keep the terminal running. Forward the local callback port if needed.
To sign outcodex mcp logout didit
# Add the server.codex mcp add didit --url https://mcp.didit.me/mcp# Sign in.codex mcp login didit# Confirm. The didit row shows status enabled and auth OAuth.codex mcp list

The same configuration serves the Codex CLI and the Codex IDE extension. If you edit config.toml yourself, run codex mcp login didit to sign in. To keep a session focused, list the tools you need in enabled_tools.

Check

Check the connection

After you sign in, paste one prompt. A correct setup answers with your organizations and applications.

Paste this into Codex
Use the Didit MCP server to call didit_context_get and list my organizations and applications.
  • The agent calls didit_context_get and lists your organizations with their applications.
  • Each application shows its mode, live or sandbox. Build and test in a sandbox application. Checks there are free.
  • No Didit tools? The sign-in did not finish. Connect again and complete Log in with Didit.
  • Name the server. Codex loads MCP tools on demand, so name the Didit server or the tool in your first prompt.
Codex · Didit MCPSample conversation. Sample data.
Call didit_context_get and list my organizations and applications.
didit_context_getRunsRead
You have 1 organization, Acme Ltd, with 2 applications.
Acme onboardinglive
Acme onboarding testsandbox
The expected resultRead only. Nothing changes.

Examples

Things to ask

Four prompts from the docs. Start each one with the server name.

Create a KYC workflow with an ID scan and liveness, then give me a verification link.

didit_workflow_create, then didit_session_create

Register a webhook destination for status updates on my endpoint.

didit_webhook_create

Back-test a transaction monitoring rule that flags more than 3 transfers over the configured threshold in an hour against the last 90 days, then create it in test mode.

didit_transaction_rule_backtest, then didit_transaction_rule_create

What's my credit balance and conversion rate this month?

didit_org_get_balance, then didit_analytics
Read the docsExample prompts

Questions

Questions about Didit in Codex

How do I add Didit to Codex?
Run codex mcp add didit --url https://mcp.didit.me/mcp. Codex opens Log in with Didit in your browser. If you cancel it, run codex mcp login didit.
Does it work in the Codex IDE extension?
Yes. The same configuration in ~/.codex/config.toml serves the Codex CLI and the Codex IDE extension.
Do I need an API key in the Codex config?
No. The server uses OAuth 2.1 with PKCE and acts as you, only in the organizations you approve at sign-in. Codex stores the sign-in for you.
Why does Codex not call the Didit tools?
Codex loads MCP tools on demand. Name the Didit server or the tool in your first prompt.
How do I sign out?
Run codex mcp logout didit.
How do I confirm Codex connected to Didit?
Run codex mcp list. The didit row shows status enabled and auth OAuth when the setup worked. Then start Codex and ask it to use the didit MCP server to call didit_context_get and list your organizations and applications, naming the server so Codex loads its tools.
Can I add Didit by editing the Codex config file myself?
Yes. Add a [mcp_servers.didit] table to ~/.codex/config.toml with url = "https://mcp.didit.me/mcp", which is the whole entry. Then run codex mcp login didit to sign in. Codex identifies itself with a Client ID Metadata Document, so there is no client ID or secret to configure.
Can I limit which Didit tools Codex uses?
Yes. Add enabled_tools to the [mcp_servers.didit] entry in config.toml with a list of tool names, for example didit_context_get, didit_session_create, didit_session_list and didit_session_get_decision. disabled_tools does the reverse. Tool names are listed in the Didit MCP tools reference.
What does Not logged in mean in codex mcp list?
It means Codex has the Didit server configured but no completed sign-in. Run codex mcp login didit and finish Log in with Didit in the browser. The terminal prints a success message, and codex mcp list then shows the didit row with auth OAuth.
How do I sign in to Didit from Codex on a remote machine with no browser?
Run codex mcp login didit, open the printed URL on your own computer and keep the terminal running until the sign-in completes. The callback goes to a local port on the machine running Codex, so forward that port if needed.
Can I use Didit toolsets or read-only mode in Codex?
Yes. Add the parameters to the URL when you add the server, for example codex mcp add didit --url "https://mcp.didit.me/mcp?toolsets=core". Add read_only=true for a connection where the server refuses every call that would create, change or delete something.
Why does a Didit tool answer missing_scope in Codex?
Your role in that Didit organization lacks the permission the tool needs, and the error names it. Ask an owner or admin to grant it. The MCP server acts as you and never grants more than your console role allows, so the rest of the connection still works.
Can Codex write a full Didit integration in my repository?
Yes. Didit's MCP server is built for running Didit, and the Didit Integration Prompt is built for writing the integration: a backend route, the frontend SDK (Software Development Kit), a webhook handler and a database schema. Hand Codex the prompt and it calls MCP tools to create the workflow, session and webhook live.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Trusted by EU regulators

    After a year of supervised testing, EU financial regulators confirmed that verifying with Didit is safer than checking an ID in person.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Start

Add Didit to Codex

One command, one sign-in. Then ask in plain words.

Open the MCP server guide

Free sandbox. Credit applies to work-email sign-ups.