Skip to main content
Feedback

DigiLocker MCP connector

Updated 

DigiLocker is India's national digital document wallet platform that lets authorized partners access user-issued and self-uploaded files. The DigiLocker MCP connector allows AI agents to authenticate users, retrieve issued and self-uploaded documents, and pull files directly from their source URIs. It also supports managing access and refresh tokens and fetching user profile details to support secure, authorized document workflows.

Authentication type

  • API Key - Requires a static API key to be configured before the agent can connect to the service.

Uses

Use the DigiLocker MCP connector to perform the following actions:

  • Retrieve verified identity documents directly from a user's DigiLocker account
  • Automate KYC checks by pulling Aadhaar and other government-issued documents
  • Authenticate users securely using OAuth 2.0 authorization codes and device codes
  • Fetch self-uploaded documents for verification during onboarding workflows
  • Access issued certificates and licenses without manual document collection
  • Convert certificate data into XML format for downstream processing
  • Revoke access tokens to maintain compliance with data access policies
  • Retrieve user profile details to confirm identity before processing requests

Example prompts

Use the following example prompts to invoke DigiLocker MCP connector tools from your AI assistant or Boomi Connect workflow:

  • Pull the latest Aadhaar data for this user from DigiLocker.
  • Get the authorization code so I can connect this user's DigiLocker account.
  • Show me all self-uploaded documents in this user's DigiLocker.
  • Fetch the issued certificate for this employee from DigiLocker.
  • Retrieve the user's profile details from DigiLocker.
  • Generate a device code to link a new DigiLocker session.
  • Download the file linked to this DigiLocker document URI.
  • Revoke the access token for this DigiLocker connection.
  • Get an access token so I can retrieve documents from DigiLocker.
  • Convert this DigiLocker certificate into XML format for our records.

DigiLocker MCP connector tools

The DigiLocker MCP connector provides the following tools. Each tool maps to a specific action you can invoke from your AI agent or automation.

ToolDescription
Get Authorization Code idGet Authorization Code
Get Device Code idGet Device Code
Get File from URI idGet File from URI
Get List of Self Uploaded DocumentsGet List of Self Uploaded Documents
Get List of issued Documents Version1 idIssued Documents
Get List of Self Uploaded Documents idGet List of Self Uploaded Documents
Pull Document idPull Document
get token revocation idRevoke Token.
getaccesstoken idGet Access Token
Account Detail API idGet User Details
Get Certificate Data in XML Format from URI idGet Certificate Data in XML Format from URI
Get List of issued Documents idIssued Documents
Get e-Aadhaar Data in XML Format idGet e-Aadhaar Data in XML Format
On this Page