KosmoKrator

ecommerce

Lemon Squeezy MCP Integration for Claude Code

Connect Lemon Squeezy to Claude Code through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write API key auth

Connect Lemon Squeezy to Claude Code

Connect local KosmoKrator integrations to Claude Code through one scoped MCP gateway entry.

Add KosmoKrator as a stdio MCP server in the Claude Code project config and select the integrations that should be visible. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Code can inspect read-capable tools without receiving write access by default.

Lemon Squeezy MCP Config for Claude Code

Claude Code can launch the local kosmo binary directly from the project MCP config.

{
  "mcpServers": {
    "kosmokrator-lemon-squeezy": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=lemon-squeezy",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=lemon-squeezy --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Lemon Squeezy instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Lemon Squeezy Tools Visible to Claude Code

Claude Code sees stable MCP tool names generated from the Lemon Squeezy integration catalog.

MCP toolSource functionTypeDescription
integration__lemon_squeezy__lemonsqueezy_list_products lemon-squeezy.lemonsqueezy_list_products Read List all digital products in your Lemon Squeezy store. Returns product names, prices, and status.
integration__lemon_squeezy__lemonsqueezy_get_product lemon-squeezy.lemonsqueezy_get_product Read Get details for a specific Lemon Squeezy product by ID. Returns full product information including pricing, variants, and status.
integration__lemon_squeezy__lemonsqueezy_list_orders lemon-squeezy.lemonsqueezy_list_orders Read List all orders in your Lemon Squeezy store. Returns order details including status, totals, and customer info.
integration__lemon_squeezy__lemonsqueezy_get_order lemon-squeezy.lemonsqueezy_get_order Read Get details for a specific Lemon Squeezy order by ID. Returns full order information including line items, totals, and customer data.
integration__lemon_squeezy__lemonsqueezy_list_customers lemon-squeezy.lemonsqueezy_list_customers Read List all customers in your Lemon Squeezy store. Returns customer names, emails, and metadata.
integration__lemon_squeezy__lemonsqueezy_list_subscriptions lemon-squeezy.lemonsqueezy_list_subscriptions Read List all subscriptions in your Lemon Squeezy store. Returns subscription status, billing cycle, and customer info.
integration__lemon_squeezy__lemonsqueezy_get_current_user lemon-squeezy.lemonsqueezy_get_current_user Read Get the currently authenticated Lemon Squeezy user profile. Useful for verifying API credentials and viewing account info.

Related Lemon Squeezy Pages