Skip to main content
Glama
gumroad-mcp-server

gumroad-mcp-server

by N-Graves

gumroad-mcp-server

A Model Context Protocol server for the Gumroad v2 API.

All 105 seller operations — products, variants and price tiers, custom checkout fields, offer codes, sales, payouts, subscribers, storefront pages and media, upsells, UTM links, email broadcasts and workflows, licence keys, and webhooks.

MIT licensed.

Install

npm install -g @nasdigitaluk/gumroad-mcp

Related MCP server: Product Hunt MCP Server

Configuration

{ "env": { "GUMROAD_ACCESS_TOKEN": "your-access-token" } }

Gumroad access tokens do not expire, so there is no refresh machinery here and no credentials file. GUMROAD_BASE_URL overrides the API host if you need it to.

⚠️ What is deliberately absent

The server this was rebuilt from did this, inherited from its upstream fork:

if (url !== GumroadClient.BASE_URL) {
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
}

That disables TLS certificate verification for the entire Node process — every request anything in it makes, not just Gumroad's — and it triggers on any difference from the exact production string, including a trailing slash. A typo in a base URL silently turned off certificate checking.

There is no such escape hatch here. A non-production base URL is just a base URL, and there is a test asserting that pointing the client somewhere else leaves NODE_TLS_REJECT_UNAUTHORIZED untouched.

Where the catalogue comes from

Gumroad publishes no OpenAPI document. Every other server in this family generates its catalogue from the provider's own spec; this one cannot, so vendor/gumroad-operations.json is the spec.

Each entry was read off Gumroad's own config/routes.rb and, where the parameters mattered, the controller behind it — not from a documentation page. That is deliberate: the routing table is the thing the server actually dispatches against, and documentation that advertises endpoints which do not exist is a recurring way to waste an afternoon.

