MCP/AI Integration
Wallet Server is ideal for AI agents that need to act as a holder:
Generate/import DIDs
Keep a store of credentials
Run claim/presentation flows from QR content
With a Model Context Protocol (MCP) server or similar agent framework, you can expose Wallet Server operations as tools and drive them via natural language.
Typical Agent Tasks
“Create a testnet DID and export its document.”
“Import this credential and confirm the issuer claim flow.”
“Scan the verifier QR and present the matching employee credential.”
Setup Notes for Agents
Use
Authorization: Bearer <JWT>with a token whosesubidentifies the agent/userKeep tokens short‑lived; refresh as needed
Point agents to Swagger
/api-docsor/swagger.jsonto discover operations
Local Development
If ENABLE_DEBUG_SIGN_ENDPOINT=true:
POST /auth/debug/keypair→ create compatible keys and optionally persist to.envPOST /auth/debug/sign→ mint a JWT for quick testing
Disable debug endpoints in any shared or production environment.
Last updated