Skip to main content

Cursor · Didit MCP

Add Didit to Cursor

One click, or three lines of mcp.json. Your agent builds workflows and reads results while you code. Sign in with Didit. No API key.

https://mcp.didit.me/mcp

No API key in the config. Log in with Didit.

Install

Three ways to add it

The install link, a file or one command. Each one ends with Log in with Didit.

1

Click Add to Cursor

Your browser asks to open Cursor. Allow it.

2

Confirm the install

Cursor shows the server didit with the URL https://mcp.didit.me/mcp.

3

Log in with Didit

When Cursor lists didit as needing sign-in, click to connect and approve the permissions in the browser.

{  "mcpServers": {    "didit": {      "url": "https://mcp.didit.me/mcp"    }  }}

Put mcp.json in ~/.cursor/ for every project, or in .cursor/ for one project. Keep any servers you already have inside mcpServers.

Check

Check the connection

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

Paste this into the Cursor agent chat
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.
Cursor agent · 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.

Build

Let the agent write the integration

Ask for a workflow and the code that uses it in one prompt. The agent calls Didit and edits your codebase.

Paste into the Cursor agent chat
Create a sandbox KYC workflow with ID verification and liveness, then add the Didit web SDK to this app using that workflow.

Then keep going

Register a webhook destination for session status updates pointing at my /api/didit/webhook route, and write the handler that verifies the signature.

Create a test session for user_123 and give me the verification link.

What the agent produces

  1. 1
    Create a session

    Your server sends a workflow ID. Didit returns a URL and a session token.

    POST/v3/session/
  2. 2
    Show the flow

    Open the URL on the web, or pass the token to a native SDK.

    URLverify.didit.me/session/...
  3. 3
    Get the webhook

    Didit posts the decision to your server. You can also fetch it.

    GET/v3/session/{sessionId}/decision/
Want the whole integration? The integration prompt covers the backend route, the SDK call and the webhook handler in one go. Open the integration prompt

The MCP tools create the workflow in your sandbox application. The agent then writes the web SDK call into your codebase. The code it writes calls the API with a key kept on your server in DIDIT_API_KEY.

Read the docsAgent skills

Questions

Questions about Didit in Cursor

How do I add Didit to Cursor?
Click Add to Cursor and confirm the install, or add the server to mcp.json. On first use Cursor opens Log in with Didit in your browser.
Where does the mcp.json file go?
Use ~/.cursor/mcp.json for every project, or .cursor/mcp.json inside one project.
Do I need an API key in the Cursor config?
No. The server uses OAuth 2.1 with PKCE and acts as you, only in the organizations you approve at sign-in.
Can Cursor write my Didit integration?
Yes. Ask the agent to create a sandbox workflow and add the Didit web SDK to your app. For the full integration, paste the integration prompt.
Can I add Didit to Cursor from the command line?
Yes. Run cursor --add-mcp with the JSON {"name":"didit","type":"http","url":"https://mcp.didit.me/mcp"} to add the server to your user profile. It prints Added MCP servers: didit. Open Cursor and complete Log in with Didit when it asks.
What if Cursor does not open from the Add to Cursor link?
Paste the JSON into mcp.json by hand instead: an mcpServers entry named didit with the url https://mcp.didit.me/mcp. If Cursor does not open, the install page also prints the configuration for you. Keep any servers you already have inside mcpServers.
Can I put the Add to Cursor link in my README?
Yes. Use https://cursor.com/install-mcp?name=didit&config=eyJ1cmwiOiJodHRwczovL21jcC5kaWRpdC5tZS9tY3AifQ%3D%3D behind your own button or in a README. It wraps Cursor's deeplink, and the config value is the base64 of {"url":"https://mcp.didit.me/mcp"}, so the install adds a server named didit.
Why does the Cursor agent say it has no Didit tools?
Check that the didit server is enabled in Cursor's MCP settings and that Log in with Didit finished. Restart the MCP host after editing its config. Then ask the agent to call didit_context_get and list your organizations and applications to confirm the connection.
What if the Didit sign-in loops or fails in Cursor?
Log in at business.didit.me in your default browser first, then connect again from Cursor. On first use Cursor registers itself with Didit through Dynamic Client Registration and opens the browser for Log in with Didit, so there is nothing to pre-provision.
Why does a Didit tool answer missing_scope in Cursor?
Your role in that Didit organization lacks the permission the tool needs. Ask an owner or admin to grant it. The server acts as you, only in the organizations you approved, and never with more than your console role allows, so other tools keep working.
Can Cursor connect to Didit with an API key for an unattended agent?
Yes. In ~/.cursor/mcp.json give the didit entry the url https://mcp.didit.me/mcp and a headers object whose x-api-key value references the DIDIT_API_KEY environment variable with Cursor's env: syntax. The connection then acts as the one application the key belongs to. Use a scoped key with an expiry, from a sandbox application while you build.
Can I load fewer Didit tools in Cursor?
Yes. Set the url in ~/.cursor/mcp.json to https://mcp.didit.me/mcp?toolsets=core for the short list most work starts from. Tools outside the list stay reachable through didit_tool_search, and adding read_only=true gives a connection that cannot change data.
Can I run the local Didit MCP server in Cursor?
Yes. Add a didit-local entry to Cursor's mcp.json with command npx, args -y and @didit-protocol/mcp-server, and DIDIT_ACCESS_TOKEN set to a user access token in env. The local server runs over stdio from the published npm package, with no clone needed, and acts as a Didit user.

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 Cursor

One click, one sign-in. Then ask your agent to build.

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