How to integrate Loyverse MCP with OpenClaw

Trusted by
AWS
Glean
Zoom
Airtable

30 min · no commitment · see it on your stack

Loyverse logo
OpenClaw logo
divider

Introduction

OpenClaw is the fastest growing agent harness out there, which can work 24/7 to automate almost any kind of tasks. However, its capabilities are limited to the tools it has access to. Composio allows your OpenClaw to access Loyverse with authentication management handled for you. You can execute actions on Loyverse via your favorite OpenClaw interface (Telegram, WhatsApp, TUI, etc), whichever you prefer.

Also integrate Loyverse with

Why use Composio?

Apart from a managed and hosted MCP server, you will get:

  • Programmatic tool calling allows LLMs to write its code in a remote workbench to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
  • Handling Large tool responses out of LLM context to minimize context rot.
  • Dynamic just-in-time access to 20,000 tools across 1000+ other Apps for cross-app workflows. It loads the tools you need, so LLMs aren't overwhelmed by tools you don't need.

How to install Loyverse with OpenClaw

Using Composio API Key and Setup Prompt

Copy the setup prompt from the OpenClaw dashboard
  • Run it in your OpenClaw chat interface.
  • Authenticate Loyverse from the dashboard
  • Go back to your OpenClaw interface and start asking questions.

Using OpenClaw/Composio Plugin

1. Install OpenClaw Composio plugin

bash
openclaw plugins install @composio/openclaw-plugin

2. Copy the API Key from dashboard.composio.dev

3. Setup OpenClaw Config

bash
openclaw config set plugins.entries.composio.config.consumerKey "ck_your_key_here"

4. Restart OpenClaw

bash
openclaw gateway restart

5. Go to your chat interface and start asking questions.

6. When prompted, authenticate the app and you're all set.

How It Works

The plugin connects to Composio's MCP server at https://connect.composio.dev/mcp and registers all available tools directly into the OpenClaw agent. Tools are called by name — no extra search or execute steps needed.

If a tool returns an auth error, the agent will prompt you to connect that toolkit at dashboard.composio.dev.

Configuration

bash
{
  "plugins": {
    "entries": {
      "composio": {
        "enabled": true,
        "config": {
          "consumerKey": "ck_your_key_here"
        }
      }
    }
  }
}
OptionDescriptionDefault
enabledEnable or disable the plugintrue
consumerKeyYour Composio consumer key (ck_...)
mcpUrlMCP server URL (advanced)https://connect.composio.dev/mcp

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.

Conclusion

You've successfully integrated Loyverse with OpenClaw using Composio plugin. Now interact with Loyverse directly from your terminal, Web UI, or any messenger app using natural language commands.

Key benefits of this setup:

  • Seamless integration across TUI, Web UIs, and Messenger apps like Telegram, WhatsApp, Slack, etc.
  • Natural language commands for Loyverse operations
  • Managed authentication through Composio
  • Access to 20,000+ tools across 1000+ apps for cross-app workflows
  • Programmatic tool calling for complex tool chaining

Next steps:

  • Try asking OpenClaw to perform various Loyverse operations
  • Explore cross-app workflows by connecting more toolkits like Calendar, Slack, Notion, etc.
  • Build complex automation scripts that leverage OpenClaw's 24/7 running capabilities

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 OpenClaw?

Yes, you can. OpenClaw 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.