Verify a Credential
Tutorial: Verify a Credential using MCP Toolkit
Step 1: Create Connection between Holder and Claude Desktop.
Step 2: Ask Claude to issue a Proof Request

Step 3: Holder checks Request and sends Proof
Query parameters
connection_idstringOptionalExample:
Connection identifier
{"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}limitintegerOptionalExample:
Number of results to return
{"value":50}offsetintegerOptionalExample:
Offset for pagination
{"value":0}rolestring · enumOptionalPossible values:
Role assigned in presentation exchange
statestring · enumOptionalPossible values:
Presentation exchange state
thread_idstringOptionalExample:
Thread identifier
{"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}Responses
200Success
application/json
get
/present-proof-2.0/records200Success
Path parameters
pres_ex_idstringRequiredExample:
Presentation exchange identifier
{"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}Query parameters
countstringOptionalExample:
Maximum number to retrieve
{"value":"1"}Pattern: ^[1-9][0-9]*$extra_querystringOptionalExample:
(JSON) object mapping referents to extra WQL queries
{"value":"{\"0_drink_uuid\": {\"attr::drink::value\": \"martini\"}}"}Pattern: ^{\s*".*?"\s*:\s*{.*?}\s*(,\s*".*?"\s*:\s*{.*?}\s*)*\s*}$referentstringOptionalExample:
Proof request referents of interest, comma-separated
{"value":"1_name_uuid,2_score_uuid"}startstringOptionalExample:
Start index
{"value":"0"}Pattern: ^[0-9]*$Responses
200Success
application/json
get
/present-proof-2.0/records/{pres_ex_id}/credentials200Success
Path parameters
pres_ex_idstringRequiredExample:
Presentation exchange identifier
{"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}Body
auto_removebooleanOptional
Whether to remove the presentation exchange record on completion (overrides --preserve-exchange-records configuration setting)
tracebooleanOptional
Record trace information, based on agent configuration
Responses
200Success
application/json
post
/present-proof-2.0/records/{pres_ex_id}/send-presentation200Success
Step 4: Ask Claude to validate the Presentation Response
Last updated
Was this helpful?