KosmoKrator

ecommerce

Gumroad MCP Integration for OpenAI Agents SDK

Connect Gumroad to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Bearer token auth

Connect Gumroad 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.

Gumroad MCP Config for OpenAI Agents SDK

Use headless JSON commands for CI-style execution and MCP for agent tool discovery.

{
  "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

Scoped tools

Expose only Gumroad 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.

Gumroad Tools Visible to OpenAI Agents

OpenAI Agents sees stable MCP tool names generated from the Gumroad integration catalog.

MCP toolSource functionTypeDescription
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.

Related Gumroad Pages