Not catalogued: the /v2/walks/* namespace, which belongs to Gumroad's own iOS app (device attestation, realtime tokens) rather than to sellers. It is named here rather than listed as an excluded operation because inventing its exact routes would be worse than saying plainly that it was left out.

To refresh, re-read the routes, update the vendored JSON, then:

npm run generate && npm test

The coverage test fails if the generated catalogue and the vendored table drift apart.

Two traps worth knowing before you call anything

Creating a product does not put it on sale. Gumroad's controller sets draft: true, so a created product has purchases disabled until enableProduct publishes it. Useful, and not obvious.

createProduct takes a price in CENTS; updateProduct takes dollars. That asymmetry is Gumroad's, not this server's. It is stated in the tool description rather than silently normalised, because a hidden conversion is a worse trap than a documented one.

Two more, both encoded in the catalogue so they arrive as an explanation rather than a mystery:

  • getEarnings, listTaxForms and downloadTaxForm need "Tax center" enabled on the account and otherwise return "Tax center is not enabled for this account." That is an account setting, not a fault — use getSalesSummary and do not retry.

  • listWebhooks requires resource_name. Without it Gumroad answers "Valid resource_name parameter required", which reads exactly like a broken tool.

Tools

Eight tools for 105 operations. Every tool name and description is paid for in the model's context window on every turn, used or not.

Tool

gumroad_list_operations

Browse the catalogue. Start here.

gumroad_call

Call any operation by id.

gumroad_get_user

The seller account.

gumroad_list_products

Every product.

gumroad_get_product

One product, with variants.

gumroad_create_product

Create a draft. Price in cents.

gumroad_get_sales

Sales, one row each.

gumroad_get_sales_summary

Gross / net / unit totals.

Each dedicated tool names the operation id it corresponds to, so there is still one place to look.

Of 105 operations: 46 read, 43 write, 16 destructive. Gumroad's own financial grouping covers 12 of the reads — those read money without moving it, so they stay available in read-only mode. Moving money (refundSale) and reaching real customers (sendEmail, scheduleEmail) are destructive.

Read-only and no-destructive modes

MCP_READ_ONLY=1       refuse anything that changes state
MCP_NO_DESTRUCTIVE=1  allow writes, refuse refunds, deletes and sends

⚠️ gumroad_call is one door onto all 105 operations, sixteen of which are destructive, so it is classified destructive and MCP_READ_ONLY=1 refuses it outright. The dedicated read tools stay usable in that mode.

Testing

npm test                                          # 15 tests
SMOKE_ENV='{"GUMROAD_ACCESS_TOKEN":"x"}' npm run smoke   # real MCP over stdio

Built on

@nasdigitaluk/mcp-server-core.

Licence

MIT.

Available Tools

8 tools
gumroad_callB

Call any Gumroad operation by id. Some of these move real money or reach real customers — refundSale, sendEmail, scheduleEmail — so this is classified destructive as a whole. Check the operation's summary before calling it.

Inputs: operation_id (required), body, params.

gumroad_create_productA

Create a product. It is created as a DRAFT with purchases disabled — Gumroad's own controller sets draft=true — so this cannot put anything on sale. Publishing is a separate call (enableProduct). Operation id: createProduct.

⚠️ price_cents is in CENTS here, while Gumroad's UPDATE endpoint takes dollars. That asymmetry is upstream's, not this server's, and it is stated rather than silently normalised because a silent conversion is worse than a documented trap.

Inputs: name (required), price_cents (required), tags, description, +2 more.

gumroad_get_productA

One product in full, including its variants. Operation id: getProduct.

Inputs: product_id (required).

gumroad_get_salesC

Sales, one row each. Reads money without moving it. Operation id: listSales.

Inputs: after, email, before, page_key, +1 more.

gumroad_get_sales_summaryA

Gross, net and unit totals over a date range. Operation id: getSalesSummary.

Use this rather than getEarnings: earnings and the tax-form endpoints need 'Tax center' enabled on the account and otherwise return 'Tax center is not enabled for this account.' That is an account setting, not a fault — do not retry it.

Inputs: after, before.

gumroad_get_userB

The authenticated seller account. Operation id: getUser.

Inputs: no named parameters.

gumroad_list_operationsA

Browse all 105 operations in the Gumroad v2 API — products, variants, sales, payouts, storefront pages, email broadcasts, licences and webhooks. Use this to find an operation id for gumroad_call. The few most common ones also have a dedicated tool below.

Inputs: search.

gumroad_list_productsB

Every product on the account. Operation id: listProducts.

Inputs: page_key.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 8 tools

    Disambiguation4/5

    Each dedicated tool targets a specific resource or action, and the generic gumroad_call plus gumroad_list_operations are clearly framed as an escape hatch for all other operations. There is intentional overlap between generic and dedicated paths, but the descriptions make the distinction workable.

    Naming Consistency4/5

    All tools share the gumroad_ prefix and mostly follow a verb_noun snake_case pattern. Minor inconsistencies exist: collection reads mix get_sales and list_products, while gumroad_call is a generic verb with no noun target.

    Tool Count5/5

    Eight tools is a well-scoped surface for a Gumroad API wrapper. The generic call tool keeps the count reasonable instead of exposing all 105 operations as individual tools.

    Completeness5/5

    The combination of gumroad_list_operations and gumroad_call provides access to the full Gumroad v2 API, so missing dedicated update/publish/delete tools are not actual gaps. Common product, sales, and user workflows all have direct tools.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      F
      maintenance
      Enables interaction with the Productboard REST API, providing tools to manage features, notes, companies, objectives, initiatives, key results, releases, webhooks, users, products, and components.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to run a Gumroad store through the API v2, covering product creation, publishing and archiving, file and image management, sales listing and refunds, receipts, subscribers, license keys, offer codes, custom fields, stock, and webhooks. It also scans the public Gumroad storefront by keyword to size a niche (product count, price spread, top sellers) before you launch into it.
      MIT