Set up Bitwarden in Metorial for Claude, ChatGPT and Cursor
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'll 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 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, 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 secretidentityUrl(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
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
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.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Bitwarden.
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:
Employee: connect Bitwarden
In the portal
Open Bitwarden in the catalog
Sign in to your portal and open Bitwarden. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your organization API key (clientId and clientSecret).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
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.
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.
Check it worked
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. NeedsgroupId.get_member: Retrieve detailed information about a specific organization member, including their role, status, collection assignments, and group memberships. NeedsmemberId.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. NeedsmemberId.update_collection: Update a collection's external ID and group assignments. NeedscollectionId.update_group: Update a group's name and specified assignments. NeedsgroupId,nameandaccessAll.update_policy: Enable, disable, or configure an organization policy. NeedspolicyIdandenabled.revoke_restore_member: Revoke or restore organization access for a member. NeedsmemberIdandaction.update_member: Update an organization member's role, collection assignments, external ID, and/or group memberships. NeedsmemberId,typeandaccessAll.invite_member: Invite a new member to the Bitwarden organization by email. Needsemail.create_group: Create a new group in the Bitwarden organization. Needsname.
Destructive tools (4)
delete_collection: Permanently delete a collection from the Bitwarden organization. NeedscollectionId.delete_group: Permanently delete a group from the Bitwarden organization. NeedsgroupId.import_organization: Bulk import members and groups from an external directory or system.remove_member: Remove a member from the Bitwarden organization. NeedsmemberId.
Triggers
Bitwarden has 2 triggers, which fire on events in Bitwarden:
inbound_webhookorganization_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, Cursor, Codex and ChatGPT: connect each client to your portal and use Bitwarden there
- Tool permissions: tool filters and what employees see
- Bitwarden on metorial.com: the integration overview