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

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

Share Bitwarden with your team in Claude, ChatGPT and Cursor through Metorial: organization API key sign-in, 21 tools (9 read-only).

---

To give your team Bitwarden in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Bitwarden integration in a Metorial portal, and each person connects with an organization API key. Agents can manage organization members, groups, collections, and policies in Bitwarden. The integration has 21 tools, 9 read-only, 8 write and 4 destructive, plus 2 triggers.

**What you will learn**

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

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An organization API key from Bitwarden 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 |
| --- | --- | --- |
| **Organization API Key** | Custom credentials | `clientId`, `clientSecret` and `identityUrl` |

### Organization API Key

To connect, a person enters these values:

- `clientId`: Organization client ID (format: organization.xxxxx)
- `clientSecret`: Organization client secret
- `identityUrl` (optional): Bitwarden Identity server URL One of "https://identity.bitwarden.com", "https://identity.bitwarden.eu".

### Setup settings

Setup also asks for:

- `serverUrl` (optional): Bitwarden API server URL. Use the US or EU cloud endpoint. One of "https://api.bitwarden.com", "https://api.bitwarden.eu".

## Admin: share Bitwarden 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 Bitwarden. For how members connect, choose **Each person connects** so everyone enters their own organization API key, or **Shared connection** to enter one organization 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 Bitwarden.

4. **Choose who gets it**

   Add the access groups that should see Bitwarden. 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 Bitwarden integration. Once it exists, check which groups have it:

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

## Employee: connect Bitwarden

### In the portal

1. **Open Bitwarden in the catalog**

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

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your organization API key (clientId and clientSecret).

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 bitwarden
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Bitwarden 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 bitwarden
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 9 read-only tools, such as `get_group` and `get_member`, and lose the 8 write tools, such as `create_group` or `update_group`, and the 4 destructive tools, such as `delete_group` or `remove_member`.

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 bitwarden
metorial tools <integration-id>
metorial call <integration-id> list_groups -d '{}'
```

`metorial tools` lists the 21 tools, minus any you rejected. `list_groups` takes no input. It lists all groups in the Bitwarden organization.

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

## Tools

### Read-only tools (9)

- `query_events`: Query the organization's event logs.
- `get_group`: Retrieve detailed information about a specific group, including its collection assignments and member IDs. Needs `groupId`.
- `get_member`: Retrieve detailed information about a specific organization member, including their role, status, collection assignments, and group memberships. Needs `memberId`.
- `list_members`: List all members of the Bitwarden organization.
- `list_groups`: List all groups in the Bitwarden organization.
- `list_policies`: List all organization policies and their current state.
- `list_collections`: List all collections in the Bitwarden organization.
- `get_collection`: Read an exact organization collection and its group permissions.
- `get_policy`: Read one organization policy by its native policyType from list_policies.

### Write tools (8)

- `reinvite_member`: Resend the invitation email to an organization member who has not yet accepted. Needs `memberId`.
- `update_collection`: Update a collection's external ID and group assignments. Needs `collectionId`.
- `update_group`: Update a group's name and specified assignments. Needs `groupId`, `name` and `accessAll`.
- `update_policy`: Enable, disable, or configure an organization policy. Needs `policyId` and `enabled`.
- `revoke_restore_member`: Revoke or restore organization access for a member. Needs `memberId` and `action`.
- `update_member`: Update an organization member's role, collection assignments, external ID, and/or group memberships. Needs `memberId`, `type` and `accessAll`.
- `invite_member`: Invite a new member to the Bitwarden organization by email. Needs `email`.
- `create_group`: Create a new group in the Bitwarden organization. Needs `name`.

### Destructive tools (4)

- `delete_collection`: Permanently delete a collection from the Bitwarden organization. Needs `collectionId`.
- `delete_group`: Permanently delete a group from the Bitwarden organization. Needs `groupId`.
- `import_organization`: Bulk import members and groups from an external directory or system.
- `remove_member`: Remove a member from the Bitwarden organization. Needs `memberId`.

## Triggers

Bitwarden has 2 triggers, which fire on events in Bitwarden:

- `inbound_webhook`
- `organization_events`: Polls for new organization events including user actions, vault operations, collection changes, group changes, policy updates, and Secrets Manager operations.

## 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 Bitwarden there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Bitwarden on metorial.com](https://metorial.com/integrations/bitwarden): the integration overview