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

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

Share 1Password with your team in Claude, ChatGPT and Cursor through Metorial: service account token or connect server token sign-in, 16 tools (12 read-only).

---

To give your team 1Password in Claude, ChatGPT, Cursor and other AI clients, an admin shares the 1Password integration in a Metorial portal, and each person connects with a service account token. Agents can manage passwords, secrets, and sensitive credentials stored in encrypted vaults through 1Password Connect. The integration has 16 tools, 12 read-only, 3 write and 1 destructive, plus 4 triggers.

**What you will learn**

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

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- A service account token from 1Password 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 methods

| Method | Type | What a person provides |
| --- | --- | --- |
| **Service Account Token** (default) | API token | `token` |
| **Connect Server Token** | API token | `token` |
| **Events API Token** | API token | `token` |

The portal and `metorial setup` use **Service Account Token** unless someone picks another method.

### Service Account Token

To connect, a person enters:

- `token`: The 1Password service account token (starts with "ops_"). Created via 1Password.com or CLI.

### Connect Server Token

To connect, a person enters:

- `token`: The 1Password Connect server access token. Created when setting up a Connect server.

### Events API Token

To connect, a person enters:

- `token`: The 1Password Events API bearer token. Created under Integrations > Events Reporting in 1Password.com. Requires a 1Password Business account.

### Setup settings

Whichever method you pick, setup also asks for:

- `connectServerUrl` (optional): The URL of your self-hosted 1Password Connect server (e.g., http://localhost:8080). Required for item, vault, and file operations.
- `eventsApiRegion` (optional): The region where your 1Password Business account is hosted. Determines the Events API base URL. One of "us", "ca", "eu", "enterprise".

## Admin: share 1Password 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 1Password. Under **Auth Method**, keep **Service Account Token** or pick another. For how members connect, choose **Each person connects** so everyone enters their own service account token, or **Shared connection** to enter one service account token for everyone.

3. **Limit the tools**

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

4. **Choose who gets it**

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

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

## Employee: connect 1Password

### In the portal

1. **Open 1Password in the catalog**

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

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your service account token (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 1password
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. `metorial setup` uses **Service Account Token**. To connect with **Connect Server Token** instead, find its ID with `metorial catalog get <catalog-item-id>` and add `--auth-method <auth-method-id>`.

### Add it to your AI client

`metorial install` adds your 1Password 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 1password
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 12 read-only tools, such as `get_item` and `get_vault`, and lose the 3 write tools, such as `create_item` or `update_item`, and the destructive tool `delete_item`.

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 1password
metorial tools <integration-id>
metorial call <integration-id> get_server_health -d '{}'
```

`metorial tools` lists the 16 tools, minus any you rejected. `get_server_health` takes no input. It checks the health and status of the 1Password Connect server, including its version and the status of dependent services.

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

## Tools

### Read-only tools (12)

- `list_items`: List items stored in a specific vault. Needs `vaultId`.
- `get_file_content`: Download the content of a file attachment stored on a 1Password item. Needs `vaultId`, `itemId` and `fileId`.
- `list_vaults`: List all vaults accessible with the current credentials.
- `get_server_health`: Check the health and status of the 1Password Connect server, including its version and the status of dependent services.
- `search_items`: Search for items across one or all accessible vaults using title or tag filters.
- `get_item`: Retrieve the full details of a specific item from a vault, including all fields, sections, files, and metadata. Needs `vaultId` and `itemId`.
- `get_server_heartbeat`: Ping the 1Password Connect server heartbeat endpoint to verify that the server process is reachable.
- `list_api_activity`: List recent API activity recorded by the 1Password Connect server, including action, result, actor, and affected resource metadata.
- `get_file_metadata`: Retrieve metadata for a specific file attachment on a 1Password item without downloading the file content. Needs `vaultId`, `itemId` and `fileId`.
- `list_files`: List file attachments on a 1Password item. Needs `vaultId` and `itemId`.
- `get_vault`: Retrieve metadata for a specific 1Password vault accessible to the Connect token, including item count, vault type, and content versions. Needs `vaultId`.
- `get_prometheus_metrics`: Retrieve Prometheus metrics from the 1Password Connect server.

### Write tools (3)

- `generate_password`: Generate a secure password using 1Password's password generator. Needs `vaultId`.
- `create_item`: Create a new item in a 1Password vault. Needs `vaultId` and `category`.
- `update_item`: Update an existing item in a 1Password vault. Needs `vaultId` and `itemId`.

### Destructive tools (1)

- `delete_item`: Delete an item from a 1Password vault. Needs `vaultId` and `itemId`.

## Triggers

1Password has 4 triggers, which fire on events in 1Password:

- `inbound_webhook`
- `audit_events`: Monitors administrative actions performed by team members in a 1Password Business account.
- `item_usage_events`: Monitors when items in shared vaults are accessed, modified, or used.
- `sign_in_attempt_events`: Monitors sign-in attempts to the 1Password account.

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