• PROMOTIONS
  • INVENTORY
  • HUMAN
  • AUDIT

How to create discount codes with your AI

Connect Gumroad to your agent to handle promotions. You'll manage your product offers without leaving your chat window.

Ask AI about this page

Short answer

How can I make discount codes using my AI?

You tell your agent what kind of discount you want, and it creates the code directly in Gumroad. You can also ask it to show you all your active codes. This setup gives you full control over your sales incentives through natural language.

The outcomes of this task.

Where your promotions land.

What happens when you run these commands.

PROMOTIONS

New offer codes

Your agent sets up specific discounts for your digital products. You get new codes ready for your customers immediately.

INVENTORY

Existing code list

The AI pulls a full list of your current promotional offers. You can see exactly what is active in your Gumroad account.

HUMAN

Manual adjustments

The AI handles the creation and listing, but you decide which discount amounts and names make sense for your brand. You keep the creative control.

AUDIT

Offer tracking

By listing your codes, you can verify which promotions are currently live. This helps you keep your marketing organized.

The workflow

What your AI does when the request arrives.

The agent translates your plain English instructions into specific Gumroad actions.

  1. Analyze the request

    Your agent looks at your prompt to determine if you want to make a new code or check on old ones.

    list_offer_codes
  2. Generate the code

    If you want a new discount, the agent sends the parameters to Gumroad to set it up.

    create_offer_code
  3. Fetch existing data

    If you ask to see your current deals, the agent pulls the data from your account.

    list_offer_codes
  4. Report back

    The agent presents the new code or the list of codes in a clean format for you to use.

    list_offer_codes

Try it

Copy these to start.

Use these prompts to trigger the Gumroad tools.

Starting points

These are basic ideas. Swap out the product names or discount percentages to match your actual sales.

Gumroad Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_Upt09IMUM3RQ7GpZpp08y1KBR5UMLrD1Alp7RWot/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Gumroad capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "gumroad-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_Upt09IMUM3RQ7GpZpp08y1KBR5UMLrD1Alp7RWot/mcp"
    }
  }
}
Copy into chat04
  • Create a 20% discount code named SUMMER20 for my ebook.

  • Show me all the active offer codes I have on Gumroad.

  • Make a 50% off coupon called FLASH50 for my digital art pack.

  • List my current promotional codes so I can check them.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Gumroad once, then ask.

Just link your account once. Your credentials stay encrypted, and you can start managing offers immediately.

Connect Gumroad to your AI

FAQ

How this task behaves.

  • 01

    Can the AI change the price of my product?

    No. The AI only manages offer codes. It cannot change the base price of your products.

  • 02

    Can the AI delete my existing discount codes?

    No. The current tools only allow for creating and listing codes. Deleting requires you to do it in Gumroad.

  • 03

    How do I know if a code was created successfully?

    The agent will confirm the action and typically show you the details of the new code it just made.

  • 04

    Can I use this to create bulk discounts?

    You can ask the agent to create multiple codes one by one, but it does not have a single bulk create tool.

  • 05

    Does the AI see my customer email list?

    No. This MCP only interacts with offer codes, not your customer database or sales history.

  • More questions about Gumroad? See everything the Gumroad Connector can do

Connect Gumroad to Claude, Cursor, ChatGPT & more