Skip to main content
Glama

ClickBank MCP Server

Stdio Model Context Protocol server for ClickBank REST 1.3. Cursor and other MCP hosts can query analytics, orders, products, quickstats, shipping, and tickets. Write operations (refunds, catalog edits, subscription changes) are off unless you opt in.

Setup

  1. Create an API key in ClickBank: How to create ClickBank API keys.

  2. Grant the key the roles you need (api_order_read, api_products_client, api_order_write, api_subscription_modifications, and so on).

  3. Copy .env.example and fill in values (the server reads process env, not the file, unless your host injects it).

npm install
npm run build

Required environment:

Variable

Purpose

CLICKBANK_API_KEY

Clerk key, including the API- prefix

CLICKBANK_ACCOUNT

Default nickname (5–10 lowercase alphanumeric). Required for analytics; default for quickstats

CLICKBANK_ENABLE_WRITES

Set to true to register refund, product, shipping-notice, and subscription tools

CLICKBANK_DEV_KEY

Optional legacy developer key; Authorization becomes DEV-…:API-…

CLICKBANK_BASE_URL

Override API root (default https://api.clickbank.com/rest/1.3)

ClickBank no longer requires a developer key. Do not log or commit the Authorization header.

Related MCP server: wealthbox-mcp

Cursor

Build first, then point Cursor at dist/index.js:

{
  "mcpServers": {
    "clickbank": {
      "command": "node",
      "args": ["/absolute/path/to/clickbank-mcp/dist/index.js"],
      "env": {
        "CLICKBANK_API_KEY": "API-your-key-here",
        "CLICKBANK_ACCOUNT": "yournick",
        "CLICKBANK_ENABLE_WRITES": "false"
      }
    }
  }
}

Keep CLICKBANK_ENABLE_WRITES false unless you want the model to be able to refund, delete products, or change subscriptions.

Tools

Read tools are always registered:

  • Analytics: get_analytics, get_subscription_analytics

  • Orders: list_orders, count_orders, get_order, get_order_upsells, check_order_active

  • Products: list_products, get_product

  • Quickstats: list_quickstats, summarize_quickstats, list_clickbank_accounts

  • Shipping: list_shippable_orders, count_shippable_orders, get_ship_notices

  • Tickets: list_tickets, count_tickets, get_ticket, get_refund_amounts

Write tools (only when CLICKBANK_ENABLE_WRITES=true):

  • modify_subscription — product swap, address, rebill date, extend, pause, reinstate

  • save_product, delete_product

  • create_ship_notice

  • create_ticket, update_ticket, confirm_physical_return

List endpoints return 100 rows per page. Pass page and optional maxPages (max 10). HTTP 206 means more pages remain. The client spaces requests (~8/s) to stay under ClickBank’s 10 requests/second quota.

Development

npm test
npm run dev

npm run dev still needs CLICKBANK_API_KEY in the environment. Tests mock fetch and do not call ClickBank.

Install Server
A
license - permissive license
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Exposes the Wealthbox CRM API to MCP-enabled clients, enabling operations on contacts, tasks, events, notes, opportunities, projects, workflows, and more.
    51
    10
    3
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides comprehensive access to the Constant Contact API v3 for email marketing, campaign management, contact management, analytics, and automation through MCP tools.
    2

View all related MCP servers

Related MCP Connectors

  • Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.

  • Search, document and execute authenticated API calls across 700+ apps via one MCP server

  • Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/renatodts/clickbank-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server