Loyverse MCP server
59 operations0 webhooks
Point-of-sale system for retail stores, inventory, receipts, and customer loyalty programs.
Try Loyverse with your agent
Connect Loyverse, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in Loyverse on my account, then run one read-only example and show me the result.
Loyverse tools and triggers
Tools are what your agent can do in Loyverse through Corsair's MCP server. Triggers are the Loyverse events a routine can start from.
Items
- DeleteDestructive
Delete an item
items.delete
- Delete ImageDestructive
Delete an item's image
items.deleteImage
- GetRead-only
Get a single item
items.get
- ListRead-only
List items
items.list
- Upload ImageWrite
Upload an item's image
items.uploadImage
- UpsertWrite
Create or update an item
items.upsert
Discounts
- DeleteDestructive
Delete a discount
discounts.delete
- GetRead-only
Get a single discount
discounts.get
- ListRead-only
List discounts
discounts.list
- List FilteredRead-only
List discounts filtered by id, timestamp range or deleted status
discounts.listFiltered
- UpsertWrite
Create or update a discount
discounts.upsert
Categories
- DeleteDestructive
Delete a category
categories.delete
- GetRead-only
Get a single category
categories.get
- ListRead-only
List categories
categories.list
- UpsertWrite
Create or update a category
categories.upsert
Customers
- DeleteDestructive
Delete a customer permanently
customers.delete
- GetRead-only
Get a single customer
customers.get
- ListRead-only
List customers
customers.list
- UpsertWrite
Create or update a customer
customers.upsert
Modifiers
- DeleteDestructive
Delete a modifier
modifiers.delete
- GetRead-only
Get a single modifier
modifiers.get
- ListRead-only
List modifiers
modifiers.list
- UpsertWrite
Create or update a modifier
modifiers.upsert
Pos Devices
- DeleteDestructive
Delete a POS device
posDevices.delete
- GetRead-only
Get a single POS device
posDevices.get
- ListRead-only
List POS devices
posDevices.list
- UpsertWrite
Create or update a POS device
posDevices.upsert
Receipts
- CreateDestructive
Record a sale, which cannot be withdrawn once created
receipts.create
- GetRead-only
Get a single receipt
receipts.get
- ListRead-only
List receipts
receipts.list
- RefundDestructive
Refund a receipt, which returns money to the customer
receipts.refund
Suppliers
- DeleteDestructive
Delete a supplier
suppliers.delete
- GetRead-only
Get a single supplier
suppliers.get
- ListRead-only
List suppliers
suppliers.list
- UpsertWrite
Create or update a supplier
suppliers.upsert
Taxes
- DeleteDestructive
Delete a tax
taxes.delete
- GetRead-only
Get a single tax
taxes.get
- ListRead-only
List taxes
taxes.list
- UpsertWrite
Create or update a tax
taxes.upsert
Variants
- DeleteDestructive
Delete an item variant
variants.delete
- GetRead-only
Get a single variant
variants.get
- ListRead-only
List item variants
variants.list
- UpsertWrite
Create or update an item variant
variants.upsert
Webhooks
- DeleteDestructive
Delete a webhook subscription
webhooks.delete
- GetRead-only
Get a single webhook subscription
webhooks.get
- ListRead-only
List webhook subscriptions
webhooks.list
- UpsertWrite
Create or update a webhook subscription
webhooks.upsert
Employees
- GetRead-only
Get a single employee
employees.get
- ListRead-only
List employees
employees.list
Inventory
- ListRead-only
List inventory levels
inventory.list
- UpdateWrite
Set inventory levels for item variants
inventory.update
Oidc
- DiscoveryRead-only
Get the OpenID Connect discovery document
oidc.discovery
- JwksRead-only
Get the JSON Web Key Set
oidc.jwks
Payment Types
- GetRead-only
Get a single payment type
paymentTypes.get
- ListRead-only
List payment types
paymentTypes.list
Stores
- GetRead-only
Get a single store
stores.get
- ListRead-only
List stores
stores.list
Merchant
- GetRead-only
Get merchant information
merchant.get
Shifts
- ListRead-only
List shifts
shifts.list
Connect Loyverse to Claude, ChatGPT or Cursor
- 1
Connect Loyverse in Corsair
Sign in to Loyverse once in Corsair. Corsair stores the credential encrypted and makes the Loyverse API calls for your agent, so it never goes into a prompt or a config file. Connect Loyverse
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Loyverse. On a ChatGPT personal plan, connect Loyverse here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.Install Corsair from ChatGPT's plugin directory, connect it and sign in. A custom MCP server with the address works too, but personal plans get its read tools only.Add to Cursor / Grok BuildOr add this to~/.cursor/mcp.json. It opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Antigravity, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Loyverse's read and write operations run right away and its 13 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/loyverse, add the Loyverse plugin, and connect with OAuth. Then call methods like corsair.loyverse.api.categories.delete() from your app. Corsair stores tokens, and syncs data per tenant.
Yes. Loyverse needs an OAuth app with scopes that match what you automate. Register the app in Loyverse, configure redirect URLs, then connect through Corsair or managed OAuth in Hub.
Yes. One Corsair client can hit Loyverse, GitHub, Notion, Stripe, and the rest. Trigger Loyverse from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for point-of-sale system for retail stores, inventory, receipts, and customer loyalty programs. Common builds include sync jobs, admin tooling, and agents that call Loyverse APIs from your backend. Local DB entities let you query synced Loyverse records without hitting the API on every read.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Loyverse API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/loyverse in the open repo. When Loyverse ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your Loyverse data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Loyverse data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put Loyverse on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 13 destructive Loyverse operations. You can change a link's mode at hub.corsair.dev/me.