Back to Browse

Clover MCP Server

Developer ToolsUse Caution4.2MCP RegistryLocal
Free

Server data from the Official MCP Registry

MCP server for Clover POS — restaurant operations, inventory, orders, analytics, and retention

About

MCP server for Clover POS — restaurant operations, inventory, orders, analytics, and retention

Security Report

4.2
Use Caution4.2High Risk

This MCP server provides restaurant operations tools for Clover POS with reasonable security practices. Authentication relies on environment variable API tokens which is standard for MCP. The codebase includes proper confirmation gates for sensitive mutations, input validation via Zod, and careful error handling in critical paths. However, there are moderate concerns around file system access patterns and some edge cases in confirmation logic that could allow bypassing mutation gates under specific conditions. Supply chain analysis found 7 known vulnerabilities in dependencies (0 critical, 7 high severity). Package verification found 1 issue (1 critical, 0 high severity).

5 files analyzed · 16 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

env_vars

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

Unverified package source

We couldn't verify that the installable package matches the reviewed source code. Proceed with caution.

What You'll Need

Set these up before or after installing:

Clover API access tokenRequired

Environment variable: CLOVER_API_TOKEN

Clover merchant IDOptional

Environment variable: CLOVER_MERCHANT_ID

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-dokdosolutions-us-lucky": {
      "env": {
        "CLOVER_API_TOKEN": "your-clover-api-token-here",
        "CLOVER_MERCHANT_ID": "your-clover-merchant-id-here"
      },
      "args": [
        "-y",
        "@ahreum/clover-mcp"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

Lucky – Clover MCP Server 🍀✨

A Model Context Protocol (MCP) server for 🍀 Clover POS — giving AI agents direct access to restaurant operations: menu management, orders, inventory, analytics, customer retention, financial reporting, and more.

Connect any MCP-compatible AI (Claude, GPT-4, Cursor, Continue, and others) to your Clover merchant account and turn natural language into real POS actions — no dashboard, no manual lookups, no custom integration code.

This project was born out of a simple idea: restaurant owners — especially family-run, immigrant-owned restaurants — deserve the same kind of intelligent assistant that enterprise businesses take for granted. Not a chatbot. Not a dashboard. Something that watches your inventory, knows your regulars, and has your back during a dinner rush.

We built this as the data layer for an AI front-of-house system. It exposes the 🍀 Clover V3 REST API as a clean set of MCP tools that any LLM can call — so instead of logging into a dashboard to check stock levels or pull a sales report, you just ask.

We hope 🍀 Clover sees this and runs with it.


What It Does

This server wraps the 🍀 Clover V3 API into 70+ LLM-callable tools across every major area of restaurant operations:

ModuleTools
MenuBrowse items, categories, modifiers, and pricing
OrdersQuery orders, filter by date/status, inspect line items
CustomersSearch, create, and profile customers with lifetime spend
InventoryStock levels, low-stock alerts, adjustments, auto-86 depleted items
AnalyticsRevenue by period, peak hours, best-selling items, category breakdown
EmployeesShift activity, hours worked, clock-in/out visibility
FinancialsDaily/weekly/monthly summaries, tender breakdowns, tax reporting
RetentionLapsed customers, win-back message drafting, birthday outreach, first-time visitors
OperationsRefund rates, open orders, void detection, table turn analysis
ForecastingWeek-over-week trends, seasonal patterns, staffing demand signals
ReservationsBooking management with conflict detection
Smart QueriesCross-module insights — happy hour analysis, upsell opportunities, slow day detection
Menu OpsBulk pricing updates, happy hour scheduling, allergen tagging

Inspiration

The Model Context Protocol, open-sourced by Anthropic, makes it possible to give AI assistants structured, reliable access to external systems. We saw an opportunity to apply this to the restaurant industry — a space full of hardworking owners who are data-rich but time-poor.

Independent restaurants don't have engineering teams. They have POS data they never look at, regulars they forget to reach out to, and inventory that runs out at the worst possible time.

A disproportionate number of independent restaurants in the US are owned by immigrant families — Vietnamese, Korean, Chinese, Mexican, Ethiopian, and countless others — where English may be a second language and the margin for error is razor-thin. These owners work harder than anyone, yet they're the last to benefit from technology that could actually lighten the load.

This project is built with them in mind. An AI that can answer customer questions in any language, surface the right data at the right time, and handle the operational noise — so the people who built something from nothing can focus on what they do best; provide and spend time with their family and loved ones.

This MCP server is the foundation for that.


How This Differs From Other Clover MCP Servers

There are other MCP servers that wrap the 🍀 Clover API — and they're well built. But most of them are designed for developers: raw CRUD tools that expose every API endpoint so engineers can build on top of them.

This one is designed for restaurant owners.

The difference is in what the tools actually do. Instead of clover_update_item_stock, you get adjust_inventory — which validates your adjustment, guards against negative stock, and tells you what changed in plain language. Instead of a generic orders list, you get get_lapsed_customers — which surfaces your regulars who haven't been back in 30 days and drafts a win-back message for them.

Other servers give an AI the ability to talk to 🍀 Clover. This one gives an AI the ability to help run a restaurant.

That's the Ahreum + 🍀 Clover difference.


Getting Started

Prerequisites

Install

npm install
npm run build

Configure

cp .env.example .env
# Fill in your CLOVER_ACCESS_TOKEN and CLOVER_MERCHANT_ID

Run

# Production
CLOVER_ACCESS_TOKEN=your_token CLOVER_MERCHANT_ID=your_merchant_id npm start

# Sandbox (test against 🍀 Clover's sandbox environment)
CLOVER_ACCESS_TOKEN=your_sandbox_token CLOVER_MERCHANT_ID=your_sandbox_merchant_id CLOVER_SANDBOX=true npm start

Inspect Tools Interactively

CLOVER_ACCESS_TOKEN=your_token CLOVER_MERCHANT_ID=your_merchant_id CLOVER_SANDBOX=true npm run inspector

Opens the MCP Inspector — a browser UI for calling tools and seeing live 🍀 Clover API responses.


Multi-Store Setup

Each 🍀 Clover location has its own merchant ID and API token. Run one instance per store:

"clover-store1": {
  "command": "node",
  "args": ["/absolute/path/to/clover-mcp-server/dist/index.js"],
  "env": {
    "CLOVER_ACCESS_TOKEN": "token_for_store1",
    "CLOVER_MERCHANT_ID": "merchant_id_store1"
  }
},
"clover-store2": {
  "command": "node",
  "args": ["/absolute/path/to/clover-mcp-server/dist/index.js"],
  "env": {
    "CLOVER_ACCESS_TOKEN": "token_for_store2",
    "CLOVER_MERCHANT_ID": "merchant_id_store2"
  }
}

Each instance gets its own rate limiter and retry budget — no cross-store interference.


Testing

# Unit tests (no credentials needed)
npm test

# Sandbox integration tests (requires 🍀 Clover sandbox credentials)
CLOVER_ACCESS_TOKEN=your_token CLOVER_MERCHANT_ID=your_merchant_id CLOVER_SANDBOX=true npm run test:sandbox

Architecture

  • src/clover-client.ts — Axios-based HTTP client wrapping the 🍀 Clover V3 API, with rate limiting (Bottleneck), automatic retry with exponential backoff (axios-retry), and structured error handling
  • src/tools/ — One file per domain, each exporting a register*Tools function
  • src/index.ts — Wires everything together into an MCP server over stdio

Rate limiting is per-instance (per 🍀 Clover merchant), so multi-store deployments stay isolated.


Built By

Ahreum — AI integration for independent restaurant owners.


License

MIT

Reviews

No reviews yet

Be the first to review this server!