ecommerce
Lemon Squeezy MCP Integration for OpenAI Agents SDK
Connect Lemon Squeezy to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Lemon Squeezy to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Lemon Squeezy MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"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 OpenAI Agents
OpenAI Agents 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. |