ecommerce
Lemon Squeezy MCP Integration for Claude Agent SDK
Connect Lemon Squeezy to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Lemon Squeezy to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
Lemon Squeezy MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"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
Expose only Lemon Squeezy instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Lemon Squeezy Tools Visible to Claude Agent SDK
Claude Agent SDK sees stable MCP tool names generated from the Lemon Squeezy integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |