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