How to integrate Loyverse MCP with Hermes

Trusted by
AWS
Glean
Zoom
Airtable

30 min · no commitment · see it on your stack

Loyverse logo
Hermes logo
divider

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 Loyverse 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 Loyverse with

What is Composio Connect?

Composio Connect is a consumer offering that lets anyone plug 1,000+ 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 Loyverse 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 Loyverse

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

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

5. Done!

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

The Loyverse MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Loyverse account. It provides structured and secure access to your retail management data, so your agent can perform actions like managing inventory categories, handling suppliers, retrieving employee info, and accessing payment types on your behalf.

  • Supplier management and automation: Easily create or delete suppliers, streamlining your purchase and vendor workflows without logging into Loyverse manually.
  • Category organization and clean-up: Fetch details of specific inventory categories or remove deprecated ones to keep your product catalog organized and up-to-date.
  • Employee and merchant insights: Retrieve detailed information about employees and your merchant account to support HR, payroll, or business analysis tasks.
  • Discount and payment method lookup: Instantly access details for discounts and payment types, making it simple to verify offers or payment options during sales operations.
  • Authentication and security integration: Fetch OpenID Connect details and JWKS keys, allowing your agent to manage secure authentication and integration workflows.

Supported Tools & Triggers

Tools
Create or Update CategoryTool to create a new category or update an existing one.
Create or Update CustomerTool to create a new customer or update an existing one in Loyverse.
Create or Update DiscountTool to create or update a single discount.
Create or Update ItemTool to create a new item or update an existing one in Loyverse inventory.
Create or Update ModifierTool to create or update a single modifier with options.
Create or Update POS DeviceTool to create a new POS device or update an existing one.
Create or Update SupplierTool to create a new supplier or update an existing one in Loyverse.
Create or Update TaxTool to create or update a single tax.
Create or Update VariantTool to create or update a single item variant in Loyverse.
Create or Update WebhookTool to create a new webhook subscription or update an existing one in Loyverse.
Create ReceiptTool to create a sales receipt with line items and payments.
Create RefundTool to create a refund receipt for a sales receipt.
Delete CategoryTool to delete a single category by ID.
Delete CustomerTool to delete a single customer by their ID.
Delete DiscountTool to delete a single discount by ID.
Delete ItemTool to delete a single item by ID.
Delete Item ImageTool to delete a single image from an item.
Delete ModifierTool to delete a single modifier by its ID.
Delete POS DeviceTool to delete a single POS device by its ID.
Delete SupplierTool to delete a specific supplier by ID.
Delete TaxTool to delete a single tax by its ID.
Delete VariantTool to delete a single item variant by its ID.
Delete WebhookTool to delete a single webhook by its ID.
Get CategoryTool to get a single category by ID.
Get CustomerTool to get a single customer by their ID.
Get DiscountTool to get a single discount by ID.
Get EmployeeTool to get a single employee by ID.
Get ItemTool to get a single item by ID including all its variants.
Get JWKSTool to fetch JSON Web Key Set for OpenID Connect.
Get Merchant InfoTool to get merchant information.
Get ModifierTool to get a single modifier by ID.
Get OpenID Connect Discovery DocumentTool to retrieve the OpenID Connect discovery document.
Get Payment TypeTool to get a single payment type by its ID.
Get POS DeviceTool to retrieve details of a specific POS device by its ID.
Get ReceiptTool to retrieve a single receipt by its receipt number.
Get StoreTool to retrieve details of a specific store by its ID.
Get SupplierTool to get a single supplier by their ID.
Get TaxTool to get a single tax by ID.
Get VariantTool to get a single item variant by its ID.
Get WebhookTool to get a single webhook by its ID.
List CategoriesTool to list categories with optional filtering and pagination.
List CustomersTool to get a list of customers.
List DiscountsTool to list discounts.
List Employees (Advanced)Tool to get a list of employees with advanced filtering options.
List InventoryRetrieves inventory levels for item variants across stores in the Loyverse system.
List ItemsRetrieves a paginated list of items (products) from the Loyverse inventory.
List Modifiers (Enhanced)Tool to get a list of modifiers sorted by created_at in descending order.
List Payment TypesTool to list payment types.
List POS DevicesTool to get a list of POS devices sorted by creation date in descending order.
List ReceiptsTool to retrieve a list of receipts.
List ShiftsTool to list shifts.
List StoresTool to get a list of stores sorted by creation date (newest first).
List SuppliersTool to retrieve a list of suppliers.
List TaxesTool to get a list of taxes sorted by creation date (newest first).
List VariantsTool to get a list of item variants sorted by creation date (newest first).
List WebhooksTool to list webhooks.
Update InventoryTool to batch update inventory levels for item variants at specific stores.
Upload Item ImageTool to upload a single image for an item.

Way Forward

With Loyverse 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.

How to build Loyverse MCP Agent with another framework

FAQ

What are the differences in Tool Router MCP and Loyverse MCP?

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

Can I use Tool Router MCP with Hermes?

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 Loyverse tools.

Can I manage the permissions and scopes for Loyverse while using Tool Router?

Yes, absolutely. You can configure which Loyverse 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.

How safe is my data with Composio Tool Router?

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 Loyverse data and credentials are handled as safely as possible.

Used by agents from

Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.