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

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

Share Clientary with your team in Claude, ChatGPT and Cursor through Metorial: API token sign-in, 48 tools (14 read-only).

---

To give your team Clientary in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Clientary integration in a Metorial portal, and each person connects with an API token. Agents can manage clients, leads, invoices, estimates, projects, and expenses for small businesses and professional services firms. The integration has 48 tools, 14 read-only, 23 write and 11 destructive, plus 4 triggers.

**What you will learn**

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

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API token from Clientary 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 Token** | API token | `token` |

### API Token

To connect, a person enters:

- `token`: Your Clientary API token. Find it on your user profile page in Clientary (upper right corner) — click "Generate API Token".

### Setup settings

Setup also asks for:

- `subdomain`: Your Clientary subdomain. If your URL is https://mycompany.clientary.com, the subdomain is "mycompany".

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

3. **Limit the tools**

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

4. **Choose who gets it**

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

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

## Employee: connect Clientary

### In the portal

1. **Open Clientary in the catalog**

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

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your API 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 clientary
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Clientary 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 clientary
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_leads` and `get_tasks`, and lose the 23 write tools, such as `log_time` or `create_lead`, and the 11 destructive tools, such as `delete_lead` or `delete_task`.

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

`metorial tools` lists the 48 tools, minus any you rejected. `list_staff` takes no input. It retrieves staff members in the Clientary account.

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

## Tools

### Read-only tools (14)

- `get_estimates`: Retrieve a specific estimate by ID or list estimates with optional filtering by client or project.
- `get_invoices`: Retrieve a specific invoice by ID or list invoices with optional filtering by client or update date.
- `get_expenses`: Retrieve a specific expense by ID or list expenses.
- `get_projects`: Retrieve a specific project by ID or list projects.
- `get_recurring_schedules`: Retrieve a specific recurring schedule by ID or list all recurring schedules.
- `list_payments`: List all payments with pagination.
- `get_tasks`: Retrieve a specific task by ID or list tasks with optional project filtering.
- `list_contacts`: List contacts, optionally filtered by client.
- `list_staff`: Retrieve staff members in the Clientary account.
- `get_client`: Retrieve a specific client's details by ID, or list clients with optional filtering by update date.
- `get_leads`: Retrieve a specific lead by ID or list all leads with pagination and sorting.
- `get_time_entries`: List time entries for a project, or retrieve a single time entry by ID.
- `get_contact`: Retrieve a Clientary contact by ID, including its client and contact details.
- `list_payment_profiles`: List stored payment profiles for a client.

### Write tools (23)

- `create_expense`: Record a new expense in Clientary. Needs `amount`.
- `update_client`: Update an existing client's information in Clientary. Needs `clientId`.
- `send_estimate`: Send an estimate via email to one or more recipients. Needs `estimateId` and `recipients`.
- `update_task`: Update an existing task. Needs `taskId`.
- `create_client`: Create a new client record in Clientary. Needs `name`.
- `create_payment`: Apply a payment to an invoice. Needs `invoiceId`.
- `update_project`: Update an existing project's settings, rate, budget, or description. Needs `projectId`.
- `update_lead`: Update an existing lead's information in Clientary. Needs `leadId`.
- `update_contact`: Update an existing contact's information. Needs `contactId`.
- `create_estimate`: Create a new estimate (proposal/quote) in Clientary with line items and optional taxes. Needs `date` and `currencyCode`.
- `send_invoice`: Send an invoice via email to one or more recipients. Needs `invoiceId` and `recipients`.
- `create_invoice`: Create a new invoice in Clientary with line items and optional taxes. Needs `date`, `dueDate` and `currencyCode`.
- `create_task`: Create a new task in Clientary. Needs `title`.
- `create_recurring_schedule`: Create a recurring invoice schedule that automatically generates invoices at specified intervals. Needs `clientId`, `currencyCode`, `nextDate`, `duePeriod` and `timeInterval`.
- `update_estimate`: Update an existing estimate. Needs `estimateId`.
- `log_time`: Log a time entry against a project. Needs `projectId`, `title` and `hours`.
- `create_contact`: Create a new contact within a client organization. Needs `clientId`, `name` and `email`.
- `update_recurring_schedule`: Update an existing recurring schedule. Needs `scheduleId`.
- `update_expense`: Update an existing expense's amount, date, description, or associations. Needs `expenseId`.
- `create_lead`: Create a new lead (prospective client) in Clientary. Needs `name`.
- `update_invoice`: Update an existing invoice. Needs `invoiceId`.
- `create_project`: Create a new project in Clientary. Needs `name` and `rate`.
- `update_time_entry`: Update an existing time entry's details including hours, title, rate, or date. Needs `timeEntryId`.

### Destructive tools (11)

- `delete_task`: Permanently delete a task. Needs `taskId`.
- `delete_expense`: Permanently delete an expense record. Needs `expenseId`.
- `delete_contact`: Permanently delete a contact. Needs `contactId`.
- `delete_client`: Permanently delete a client from Clientary. **Warning:** This also deletes all associated projects, invoices, estimates, and contacts. Needs `clientId`.
- `delete_payment`: Permanently remove a payment from an invoice. Needs `invoiceId` and `paymentId`.
- `delete_estimate`: Permanently delete an estimate and all its line items. Needs `estimateId`.
- `delete_invoice`: Permanently delete an invoice from Clientary. Needs `invoiceId`.
- `delete_project`: Permanently delete a project. **Warning:** This also deletes all associated tasks, logged hours, comments, and notes. Needs `projectId`.
- `delete_recurring_schedule`: Permanently delete a recurring schedule. Needs `scheduleId`.
- `delete_time_entry`: Permanently delete a time entry. Needs `timeEntryId`.
- `delete_lead`: Permanently delete a lead. **Warning:** This also deletes all associated estimates and contacts. Needs `leadId`.

## Triggers

Clientary has 4 triggers, which fire on events in Clientary:

- `inbound_webhook`
- `new_or_updated_client`: Triggers when a client is created or updated in Clientary.
- `new_payment`: Triggers when a new payment is recorded in Clientary.
- `new_or_updated_invoice`: Triggers when an invoice is created or updated in Clientary.

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