MCP server · Headless
Run the Didit MCP server with no browser
A CI job or a backend agent has no one to sign in. Connect it with an application API key, or sign in once with a device code.
https://mcp.didit.me/mcpSend the key in the x-api-key header. It stays in your environment.
Options
Four ways to connect a headless agent
Pick the one that matches where the agent runs.
x-api-key header. The agent acts as that one application.DIDIT_ACCESS_TOKEN. Supply the token securely through the environment./mcp and /healthz on port 3000. First copy .env.example to .env, set the public MCP_RESOURCE_URI and supply token-introspection credentials from your secret manager.CI is the automated pipeline that builds and tests your code. Headless means the agent's machine has no browser. Device code still needs a person to approve the sign-in from another device. A stdio server is a local program your client starts.
{ "mcpServers": { "didit": { "type": "http", "url": "https://mcp.didit.me/mcp", "headers": { "x-api-key": "${DIDIT_API_KEY}" } } }}
npx -y @didit-protocol/mcp-server loginnpx -y @didit-protocol/mcp-server
npx -y @didit-protocol/mcp-servergit clone https://github.com/didit-protocol/mcp.git && cd mcpdocker build -t didit-mcp . && docker run -p 3000:3000 --env-file .env didit-mcp
The device-code and self-hosted stdio options run the local tool catalog, not every hosted capability. Travel Rule, marketplace, fraud networks and transaction SDK token tools are omitted; compliance tools are limited to building a workflow.
API key
What an API key connection is
It acts as one application, with the access of that key.
| Signed-in connection | API key connection | |
|---|---|---|
Acts as | You, with your console role | One application |
Reaches | Every organization and application you approved | The application the key belongs to |
Access | Your role, within the scopes you approved | The access of the key, full or scoped |
Needs a person | Once, to sign in | No interactive sign-in |
Ends | When you disconnect the app | When you revoke or rotate the key |
- Sandbox first. Connect with the key of a sandbox application. Every check is simulated and nothing is billed.
- Use a scoped key. Give the agent a scoped key with an expiry, not a full-access key.
- Toolsets still work. Add
?toolsets=core&read_only=trueto the URL for a short, read-only list. - No IP limit. A key limited to specific IP addresses is refused. The Didit API would see the address of the MCP server, not yours.
- A person does four things. Members, roles and API keys, the plan and billing, the audit log and download links are neither listed nor run on an API key connection. Do them in the Business Console, or through a connection that signs in with Didit.
curl -s https://mcp.didit.me/mcp \ -H "x-api-key: $DIDIT_API_KEY" \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call", "params":{"name":"didit_context_get","arguments":{}}}'
didit_context_get names the application, says if it is live or sandbox and reports connection.type: "api_key".
Questions
Questions about headless MCP
Can the Didit MCP server run in CI?
Which key should a CI agent use?
What can an API key connection not do?
How do I sign in on a machine with no browser?
How do I configure Claude Code to connect with a Didit API key?
How does my own agent send the API key?
Which application does an API key connection act on?
Why is my IP-restricted API key refused by the MCP server?
What do 401 and 403 errors mean on an API key connection?
How do I revoke an agent's API key access?
Can a headless connection use toolsets and read-only mode?
How do I reuse a device code sign-in in later CI jobs?
How long is a Didit device code valid?
Can an agent create a Didit account with no browser?
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.
Your obligations · 3 regions
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.
- 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.
Didit Academy
Learn Didit, one short video at a time
Start
Connect your CI agent
Create a scoped sandbox key, set DIDIT_API_KEY and add the entry.
Free sandbox. Credit applies to work-email sign-ups.
