Connect Didit to Gemini Agents Over MCP
The Didit MCP server is free on every plan and offers three routes: hosted Streamable HTTP with OAuth, hosted Streamable HTTP with an application API key, and self-hosted stdio. Completed checks are paid from credit.

Contents
In this guide
Jump to the part you need.
Gemini-based agents reach Didit through the hosted MCP server at https://mcp.didit.me/mcp, free on every plan, with completed checks paid from credit. A Gemini client needs compatible MCP transport and authentication, so three routes exist: hosted Streamable HTTP with OAuth for interactive use, hosted Streamable HTTP with an application API key for unattended use, and self-hosted stdio for a local client.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Item | What it is |
|---|---|
| Server endpoint | https://mcp.didit.me/mcp, stateless Streamable HTTP, one POST per request, no session affinity |
| Price of the connector | Free on every plan, including Free |
| What you pay for | The checks the agent completes: full KYC $0.33, AML screening $0.20, wallet screening $0.15, and KYB registry retrieval from $2.00 per company, with linked KYC and person AML billed separately |
| Interactive route | Hosted Streamable HTTP with OAuth 2.1 and PKCE, Log in with Didit, no API key in the config |
| Unattended route | Hosted Streamable HTTP with an application API key, acts as one application, 199 tools |
| Local route | Self-hosted stdio from the MIT source, device code sign-in or a user Bearer token |
| Tools | 233 for a signed-in person, 199 on an application API key, 194 in the open-source build. The number listed can vary with permissions, toolsets and read-only mode |
| Sandbox | Sandbox testing is free on every plan |
| Health check | GET https://mcp.didit.me/healthz |
| Best for | Teams already running Gemini agents that need KYC, KYB, AML, transaction monitoring or wallet screening inside the conversation |
What a Gemini agent connects to
The Didit MCP server is one endpoint in front of the Didit platform. Once connected, an agent runs KYC, KYB, AML screening, transaction monitoring, wallet screening and full workspace operations (workflows, sessions, lists, webhooks, billing) in plain language. The hosted catalog is 233 tools for a signed-in person: 113 read, 85 write and 35 destructive. Our docs publish per-client setup for Claude, ChatGPT, Cursor, VS Code, Codex, Windsurf and Zed. Our docs have no dedicated Gemini setup page. Choose the route that matches the transport and authentication your MCP client supports.
Also use Claude? Add Didit to Claude.
Route 1: hosted Streamable HTTP with OAuth, for interactive use. The server is stateless Streamable HTTP: one POST per request, no session affinity. The Didit Business Console is the authorization server, so a person clicks Log in with Didit in the browser, approves the organizations and the permissions, and the connection acts with your role's permissions in the organizations you approve at sign-in.
Route 2: hosted Streamable HTTP with an application API key, for unattended use. An agent that runs with no person present, such as a scheduled job, a CI pipeline or a backend worker, connects to the same URL with an application API key. That connection acts as one application and lists 199 tools, because the tools that act on the signed-in person, such as billing, compliance and account settings, are not listed. The tools take neither an organization id nor an application id, because the key already is one application. The documented steps are in Connect with an API key.
Route 3: self-hosted stdio, for a local client. If the client only launches local servers over stdio, run the server yourself from the MIT-licensed source and point the client's stdio entry at your local build. It still authenticates the user, with a device code sign-in or a user Bearer token for headless stdio runs, and the open-source build lists 194 tools. The self-hosting steps are in Installation.

