MetorialDocs

Set up Finmei in Metorial for Claude, ChatGPT and Cursor

Share Finmei with your team in Claude, ChatGPT and Cursor through Metorial: API token sign-in, 19 tools (12 read-only).

To give your team Finmei in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Finmei integration in a Metorial portal, and each person connects with an API token. Agents can create, retrieve, update, list, and delete invoices; download invoice PDFs. The integration has 19 tools, 12 read-only, 2 write and 5 destructive, plus 5 triggers.

What you'll learn

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

Before you start

Sign-in method

MethodTypeWhat a person provides
API TokenAPI tokenapiToken

API Token

To connect, a person enters:

  • apiToken: Finmei API token. Go to Settings → Integrations in the Finmei app to generate one.

Admin: share Finmei 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 Finmei. 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.

Limit the tools

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

Choose who gets it

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

metorial-admin portals access list <portal-id> --type provider_template --search finmei

Employee: connect Finmei

In the portal

Open Finmei in the catalog

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

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API token (apiToken).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search finmei
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Finmei 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.

metorial list finmei
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_expense and get_invoice, and lose the 2 write tools, such as create_invoice or update_invoice, and the 5 destructive tools, such as delete_invoice or manage_expense.

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 list finmei
metorial tools <integration-id>
metorial call <integration-id> get_profile -d '{}'

metorial tools lists the 19 tools, minus any you rejected. get_profile takes no input. It retrieves the connected business profile from Finmei, including business details and account info.

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

Tools

Read-only tools (12)

  • list_products: Retrieve a paginated list of products from the Finmei product catalog.
  • get_profile: Retrieve the connected business profile from Finmei, including business details and account info.
  • list_customers: Retrieve a paginated list of customers from Finmei.
  • get_product: Retrieve detailed information about a specific product by its ID from the Finmei product catalog. Needs productId.
  • list_currencies: Retrieve all currencies supported by Finmei.
  • list_invoices: Retrieve a paginated list of invoices from Finmei.
  • list_expenses: Retrieve a paginated list of expense records from Finmei.
  • list_payments: Retrieve a list of payments from Finmei.
  • get_invoice: Retrieve an invoice, including its buyer, seller, line items, totals, payment options, and sharing link.
  • get_expense: Retrieve an expense by ID, including its amount, currency, seller, date, and original data.
  • download_expense_file: Prepare the original PDF or image receipt for download.
  • download_invoice: Prepare a downloadable PDF for an invoice.

Write tools (2)

  • create_invoice: Create a new invoice in Finmei. Needs products.
  • update_invoice: Replace an invoice using the same complete details required for creation.

Destructive tools (5)

  • delete_invoice: Permanently delete an invoice from Finmei by its ID. Needs invoiceId.
  • manage_product: Create, update, or delete a product in the Finmei product catalog. Needs action.
  • manage_customer: Update or delete a customer in Finmei. Needs action and customerId.
  • manage_payment: Record a new payment against an invoice, retrieve payment details, or delete a payment in Finmei. Needs action.
  • manage_expense: Create, update, replace a receipt, or delete an expense record in Finmei. Needs action.

Triggers

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

  • new_expense: Triggers when a new expense is recorded in Finmei.
  • inbound_webhook
  • new_customer: Triggers when a new customer is added in Finmei.
  • new_payment: Triggers when a new payment is recorded in Finmei.
  • new_invoice: Triggers when a new invoice is created in Finmei.

Next steps