How to integrate Polar MCP with Hermes

Connect Hermes to Polar MCP. List all products in your polar account, review active polar subscriptions this month, and more using natural language, with authentication handled for you.

Polar logoPolar
Oauth2Api KeyBearer TokenNo Auth

Polar is a merchant-of-record platform for digital products, payments, subscriptions, and customer management. It simplifies global selling by handling checkout, billing, taxes, and customer portals.

134 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 Polar 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.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Polar 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 Polar 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 Polar

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

4. Done. You're all set with a new Polar 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 Polar or request any Polar-related task. It will prompt you to authenticate and authorize access.

5. Done!

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

The Polar MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Polar account. It provides structured and secure access to Polar's merchant-of-record tools, so your agent can create products and checkout sessions, manage customers and subscriptions, issue refunds, and handle customer portal and licensing tasks on your behalf.

  • Products and checkout management: Have your agent create products, checkout sessions, checkout links, discounts, and customer orders for your Polar storefront.
  • Customer and subscription operations: Let the agent create customers, add customer members, create subscriptions, cancel portal subscriptions, and manage customer payment methods.
  • Benefits and license keys: Direct your agent to create benefits such as license keys or file downloads, activate or deactivate license key instances, and manage customer seats.
  • Payments, refunds, and disputes: Instruct your agent to create refunds, accept disputes, retry customer payments, or create orders for off-session charges against saved payment methods.
  • Account configuration and reporting: Have your agent create organizations, custom fields, files, meters, metric dashboards, and webhook endpoints for your Polar operations.

Way Forward

With Polar 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 Polar action and event your agent gets out of the box.

Accept Dispute

Accept a dispute, permanently conceding the chargeback and settling it as lost.

Activate License Key

Activate a license key instance.

Activate License Key

Activate a license key instance.

Assign Seat

Assign a customer seat.

Complete File Upload

Complete a file upload.

Confirm Checkout Session from Client

Confirm a checkout session by client secret.

Create Benefit

Create a benefit, for example license keys, file downloads or Discord access.

Create Checkout Session

Create a checkout session.

Create Checkout Link

Create a checkout link.

Create Customer

Create a customer.

Create Customer Member

Add a member to a customer by UUID.

Create Customer Member by External ID

Add a member to a uniquely identified external customer.

Create Custom Field

Create an organization custom field for collecting structured customer or checkout data.

Create Discount

Create a discount.

Create File

Create a Polar file record and obtain multipart upload details.

Create Meter

Create a meter.

Create Metric Dashboard

Create a user-defined metric dashboard.

Create Order

Create a draft order for an off-session charge against a saved payment Organization Access Token permissions: `orders:write`.

Create Organization

Create an organization using OAuth2 with the organizations:write scope.

Create Product

Create a product.

Create Refund

Create a refund.

Create Subscription

Create a subscription for an existing customer to a free recurring product, identified by Polar customer ID or external customer ID.

Create Webhook Endpoint

Create a webhook endpoint.

Deactivate License Key

Deactivate a license key instance.

Deactivate License Key

Deactivate a license key instance.

Delete Benefit

Delete a benefit.

Delete Checkout Link

Delete a checkout link.

Delete Customer

Delete a customer.

Delete Customer by External ID

Delete a customer by external ID.

Delete Customer Member

Permanently remove a member by customer UUID and member UUID.

Delete Customer Member by External ID

Permanently remove a member by customer and member external IDs.

Delete Custom Field

Permanently delete a custom field by ID.

Delete Discount

Delete a discount.

Delete File

Delete a file.

Delete Metric Dashboard

Delete a user-defined metric dashboard.

Delete Product

Delete a product.

Delete Webhook Endpoint

Delete a webhook endpoint.

Export Customers

Export customers as a CSV file.

Export Metrics

Export metrics as a CSV file.

Export Orders

Export orders as a CSV file.

Export Subscriptions

Export subscriptions as a CSV file.

Finalize Order

Finalize a draft order and synchronously attempt an off-session charge.

Generate Order Invoice

Trigger generation of an order's invoice.

Get Benefit

Get a benefit by ID.

Get Checkout Session

Get a checkout session by ID.

Get Checkout Session from Client

Get a checkout session by client secret.

Get Checkout Link

Get a checkout link by ID.

Get Customer

Get a customer by ID.

Get Customer by External ID

Get a customer by external ID.

Get Customer Member

Get a member by customer UUID and member UUID without changing membership.

