ecommerce
Gumroad MCP Integration for Vercel AI SDK
Connect Gumroad to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Gumroad to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
Gumroad MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"mcpServers": {
"kosmokrator-gumroad": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=gumroad",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=gumroad --write=deny Why Use KosmoKrator Here
Expose only Gumroad 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.
Gumroad Tools Visible to Vercel AI SDK
Vercel AI SDK sees stable MCP tool names generated from the Gumroad integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__gumroad__gumroad_list_products | gumroad.gumroad_list_products | Read | List all digital products in your Gumroad account. Returns product names, IDs, prices, and metadata. |
integration__gumroad__gumroad_get_product | gumroad.gumroad_get_product | Read | Get detailed information about a single Gumroad product by its ID. Returns full product data including description, price, variants, and purchase URL. |
integration__gumroad__gumroad_list_sales | gumroad.gumroad_list_sales | Read | List sales from your Gumroad account. Optionally filter by product ID, date range, or page. Returns sale details including buyer info, amount, and product. |
integration__gumroad__gumroad_list_subscribers | gumroad.gumroad_list_subscribers | Read | List all subscribers in your Gumroad account. Optionally filter by product ID to get subscribers for a specific membership or product. |
integration__gumroad__gumroad_get_subscriber | gumroad.gumroad_get_subscriber | Read | Get detailed information about a single Gumroad subscriber by their ID. Returns subscriber status, email, and subscription details. |
integration__gumroad__gumroad_list_offers | gumroad.gumroad_list_offers | Read | List all offers (discount codes) in your Gumroad account. Returns offer codes, discount amounts, and associated products. |
integration__gumroad__gumroad_get_current_user | gumroad.gumroad_get_current_user | Read | Get the profile of the currently authenticated Gumroad user. Useful to verify the connection and see account details. |