Prerequisites
| Requirement | What you need | Where it comes from |
|---|---|---|
| Plan | Any plan. The MCP server line in the price book is Free on Free, Growth, Scale and Enterprise, and sandbox testing is free on every plan | Pricing and docs pricing |
| Client | A client that supports one of these combinations: Streamable HTTP with browser OAuth, Streamable HTTP with an application API key, or local stdio | Installation |
| Account | A Didit organization and at least one application, in sandbox mode for the first tests | business.didit.me |
| Role permissions | The permission each tool needs. A connection never grants more than your role holds | Authentication, roles and permissions |
| Unattended agents | An application API key instead of a person sign-in | Authentication, connect with an API key |
| Agent scope | The toolset list and the read-only flag you want, so the agent loads what it needs | Toolsets |
Nothing here needs a sales call. The Free plan connects and tests in the sandbox, because sandbox testing is free on every plan. We serve 4,000+ companies.
Route 1: connect an interactive client over OAuth in 7 steps
- Pick the organization and application. Sign in at
business.didit.me. The console is the authorization server for the MCP connection, so the account you sign in with is the account the agent borrows. Use or create a sandbox application for the first end-to-end test. - Add the server to your client. Add a server named
didit, using your client's documented Streamable HTTP settings, and enterhttps://mcp.didit.me/mcpas the server URL. Keep any servers you already have in place. - Complete Log in with Didit. On first use the client opens a browser, you approve the organizations and the permissions, and the connection is live. There is no API key to copy and no secret in the config file.
- Check that the client sees the server. Ask the agent to call
didit_context_getand list your organizations and applications.GET https://mcp.didit.me/healthzchecks server availability. A successfuldidit_context_getcall in your Gemini client verifies the connection and shows which applications the agent can access. - Keep the tool list small if your client caps tools. The whole catalog costs roughly 50,000 to 115,000 tokens on every request, depending on the tokenizer. Connect with
https://mcp.didit.me/mcp?toolsets=coreto list about 30 tools, or add the sets you use:https://mcp.didit.me/mcp?toolsets=core,workflows. - Start read-only, then widen. Connect with
https://mcp.didit.me/mcp?read_only=truewhile the agent explores the account. Every call that would create, change or delete something is refused on the server, so the guarantee holds even if the client remembers an older tool list. Connect without the flag when you want the agent to create sessions or workflows. - Put it to work on a real request. Ask for a sandbox session, then read it back. The sandbox section below has copy-ready prompts.
Keep the client's tool-call confirmation on, especially for write and destructive actions. The MCP is read and write: the agent can create sessions, publish workflows, update statuses and add entries to your lists on your behalf.
Route 2: connect an unattended agent with an application API key
This is the alternative to the OAuth sign-in in step 3 above, for an agent that runs with no person present. The documented instructions are in Connect with an API key.
- In the console, open the application the agent should act as and create an application API key for it.
- Add the server to the agent's client the same way as Route 1, named
diditwith URLhttps://mcp.didit.me/mcp, and supply the key the way that client documents. - Verify the route: ask the agent to call
didit_context_get. It should list that one application only, which is the expected application scope for an API key connection. - Treat the key as a credential. Rotate it when the agent changes owner or retires, and review the audit log and the affected records after the agent runs.
Route 3: connect a local stdio client
- Clone the MIT-licensed source and follow the self-hosting steps in Installation.
- Add a stdio entry in your client pointed at your local build instead of the hosted URL.
- Sign in with a device code on a machine with no browser, or set a user Bearer token for a headless stdio run.
- Call
didit_context_getand verify that the response includes the organization and application you intend to use. The number of tools listed can vary with permissions, toolsets and read-only mode.
Controlling how much the agent loads
Toolsets are opt-in. Naming toolsets lists exactly those, plus didit_context_get, which every connection gets. A toolset decides what is listed, not what you may run: a tool outside the selection still runs when the model calls it by name, with the same role permissions. A name the server does not know is ignored, and the server tells the model which name it ignored and which ones are valid.
When only part of the catalog is listed, the server adds search, describe and read helpers: didit_tool_search finds a tool by what you want to do, didit_tool_describe returns the full description and input schema of up to five tools, and didit_tool_call_read runs a read-only tool outside the list. It also adds the write helper, didit_tool_call_write, on connections that allow writes, and it is not offered on a read-only connection. Use search when the agent needs to find a tool or its schema before it can call it.
With neither toolsets nor read_only set, the server lists every tool your role may use. Sending the full catalog costs roughly 50,000 to 115,000 tokens per request, depending on the model’s tokenizer. Connect with ?toolsets=core and it sends about 30 tools, around a tenth of that. Add ?read_only=true and the server lists only the tools that read and refuses every call that would create, change or delete something, so the restriction is enforced on the server rather than by the prompt.
What the agent can do, and where you see it
| What you ask the agent | Tool and type | What comes back | Where you see it |
|---|---|---|---|
| Which organizations and applications can you reach? | didit_context_get, read, on every connection | Every organization and application you can access, nested, plus the default org and app when there is only one | The organization and application switcher in the Business Console |
Create a KYC session for user_8842 | didit_session_create, write, scope didit:verification, permission create:sessions | The session record, its status and its verification link; vendor_data carries your own user id | Session detail, with the panels the workflow configures (ID document, liveness, phone, email, proof of address) |
| Show the last 5 in-review sessions across all my apps | didit_session_search, read, permission list:sessions | Matching sessions, newest first, plus a count total. Set limit to 5 for this request and use offset to read more | The sessions list |
Which app is user_8842 in, and what is their status? | didit_vendor_user_search, read, permission list:users | Matching users, each tagged with its organization and application | Users in the console |
| Screen this wallet and return the result for my review | Tools in the transactions toolset | The screening result. Wallet screening costs $0.15 per screening at list price. Adding the wallet to a blocklist requires a separate call. | The wallet screening result |
| Add this wallet to the blocklist once I approve | Tools in the lists toolset | A blocklist entry after the agent makes a separate list update. Keep tool-call confirmation enabled in your client and review that update before confirming it. | The blocklist |
| Register a webhook for status updates | Tools in the webhooks toolset. For a signed-in user with access to multiple organizations or applications, supply the target application_id. | The destination record; deliveries are readable through the session tools | Webhook deliveries recorded against the session |
| What is my credit balance and conversion rate this month? | billing tools and didit_analytics | Plan, balance and receipts; request breakdown and conversion for a date window | Billing and analytics in the console |
On a signed-in user connection, you can use organization_id and application_id to pin scope. An application API key already identifies the application. With one organization and one application they are resolved for you; with several, the search tools and didit_analytics span all of them. For a signed-in user with access to multiple organizations or applications, pass the target application_id to tools that work inside one application, such as webhook, questionnaire, list, branding and transaction rule tools. Use didit_context_get to find the application ID. Lists that can be long come back one page at a time, 20 workflows and 50 of most other things, with limit and offset so the agent can read on.