Get Customer Member by External ID

Get a member by customer and member external IDs without changing membership.

Get Customer Meter

Get a customer meter by ID.

Get Customer State

Get a customer state by ID.

Get Customer State by External ID

Get a customer state by external ID.

Get Custom Field

Get one organization custom field and its validation settings by ID.

Get Discount

Get a discount by ID.

Get Dispute

Get a payment dispute by ID.

Get Event

Get an event by ID.

Get License Key

Get a license key.

Get Activation

Get a license key activation.

Get Meter

Get a meter by ID.

Get Meter Quantities

Get quantities of a meter over a time period.

Get Metric Dashboard

Get a user-defined metric dashboard by ID.

Get Metrics

Get metrics about your orders and subscriptions.

Get Metrics Limits

Get the interval limits for the metrics endpoint.

Get Order

Get an order by ID.

Get Order Invoice

Get an order's invoice data.

Get Order Receipt

Get an order's presigned receipt PDF URL, which is null while the receipt is being generated.

Get Organization

Get an organization by ID.

Get Payment

Get a payment by ID.

Get Organization

Get a customer portal's organization by slug.

Get Product

Get a product by ID.

Get Subscription

Get a subscription by ID.

Get Webhook Endpoint

Get a webhook endpoint by ID.

Ingest Events

Ingest batch of events.

List Benefit Files

List the downloadable files for a benefit with their download statistics.

List Benefit Grants

List benefit grants across all benefits accessible to the authenticated subject.

List Benefit Grants

List the individual grants for a benefit.

List Benefits

List benefits.

List Checkout Links

List checkout links.

List Checkout Sessions

List checkout sessions.

List Customer Members

List members of a customer by UUID without changing membership.

List Customer Members by External ID

List members of a uniquely identified external customer without changing membership.

List Customer Meters

List customer meters.

List Customer Payment Methods

Get saved payment methods of a customer.

List Customer Payment Methods by External ID

Get saved payment methods of a customer by external ID.

List Customers

List customers.

List Seats

List customer seats for a subscription or order, including invitation and claim state.

List Custom Fields

List custom data fields configured for an organization and their validation settings.

List Discounts

List discounts.

List Disputes

List payment disputes.

List Event Names

List event names.

List Events

List events.

List Event Types

List event types with usage statistics.

List Files

List files.

List License Keys

Get license keys connected to the given organization & filters.

List Meters

List meters.

List Metric Dashboards

List user-defined metric dashboards.

List Orders

List orders.

List Organizations

List organizations.

List Payments

List payments.

List Products

List products.

List Refunds

List refunds.

List Subscriptions

List subscriptions.

List Webhook Deliveries

List webhook deliveries.

List Webhook Endpoints

List webhook endpoints with pagination; Organization Access Token permissions are `webhooks:read` or `webhooks:write`.

Redeliver Webhook Event

Schedule the re-delivery of a webhook event.

Resend Invitation

Resend the invitation email for an unclaimed customer seat.

Revoke Seat

Permanently revoke a customer seat by ID.

Revoke Subscription

Revoke a subscription, i.e cancel immediately.

Rotate License Key

Rotate a license key.

Update Benefit

Update a benefit.

Update Checkout Session

Update a checkout session.

Update Checkout Session from Client

Update a checkout session by client secret.

Update Checkout Link

Update a checkout link.

Update Customer

Update a customer.

Update Customer by External ID

Update a customer by external ID.

Update Customer Member

Update a member by customer UUID and member UUID.

Update Customer Member by External ID

Update a member by customer and member external IDs.

Update Custom Field

Update an organization custom field's label, validation, or data-collection settings.

Update Discount

Update a discount.

Update Event Type

Update an event type's label and optionally its dynamic label selector.

Update File

Update a file's name or version.

Update License Key

Update a license key.

Update Meter

Update a meter.

Update Metric Dashboard

Update a user-defined metric dashboard.

Update Order

Update an order's billing name or billing address; country and state cannot be updated.

Update Organization

Update an organization.

Update Product

Update a product.

Update Product Benefits

Update benefits granted by a product.

Update Subscription

Update a subscription.

Update Webhook Endpoint

Update a webhook endpoint.

Validate License Key

Validate a license key and optionally increment its usage count.

Validate License Key

Validate a license key and optionally increment its usage count.

FAQ

Frequently asked questions

Start with Polar.It takes 30 seconds.

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

Start building