ecommerce
Gumroad CLI for Coding Agents
Use the Gumroad CLI for coding agents with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write Bearer token auth
Gumroad CLI for Coding Agents
Let coding agents discover schemas and execute integration functions through CLI commands or MCP.
Use this pattern when another coding agent needs exact commands and schema discovery. The Gumroad CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Gumroad CLI for Coding Agents
kosmokrator integrations:configure gumroad --set access_token="$GUMROAD_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call gumroad.gumroad_list_products '{}' --json Discovery Before Execution
Agents and scripts can inspect Gumroad docs and schemas before choosing a function.
kosmo integrations:docs gumroad --json
kosmo integrations:docs gumroad.gumroad_list_products --json
kosmo integrations:schema gumroad.gumroad_list_products --json
kosmo integrations:search "Gumroad" --json
kosmo integrations:list --json Useful Gumroad CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
gumroad.gumroad_list_products | Read | none | List all digital products in your Gumroad account. Returns product names, IDs, prices, and metadata. |
gumroad.gumroad_get_product | Read | product_id | Get detailed information about a single Gumroad product by its ID. Returns full product data including description, price, variants, and purchase URL. |
gumroad.gumroad_list_sales | Read | product_id, before, after, page | List sales from your Gumroad account. Optionally filter by product ID, date range, or page. Returns sale details including buyer info, amount, and product. |
gumroad.gumroad_list_subscribers | Read | product_id, page | List all subscribers in your Gumroad account. Optionally filter by product ID to get subscribers for a specific membership or product. |
gumroad.gumroad_get_subscriber | Read | subscriber_id | Get detailed information about a single Gumroad subscriber by their ID. Returns subscriber status, email, and subscription details. |
gumroad.gumroad_list_offers | Read | none | List all offers (discount codes) in your Gumroad account. Returns offer codes, discount amounts, and associated products. |
gumroad.gumroad_get_current_user | Read | none | Get the profile of the currently authenticated Gumroad user. Useful to verify the connection and see account details. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.