> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Truvera in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/truvera
Last updated: 2026-11-24

Share Truvera with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 23 tools (14 read-only).

---

To give your team Truvera in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Truvera integration in a Metorial portal, and each person connects with an API key. Agents can issue, verify, manage, and revoke W3C-compliant verifiable credentials using decentralized identifiers (DIDs). The integration has 23 tools, 14 read-only, 8 write and 1 destructive, plus 5 triggers.

**What you will learn**

- How an admin shares Truvera in a portal and how each person connects
- What Truvera asks for when you connect, and where to find it
- How to keep the 14 read-only tools and reject the other 9

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API key from Truvera for each person, or one for a shared connection
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in method

| Method | Type | What a person provides |
| --- | --- | --- |
| **API Key** | API token | `token` |

### API Key

To connect, a person enters:

- `token`: Truvera API key. Obtain from the Truvera Workspace.

### Setup settings

Setup also asks for:

- `environment` (optional): API environment. Production uses mainnet DIDs; Test uses testnet DIDs and cannot be used in production. One of "production", "test".

## Admin: share Truvera in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Truvera. For how members connect, choose **Each person connects** so everyone enters their own API key, or **Shared connection** to enter one API key for everyone.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Truvera.

4. **Choose who gets it**

   Add the access groups that should see Truvera. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user Truvera integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search truvera
```

## Employee: connect Truvera

### In the portal

1. **Open Truvera in the catalog**

   Sign in to your portal and open Truvera. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your API key (token).

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search truvera
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Truvera connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list truvera
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 14 read-only tools, such as `get_did` and `get_job`, and lose the 8 write tools, such as `create_did` or `create_schema`, and the destructive tool `delete_did`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list truvera
metorial tools <integration-id>
metorial call <integration-id> list_dids -d '{}'
```

`metorial tools` lists the 23 tools, minus any you rejected. `list_dids` takes no input. It retrieves all decentralized identifiers (DIDs) controlled by the authenticated account.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (14)

- `list_proof_templates`: Retrieve all proof verification templates.
- `list_schemas`: Retrieve all credential schemas created by the authenticated account.
- `get_job`: Check the status of an asynchronous blockchain operation. Needs `jobId`.
- `verify_credential`: Verify a W3C Verifiable Credential or Verifiable Presentation directly. Needs `credential`.
- `list_credentials`: Retrieve metadata for all issued credentials.
- `get_did`: Resolve a decentralized identifier (DID) into its full DID document, including public keys, authentication methods, and service endpoints. Needs `did`.
- `list_registries`: Retrieve all revocation registries owned by the authenticated account.
- `get_proof_request`: Retrieve the status and details of a proof request. Needs `proofRequestId`.
- `list_profiles`: Retrieve all organization profiles associated with your DIDs.
- `list_dids`: Retrieve all decentralized identifiers (DIDs) controlled by the authenticated account.
- `get_credential`: Retrieve a specific credential by ID. Needs `credentialId`.
- `list_proof_requests`: List proof requests with IDs, verification status, expiry status, and holder response URLs.
- `get_schema`: Retrieve a credential schema and its metadata by ID.
- `get_current_user`: Retrieve the user profile associated with the authenticated Truvera account.

### Write tools (8)

- `create_did`: Create a new decentralized identifier (DID) on the blockchain.
- `create_schema`: Create a new credential schema on the blockchain. Needs `schemaName` and `properties`.
- `create_registry`: Create an on-chain revocation registry for managing credential revocation. Needs `policyDids`.
- `issue_credential`: Create and issue a W3C-compliant verifiable credential. Needs `issuerDid` and `subject`.
- `create_proof_request`: Generate a proof request for credential verification. Needs `requestName`.
- `manage_profile`: Create or update an organization profile associated with a DID. Needs `did`.
- `create_proof_template`: Create a reusable verification template that defines which credentials, schemas, attributes, and conditions are required for proof requests. Needs `templateName` and `inputDescriptors`.
- `revoke_credential`: Revoke or unrevoke one or more credentials in a revocation registry. Needs `registryId` and `credentialIds`.

### Destructive tools (1)

- `delete_did`: Permanently delete a decentralized identifier (DID) and its associated keypair. Needs `did`.

## Triggers

Truvera has 5 triggers, which fire on events in Truvera:

- `proof_events`: Triggers when a verifiable presentation (proof) is submitted by a holder.
- `registry_events`: Triggers when a revocation registry is created or deleted.
- `did_events`: Triggers when a DID is created, updated (key or controller), or deleted.
- `credential_events`: Triggers when a credential is created, issued, revoked, or unrevoked.
- `schema_events`: Triggers when a credential schema is created.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Truvera there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Truvera on metorial.com](https://metorial.com/integrations/truvera): the integration overview