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

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

Share Firmao with your team in Claude, ChatGPT and Cursor through Metorial: API credentials sign-in, 33 tools (16 read-only).

---

To give your team Firmao in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Firmao integration in a Metorial portal, and each person connects with API credentials. Agents can manage CRM and ERP operations for small and medium businesses. The integration has 33 tools, 16 read-only, 16 write and 1 destructive, plus 5 triggers.

**What you will learn**

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

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- API credentials from Firmao for each person, or one set 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 Credentials** | Custom credentials | `apiLogin` and `apiPassword` |

### API Credentials

To connect, a person enters these values:

- `apiLogin`: API login from Firmao API settings panel
- `apiPassword`: API password generated in Firmao API settings panel

### Setup settings

Setup also asks for:

- `organizationId`: Your Firmao organization identifier, visible in the URL after logging in (e.g., the part after system.firmao.net/)

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

3. **Limit the tools**

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

4. **Choose who gets it**

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

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

## Employee: connect Firmao

### In the portal

1. **Open Firmao in the catalog**

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

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your API credentials (apiLogin and apiPassword).

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

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Firmao 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 firmao
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 16 read-only tools, such as `list_tasks` and `list_emails`, and lose the 16 write tools, such as `create_task` or `update_task`, and the destructive tool `delete_customer`.

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

`metorial tools` lists the 33 tools, minus any you rejected. `list_tasks` takes no input. It searches and list tasks from Firmao.

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

## Tools

### Read-only tools (16)

- `list_warehouse_documents`: List warehouse/storage documents from Firmao.
- `list_emails`: Search and list emails stored in Firmao's mail system.
- `list_documents`: List files and documents stored in Firmao.
- `list_tasks`: Search and list tasks from Firmao.
- `list_contacts`: Search and list contact persons from Firmao.
- `get_customer`: Retrieve full details of a specific customer (counterparty) record by ID, including addresses, contact info, bank details, custom fields, and associated groups. Needs `customerId`.
- `list_sales_notes`: Search and list sales notes (notes, meetings, phone calls) from Firmao.
- `list_projects`: Search and list projects from Firmao.
- `list_sales_opportunities`: Search and list sales opportunities from Firmao's sales pipeline.
- `list_transactions`: Search and list financial transactions (invoices, receipts, pro formas, bills) from Firmao.
- `list_customers`: Search and list customer (counterparty) records from Firmao.
- `list_offers`: Search and list offers and orders from Firmao.
- `list_products`: Search and list products and services from Firmao.
- `list_time_entries`: Search and list work time entries from Firmao.
- `get_next_document_number`: Retrieve the next suggested document number from a Firmao numbering series.
- `list_numbering_series`: List document numbering series in Firmao, including IDs, names, and numbering templates.

### Write tools (16)

- `update_project`: Update an existing project in Firmao. Needs `projectId`.
- `update_product`: Update an existing product or service in Firmao. Needs `productId`.
- `create_offer`: Create a new offer or order document in Firmao. Needs `type`, `mode`, `number` and `entries`.
- `create_customer`: Create a new customer (counterparty) record in Firmao. Needs `name`.
- `create_transaction`: Create a financial transaction (invoice, pro forma, receipt, bill) in Firmao. Needs `type`, `mode`, `transactionNumber` and `entries`.
- `update_customer`: Update an existing customer (counterparty) record in Firmao. Needs `customerId`.
- `create_agreement`: Create a new agreement (contract) document in Firmao. Needs `number` and `mode`.
- `create_project`: Create a new project in Firmao. Needs `name`.
- `create_time_entry`: Create a work time entry in Firmao. Needs `userId`.
- `create_sales_opportunity`: Create a new sales opportunity in Firmao's sales pipeline. Needs `label` and `currency`.
- `create_product`: Create a new product or service in Firmao. Needs `name`.
- `create_task`: Create a new task in Firmao, optionally within a project. Needs `name`.
- `create_contact`: Create a new contact person associated with a customer in Firmao. Needs `firstName` and `customerId`.
- `update_task`: Update an existing task in Firmao. Needs `taskId`.
- `create_sales_note`: Create a sales note (note, meeting, or phone call record) in Firmao. Needs `description` and `type`.
- `end_time_entry`: Finish an existing work time entry in Firmao by setting its end time.

### Destructive tools (1)

- `delete_customer`: Soft-delete a customer (counterparty) record in Firmao by marking it as deleted. Needs `customerId`.

## Triggers

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

- `inbound_webhook`
- `customer_changes`: Triggers when customers are created or modified in Firmao.
- `task_changes`: Triggers when tasks are created or modified in Firmao.
- `transaction_changes`: Triggers when transactions (invoices, receipts, etc.) are created or modified in Firmao.
- `sales_opportunity_changes`: Triggers when sales opportunities are created or modified in Firmao.

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