Test with sandbox data before production
- Switch to a sandbox application, or create one. Sandbox is a per-application mode, and while a session runs there every external provider is mocked, so no third party is called and your balance is not touched. Active liveness still runs the real capture; only the result is simulated by the scenario.
- Ask the agent to create a session in that named sandbox application. Save the verification link from the creation response. Look up the session by ID, check its status, and inspect any recorded webhook deliveries. The session tools include a sandbox simulate action, so you can drive a pass, a failure and a review outcome without touching a real document.
- Confirm the same record in the console before you move to a live application. Custom domains are live-only, so do not expect a branded domain in the sandbox.
Three prompts you can paste into the agent, in order:
List my organizations and applications with didit_context_get, then tell me which one is the sandbox application before we continue.
Create one KYC session in the sandbox application for vendor_data sandbox_agent_test_01. Show me the request first and wait for my approval before you run it.
Read the session with id <SESSION_ID> back from the sandbox application and show its status and its webhook deliveries.
Expected success looks like this: didit_context_get lists your organization and the sandbox application, the created session returns an id, a verification link and a status, the lookup by that ID returns the same session and its status, and the new session appears in the console, where configured checks show results after they run. A read-only connection answers the reads and refuses the create with a server-side error, which is the correct result for that configuration.

Errors you will hit and the fix
| Symptom | Possible cause | Fix |
|---|---|---|
A tool answers missing_scope and names a permission | Your role in that organization lacks the permission the tool needs | Ask an organization admin for a role that holds it, or run the agent under an account that has it. A toolset never grants a permission |
| Sign-in loops or fails | The browser may lack an active Didit Console session | Try logging in at business.didit.me in your default browser first, then connect again |
| The agent says it has no Didit tools | The server is disabled in the client, or sign-in never finished | Check the MCP settings in the client and the connection state, then retry the sign-in |
| The client refuses the connection or truncates the tool list | 233 tools exceed the client's tool cap or the context you want to spend | Connect with ?toolsets=core and reach the rest through didit_tool_search |
| A write is refused on a connection that worked before | The URL still carries read_only=true | Connect without the flag |
| A delete or an Investigator decision will not run | The server requires confirm: true in the arguments for certain calls | Keep client tool-call confirmation enabled. The server also requires confirm: true for didit_session_delete, didit_session_batch_delete and the listed Investigator decision tools. The same argument is required when filing a SAR through didit_case_manage or setting delete_all on didit_vendor_user_delete or didit_vendor_business_delete. |
Requests fail with HTTP 429. If the underlying Didit API returns a middleware HTTP 429, respect Retry-After when present, then retry with jitter | A loop exceeded a rate scope. Session creation uses a 600-per-minute endpoint limit and a 300-per-minute limit shared with other generic writes. Check X-RateLimit-Scope when it is present to identify the limit you hit. | Respect Retry-After when present, add jitter, and stop after about five attempts, the ceiling our rate-limit documentation uses as an example, then alert a person |
Disconnect a Gemini agent
- Remove or disable Didit in the client: remove the
diditentry from the client config, or disable the server in the client's MCP settings. - Sign out of that connection if the client offers a sign-out control for it.
- Open a fresh session in the client and check that Didit is no longer listed. That test verifies local removal from the client, and nothing more.
- If the agent connected with an application API key, manage the credential in the console: rotate the key, then confirm the old value no longer works. Authentication covers credential management.
- Find the records the agent created. Session search is the documented example: a reviewer searches the sessions the agent touched, opens the one they need, and reads the panels the workflow configured. The same search is what the agent used through
didit_session_search.

