Skip to main content
Feedback

DigiLocker MCP connector

DigiLocker is India's authorized partner API platform for accessing and managing documents stored in users' DigiLocker accounts. The DigiLocker MCP connector allows AI agents to retrieve issued and self-uploaded documents, pull files from URIs, and manage user authorization with access tokens and device codes. It also supports obtaining user account details and revoking access tokens for security management.

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 government-issued documents from user DigiLocker accounts for identity verification workflows
  • Extract e-Aadhaar and certificate data in XML format for compliance and audit purposes
  • Access self-uploaded documents stored in DigiLocker to support document management processes
  • Authorize partner applications to securely connect with user DigiLocker accounts via OAuth 2.0
  • Automate document collection and validation workflows without manual file transfers
  • Revoke application access tokens to maintain security and user privacy controls
  • Pull issued documents directly from DigiLocker into business applications for real-time processing

Example prompts

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

  • Show me all the documents a user has uploaded to their DigiLocker account.
  • Extract the e-Aadhaar data from a user's DigiLocker in XML format.
  • Get the certificate information stored in DigiLocker for compliance verification.
  • Retrieve all government-issued documents available in a user's DigiLocker.
  • Authorize our application to access documents in the user's DigiLocker account.
  • Pull a specific document from DigiLocker using its file URI.
  • Revoke access to a user's DigiLocker documents for a partner application.
  • List all self-uploaded documents in the user's DigiLocker.
  • Get the user's details from their DigiLocker account.
  • Fetch the device code needed to start the DigiLocker authorization process.

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 idObtains an authorization code for initiating the DigiLocker authentication process.
Get Device Code idGenerates a device code for multi-device authentication workflows.
Get File from URI idRetrieves a file from DigiLocker using its unique resource identifier.
Get List of Self Uploaded DocumentsRetrieves a list of documents the user has manually uploaded to DigiLocker.
Get List of issued Documents Version1 idRetrieves documents issued by authorized organizations in version one format.
Get List of Self Uploaded Documents idRetrieves a list of documents the user has manually uploaded to DigiLocker.
Pull Document idDownloads a specified document from the user's DigiLocker account.
get token revocation idRevokes an active access token to terminate user authentication and authorization.
getaccesstoken idObtains an access token for authenticated requests to DigiLocker services.
Account Detail API idRetrieves personal account information and profile details of the authenticated user.
Get Certificate Data in XML Format from URI idExtracts certificate details in XML format from a specified DigiLocker resource.
Get List of issued Documents idRetrieves documents issued by authorized organizations to the user.
Get e-Aadhaar Data in XML Format idExtracts e-Aadhaar identity information in XML format from DigiLocker.
On this Page