MetorialDocs

Set up Gumroad in Metorial for Claude, ChatGPT and Cursor

Share Gumroad with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or access token sign-in, 20 tools (13 read-only).

To give your team Gumroad in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Gumroad integration in a Metorial portal, and each person signs in to Gumroad with their own account. Agents can manage digital and physical product sales on Gumroad. The integration has 20 tools, 13 read-only, 3 write and 4 destructive, plus 2 triggers.

What you'll learn

  • How an admin shares Gumroad in a portal and how each person connects
  • The 7 OAuth scopes Gumroad can request, and what each one allows
  • How to keep the 13 read-only tools and reject the other 7

Before you start

Sign-in methods

MethodTypeWhat a person provides
OAuth (default)OAuthSigns in to Gumroad
Access TokenAPI tokentoken

The portal and metorial setup use OAuth unless someone picks another method.

OAuth

People sign in to Gumroad and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
view_profileView ProfileRead public profile and product information
edit_productsEdit ProductsCreate and manage products, offer codes, variants, custom fields, and files
view_salesView SalesView sales data, subscribers, and transaction information
edit_salesEdit SalesRefund sales and resend purchase receipts
mark_sales_as_shippedMark Sales as ShippedMark sales as shipped with tracking information
view_payoutsView PayoutsView payout information
view_tax_dataView Tax DataView annual earnings and tax data

Access Token

To connect, a person enters:

  • token: Personal access token generated from Gumroad Advanced Settings

Use your own Gumroad OAuth app

With your own OAuth app, people see your company's name on the Gumroad consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Gumroad and copy the Redirect URI.

Register the app with Gumroad

Create an OAuth app or client in Gumroad and add the redirect URI from Metorial as its redirect or callback URL.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Gumroad integration.

Admin: share Gumroad in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Gumroad. Under Auth Method, keep OAuth or pick another. For how members connect, choose Each person connects, so everyone signs in to Gumroad as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Gumroad.

Choose who gets it

Add the access groups that should see Gumroad. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Gumroad integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search gumroad

Employee: connect Gumroad

In the portal

Open Gumroad in the catalog

Sign in to your portal and open Gumroad. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. A Gumroad sign-in tab opens. Sign in and approve the permissions listed.

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search gumroad
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses OAuth. To connect with Access Token instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Gumroad connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list gumroad
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 13 read-only tools, such as get_sale and get_user, and lose the 3 write tools, such as manage_variants or manage_offer_codes, and the 4 destructive tools, such as manage_sale or manage_emails.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list gumroad
metorial tools <integration-id>
metorial call <integration-id> get_user -d '{}'

metorial tools lists the 20 tools, minus any you rejected. get_user takes no input. It retrieves the authenticated Gumroad user's profile information, including name, email, bio, profile URL, and profile picture.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (13)

  • list_products: Retrieve products from your Gumroad account.
  • list_subscribers: Retrieve active subscribers for a specific Gumroad product. Needs productId.
  • get_sale: Retrieve detailed information about a specific Gumroad sale, including buyer details, product info, and transaction amounts. Needs saleId.
  • list_sales: Retrieve sales from your Gumroad account with optional filtering by date range, buyer email, buyer name, license key, product, or order ID.
  • get_subscriber: Retrieve detailed information about a specific Gumroad subscriber by their subscriber ID. Needs subscriberId.
  • get_user: Retrieve the authenticated Gumroad user's profile information, including name, email, bio, profile URL, and profile picture.
  • get_product: Retrieve detailed information about a specific Gumroad product, including variant categories, custom fields, and tags. Needs productId.
  • get_payout: Retrieve details for a specific Gumroad payout, optionally including sale IDs and exported transaction rows. Needs payoutId.
  • get_upcoming_payouts: Retrieve upcoming Gumroad payouts for the authenticated user.
  • get_earnings: Retrieve the annual Gumroad earnings breakdown matching Tax Center totals. Needs year.
  • list_categories: Retrieve the Gumroad product category list.
  • list_payouts: Retrieve Gumroad payouts for the authenticated user.
  • list_product_reviews: Retrieve the public reviews shown on one of your Gumroad product pages, newest first, including rating, review text, reviewer name, submission date, and any seller reply.

Write tools (3)

  • manage_offer_codes: List, create, update, or delete discount offer codes for a Gumroad product. Needs action and productId.
  • manage_variants: Manage variant categories and individual variants on a Gumroad product. Needs action and productId.
  • manage_custom_fields: List, create, update, or delete custom fields on a Gumroad product. Needs action and productId.

Destructive tools (4)

  • manage_license: Verify, enable, disable, decrement uses, or rotate a Gumroad license key. Needs action, productId and licenseKey.
  • manage_sale: Mark a sale as shipped, refund a sale, revoke or restore the buyer's access, or resend the purchase receipt. Needs action and saleId.
  • manage_product: Create, update, enable, disable, or delete a Gumroad product. Needs action.
  • manage_emails: List, read, draft, preview, send, schedule, unschedule, or delete Gumroad audience emails (posts) sent to customers, followers, or buyers of a specific product.

Triggers

Gumroad has 2 triggers, which fire on events in Gumroad:

  • sale_events: Triggers when a sale occurs, is refunded, or a dispute is opened or won on your Gumroad account.
  • subscription_events: Triggers when a subscription is cancelled, updated, ended, or restarted on your Gumroad account.

Next steps