What Didit costs
We include the MCP server on every plan at no separate charge. Applicable plan fees and Didit usage charges still apply. Completed verification checks are paid from credit. Pricing also covers monitored transactions beyond the plan allowance and explains when retries or no-match database lookups are billable. Reads such as session search, analytics and balance reads create no charge.
Worked example on Growth, where Growth discounts full KYC by 4%. A Gemini agent runs 2,500 completed live checks in a month:
- List price: 2,500 x $0.33 = $825.00.
- Growth price: 2,500 x $0.3168 = $792.00.
- The month's $115.00 of plan credit pays the first $115.00, so top-up credit covers $792.00 - $115.00 = $677.00.
- Total Didit cost before tax: $99.00 for the monthly Growth plan + $677.00 drawn from top-up credit = $776.00.
The same 2,500 checks on Scale, where the discount is 10%: 2,500 x $0.297 = $742.50. The $350.00 of monthly credit pays the first $350.00, so top-up credit covers $392.50. Total Didit cost before tax: $299.00 for the monthly Scale plan + $392.50 drawn from top-up credit = $691.50.
AML screening and wallet screening are separate lines and are not part of either total. At Growth rates an AML screening is $0.192 per check and a wallet screening $0.144 per screening; at Scale rates they are $0.18 and $0.135.
Sources
- Didit MCP server overview
- Didit MCP tools reference
- Toolsets and read-only mode
- Installation, including self-hosting
- Authentication, roles and permissions
- MCP examples and end-to-end conversations
- MCP troubleshooting
- Didit's Cursor setup and troubleshooting guide
- Sandbox test data and scenarios
- API rate limiting and 429 backoff
- Didit pricing in the docs
- Didit pricing page and pricing as JSON
- Didit MCP server product page
- Didit integration prompt
- Didit MCP source on GitHub
- Model Context Protocol
Start in the sandbox: create an organization at business.didit.me, add a server named didit with the URL https://mcp.didit.me/mcp in your Gemini client, and ask the agent to call didit_context_get. Sandbox testing is free on every plan and no sales call is needed. If you are switching from another vendor, the guides on /switch/ cover the migration side by side.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

Questions
Frequently asked questions
Can a Gemini agent use Didit without an API key?
Yes, on the interactive route. The hosted server uses OAuth 2.1 with PKCE, so the user clicks Log in with Didit in the browser, approves the organizations and permissions, and the agent acts with your role's permissions in the organizations you approve at sign-in. No secret goes into the config file. An application API key is the unattended route, for an agent that runs with no person present.
Is the Didit MCP server free?
Yes. The MCP server is a Free line in our price book on every plan, including the Free plan. Completed checks are paid from credit, for example $0.33 for full KYC, and reads such as session search, analytics and balance reads create no charge.
Does Didit have a native Gemini extension or listing?
Our MCP documentation does not list a Gemini extension. The supported routes are the hosted server with OAuth for interactive use, the hosted server with an application API key for unattended use, and a self-hosted stdio build for a local client. For either hosted route, use https://mcp.didit.me/mcp. For stdio, configure your client to launch the local Didit MCP server.
What if my Gemini client only supports local stdio servers?
Self-host the server. The source is on GitHub under MIT, and the local build still authenticates the user, with a device code sign-in or a user Bearer token for headless stdio runs. Point the client's stdio entry at your local build instead of the hosted URL.
How many tools does the agent get?
The hosted server gives a signed-in user 233 tools: 113 read, 85 write and 35 destructive. A connection with an application API key lists 199, and the open-source build lists 194. The 17 Investigator tools only work once the Investigator is enabled for your organization.
How do I stop the agent changing data?
Connect with read_only=true on the URL. The server lists only tools that read and refuses every call that would create, change or delete something, for every call, so it holds even if the client remembers an older tool list. Keep the client's tool-call confirmation on as well, because the MCP is read and write by design.
Why does a tool say missing_scope?
Your organization role lacks the permission that tool needs, and the error names it. A toolset never grants a permission, and neither does signing in with a broader tool list. Ask an organization admin to give you a role that holds the permission, or run the agent under an account that already has it.
What does a sandbox test cost?
Nothing. Sandbox testing is free on every plan. Every external provider is mocked in the sandbox, so no third party is called and no credit is spent.
Can the agent build workflows and register webhooks?
Yes. The workflows toolset builds, edits, validates and publishes verification workflows, and the webhooks toolset registers destinations and alerts. Pair that with the one-prompt integration so the agent writes the backend route and webhook handler while it creates the workflow through MCP.
What happens when a Gemini agent loops and hits a rate limit?
If the underlying Didit API returns a middleware HTTP 429, respect Retry-After when present, then retry with jitter. Session creation has two default limits per rate-limit identifier: 600 requests per minute for the endpoint and 300 per minute shared with other generic writes. Transaction creation and event ingestion use a separate 600-per-minute ingestion limit. Our rate-limit documentation uses five attempts as the example ceiling, so stop there and surface the error to a person.
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.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- 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


