A Model Context Protocol (MCP) server implementation for Gumroad API
A Model Context Protocol (MCP) server implementation for Gumroad, enabling MCP-compatible AI clients like Claude Desktop to interact with Gumroad API.
The Model Context Protocol (MCP) allows AI assistants to interact with external tools and services.
Start using Gumroad MCP Server with Claude Desktop in seconds:
npx gumroad-mcp@latest init
This command sets up the MCP server with your Gumroad credentials through an interactive prompt.
Once configured, try these commands in your MCP-compatible client:
gumroad_get_products
- Get all productsgumroad_get_product
- Get a single product by IDgumroad_disable_product
- Disable a productgumroad_enable_product
- Enable a productgumroad_get_sales
- Get sales datagumroad_get_offer_codes
- Get all offer codes for a productgumroad_get_offer_code
- Get a single offer codegumroad_create_offer_code
- Create a new offer codegumroad_update_offer_code
- Update an existing offer codegumroad_delete_offer_code
- Delete an offer codegumroad_get_user
- Get authenticated user dataTo install gumroad-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @rmarescu/gumroad-mcp --client claude
To verify you have Node installed, open the command line on your computer.
Once in the command line, verify you have Node installed by entering in the following command:
node --version
Gumroad API requires authentication. To generate an access token, follow these steps:
http://127.0.0.1
(localhost) as this value is not meaningful in this context.Keep your access token safe and confidential, like a password. You’ll need to include it in your configuration as shown below.
If you use Claude Desktop, you can use the interactive setup:
npx gumroad-mcp@latest init
For other MCP-enabled applications, you will need to update the MCP configuration manually.
Example config
{
"mcpServers": {
"gumroad": {
"command": "npx",
"args": ["-y", "gumroad-mcp@latest"],
"env": {
"GUMROAD_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
If you’re using a self-hosted Gumroad instance, you can configure the server to connect to your custom URL via GUMROAD_BASE_URL
:
{
"mcpServers": {
"gumroad": {
"command": "npx",
"args": ["-y", "gumroad-mcp@latest"],
"env": {
"GUMROAD_ACCESS_TOKEN": "<YOUR_TOKEN>",
"GUMROAD_BASE_URL": "https://example.com"
}
}
}
}
[!NOTE] The server automatically appends the API version (
/v2
) to your base URL. For example, withGUMROAD_BASE_URL="https://example.com"
, API requests will be sent tohttps://example.com/v2
.
Please refer to these instructions on how to add the MCP Server to Claude Desktop.
Found a bug or want to suggest a feature? Please open an issue or submit a pull request on GitHub.
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.