MetorialDocs

Set up TaxJar in Metorial for Claude, ChatGPT and Cursor

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

To give your team TaxJar in Claude, ChatGPT, Cursor and other AI clients, an admin shares the TaxJar integration in a Metorial portal, and each person connects with an API token. Calculate sales tax, inspect rates and tax categories, manage order and refund reporting records and customer exemptions, read configured nexus regions, and validate supported US addresses. The integration has 21 tools, 12 read-only, 6 write and 3 destructive, plus 3 triggers.

What you'll learn

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

Before you start

Sign-in method

MethodTypeWhat a person provides
API TokenAPI tokentoken

API Token

To connect, a person enters:

  • token: TaxJar API token. Find it in Account > API Access in your TaxJar dashboard. Use a sandbox token when targeting the sandbox environment.

Setup settings

Setup also asks for:

  • environment (optional): API environment to use. Use sandbox for testing with stubbed responses. One of "production", "sandbox".
  • apiVersion (optional): API version date in YYYY-MM-DD format (e.g. 2022-01-24). If omitted, the account default is used.

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

Choose who gets it

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

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

Employee: connect TaxJar

In the portal

Open TaxJar in the catalog

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

Authenticate

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

Confirm

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

With the CLI

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

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your TaxJar 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 taxjar
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_order and get_refund, and lose the 6 write tools, such as create_order or update_order, and the 3 destructive tools, such as delete_order or delete_refund.

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 taxjar
metorial tools <integration-id>
metorial call <integration-id> list_customers -d '{}'

metorial tools lists the 21 tools, minus any you rejected. list_customers takes no input. It lists customers configured in TaxJar with their exemption type and regions.

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

Tools

Read-only tools (12)

  • list_nexus_regions: List nexus locations configured in your TaxJar account.
  • lookup_rates: Retrieve the combined sales tax rate for a US location by ZIP code. Needs zip.
  • list_summarized_rates: Retrieve minimum and average sales tax rates for all US regions/states.
  • list_refunds: List refund transaction IDs stored in TaxJar.
  • get_refund: Retrieve a single refund transaction by its transaction ID. Needs transactionId.
  • validate_address: Validate a US customer address and receive standardized address matches with ZIP+4 precision.
  • list_orders: List order transaction IDs stored in TaxJar for sales tax reporting.
  • list_categories: List all supported product tax categories and their corresponding tax codes.
  • list_customers: List customers configured in TaxJar with their exemption type and regions.
  • get_order: Retrieve a single order transaction by its transaction ID. Needs transactionId.
  • calculate_tax: Calculate sales tax for an order using origin and destination addresses, order amount, shipping, line items, nexus settings and exemptions. Needs toCountry, toState and shipping.
  • get_customer: Retrieve a single exempt customer by their customer ID. Needs customerId.

Write tools (6)

  • update_customer: Update an existing exempt customer in TaxJar. Needs customerId.
  • update_order: Update an existing order transaction in TaxJar. Needs transactionId.
  • create_refund: Record a refund in TaxJar linked to its original order for sales tax reporting. Needs transactionId, transactionReferenceId, toCountry, toZip, toState, amount, shipping and salesTax.
  • create_customer: Create a new exempt customer in TaxJar. Needs customerId, exemptionType and name.
  • update_refund: Update an existing refund transaction in TaxJar. Needs transactionId.
  • create_order: Create an order record in TaxJar for sales tax reporting and filing. Needs transactionId, toCountry, toZip, toState, amount, shipping and salesTax.

Destructive tools (3)

  • delete_refund: Delete a refund transaction from TaxJar. Needs transactionId.
  • delete_order: Delete an order transaction from TaxJar. Needs transactionId.
  • delete_customer: Delete an exempt customer from TaxJar. Needs customerId.

Triggers

TaxJar has 3 triggers, which fire on events in TaxJar:

  • new_refund: Triggers when a new refund transaction is created in TaxJar.
  • new_order: Triggers when a new order transaction is created in TaxJar.
  • inbound_webhook

Next steps