How to integrate Anrok MCP with Atomic Agent

Connect Atomic Agent to Anrok MCP. List recent anrok sales tax transactions, review anrok exemption records for expired certificates, and more using natural language, with authentication handled for you.

Anrok logoAnrok
Api Key

Anrok is a sales tax platform for software businesses that automates calculations, compliance, filings, and exemption management. It helps finance teams stay accurate and reduce the manual work of tax operations.

26 Tools

Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,700+ apps through Composio, including Anrok.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a Anrok account. See the Atomic Agent documentation for installation instructions.

Also integrate Anrok with

How Atomic Agent connects to Anrok

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect Anrok to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in Anrok. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your Anrok account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

What is the Anrok MCP server, and what's possible with it?

The Anrok MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Anrok account. It provides structured and secure access to your sales tax calculations, customers, products, transactions, exemption certificates, and filings, so your agent can calculate transaction taxes, manage customer and product records, handle exemptions, review transactions and filings, and resolve taxable addresses on your behalf.

  • Sales tax calculation and address resolution: Have your agent calculate tax for an invoice without recording a transaction, resolve customer addresses, identify taxable jurisdictions, and validate tax IDs.
  • Customer and product management: Let the agent create and retrieve customers, list customer records, create and retrieve products, assign tax categories, and manage product mappings from billing integrations.
  • Exemption certificate handling: Direct your agent to create exemption certificates or customer certificate requests, review certificate details, list certificates by customer or status, and archive certificates when they are no longer valid.
  • Transaction management: Instruct your agent to create or update finalized invoice transactions, retrieve and list transactions, void transactions, or create a transaction that negates an earlier one.
  • Filing and transaction review: Have your agent list jurisdiction filings, find the transactions associated with a filing, review filing conversion rates, and remove selected transactions from a filing.

Use Anrok from Atomic Agent

With your account connected, ask Atomic Agent to work with Anrok in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

TOOLS

Supported Tools

Every Anrok action and event your agent gets out of the box.

Add Product ID Mapping

Map a billing integration's source product ID to an existing Anrok product, optionally overwriting an existing source mapping.

Archive Exemption Certificate

Archive and invalidate an exemption certificate by its Anrok certificate ID.

Calculate Transaction Tax

Calculate tax for an ephemeral invoice without recording a transaction in Anrok.

Create Customer

Create an Anrok customer with the external ID used to link transactions and exemption certificates.

Create Exemption Certificate

Create a customer tax-exemption certificate from a local or uploaded file and jurisdiction coverage.

Create Exemption Certificate Request

Create a premium customer certificate request, emailing its submission link by default, and optionally auto-approve eligible submissions.

Create or Update Transaction

Create a finalized invoice transaction.

Create Product

Create an Anrok product ID and assign its product tax category.

Create Transaction Negation

Create a new transaction that exactly negates an existing transaction, lowering or reversing the original transaction's reported sales and tax totals, optionally enforcing its expected version.

Get Customer

Retrieve one Anrok customer by its external customer ID.

Get Exemption Certificate

Retrieve one exemption certificate and its status and jurisdiction details by certificate ID.

Get Product

Retrieve one Anrok product by its external product ID.

Get Transaction

Retrieve the latest version of one Anrok transaction, including complete invoice and tax-calculation details for normal transactions.

List Customers

Return one page of seller-account customers in ascending customer ID order.

List Exemption Certificates

Return one page of exemption certificates, optionally filtered by customer or certificate status.

List Filings

Return one premium page of jurisdiction filings, optionally filtered by jurisdiction and filing-period end date range.

List Filing Transaction IDs

Return one premium page of transaction IDs associated with a jurisdiction filing.

List Filing Transactions with Conversion Rates

Return one premium page of a jurisdiction filing's transactions with their filing conversion rates.

List Product ID Mappings

List all source-to-Anrok product ID mappings for one Anrok-built billing integration.

List Products

Return one page of Anrok products, optionally including default and integration shipping products.

List Product Tax Categories

List the standard and seller-specific product tax categories available for assigning to products.

List Transactions

Return one premium page of Anrok transactions, optionally filtered by modification time or filing association.

Remove Transactions from Filing

Remove 1-100 transactions from a premium Anrok jurisdiction filing and return the removal result for every requested transaction ID.

Resolve Address

Resolve a customer address to its normalized form and return the applicable taxable jurisdictions.

Validate Tax IDs

Validate premium customer tax IDs for the taxable jurisdictions resolved from a customer address.

Void Transaction

Void an existing transaction so it is no longer included in returns or sales totals, optionally requiring its current version.

FAQ

Frequently asked questions

With a standalone Anrok MCP server, the agents and LLMs can only access a fixed set of Anrok tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Anrok and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Atomic Agent fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Anrok tools.

Yes, absolutely. You can configure which Anrok scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Anrok data and credentials are handled as safely as possible.

Start with Anrok.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Anrok tool your agent needs.Free to start.

Start building