How to integrate Anrok MCP with Hermes

Connect Hermes 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

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows.

This guide explains the easiest and most robust way to connect your Anrok account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

Also integrate Anrok with

What is Composio Connect?

Composio Connect is a consumer offering that lets anyone plug 1,700+ applications directly into their agent harness — including Hermes. It can:

  • Search and load tools from relevant toolkits on-demand, reducing context usage.
  • Chain multiple tools to accomplish complex workflows via a remote workbench, without excessive back-and-forth with the LLM.
  • Manage app authentication end-to-end with zero manual overhead.

Integrating Anrok with Hermes

Using Composio Connect CLI

1. Install the Composio CLI

Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

2. Authenticate

Once the CLI is installed, ask Hermes to authenticate with Composio.

3. Connect to Anrok

Ask your agent to connect to Anrok, or simply request any Anrok-related task. Hermes will prompt you to authenticate and authorize access.

4. Done. You're all set with a new Anrok connection.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save with Ctrl + O, Enter, then exit with Ctrl + X.

4. Restart your Hermes agent

Once restarted, ask your agent to connect to Anrok or request any Anrok-related task. It will prompt you to authenticate and authorize access.

5. Done!

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.

Way Forward

With Anrok connected, Hermes can now act on your behalf whenever it detects a relevant task or you ask it to.

From here, you can extend Hermes further:

  • Connect more apps: Calendar, Slack, Notion, Linear, and hundreds of others are available through the same Composio Connect setup. Each new integration compounds what Hermes can do for you.
  • Build workflows across tools: Once multiple apps are connected, Hermes can chain actions together — turn an email into a calendar invite, a Slack message into a Linear ticket, or a meeting note into a follow-up draft.
  • Let it learn your patterns: The more you use Hermes, the better it gets at anticipating how you'd handle recurring tasks. Give it feedback on drafts and decisions, and it will adapt.

If you run into trouble or want to share what you've built, join the community or check out the Docs for deeper configuration options.

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. Hermes 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