Payhip MCP server

Connect Payhip to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Payhip MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the create coupon tool in Payhip
  • Use the verify license key tool in Payhip
  • Use the manage license key tool in Payhip
  • Use the list coupons tool in Payhip
  • Use the get coupon tool in Payhip
  • Use the update license usage tool in Payhip

Supported Tools

create_coupon

Create Coupon

Creates a discount coupon for your Payhip store. Supports percentage-based or fixed-amount discounts. Coupons can be scoped to a single product, a collection of products, or all products in your store. Optionally configure start/end dates, minimum purchase amount, usage limits, and internal notes.

verify_license

Verify License Key

Verifies whether a customer's license key is valid and retrieves associated purchase details including buyer email, product name, enabled status, and usage count. Requires the **product secret key** to be configured in the authentication settings.

manage_license

Manage License Key

Enables or disables a customer's license key. Use this to control access to your software product. License keys are automatically disabled on refund. You may also disable keys for terms of service violations. Requires the **product secret key** to be configured in the authentication settings.

list_coupons

List Coupons

Retrieves a paginated list of coupons from your Payhip store. Use limit and offset to page through results.

get_coupon

Get Coupon

Retrieves the details of a specific coupon by its ID, including discount type, scope, validity dates, and usage limits.

update_license_usage

Update License Usage

Increments or decrements the usage counter of a license key. Useful for enforcing per-seat or limited-use licensing models. Requires the **product secret key** to be configured in the authentication settings.

Connect Payhip to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Payhip in Metorial. In your Metorial portal, enable the Payhip MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Payhip tools.

Run Payhip through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Payhip and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Payhip tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Payhip

Mailchimp

Manage email marketing audiences, campaigns, and automations. Create, send, schedule, and track email campaigns with detailed reporting on opens, clicks, and bounces. Add, update, and organize audience contacts with tags, segments, and interest groups. Set up and manage automation workflows triggered by subscriber activity or events. Connect e-commerce stores to manage customers, products, orders, and carts. Create and manage reusable email templates and landing pages. Upload and organize files for use in campaigns. Send transactional emails via the Mandrill API. Post custom events to trigger targeted automations. Configure webhooks to track subscribe, unsubscribe, profile updates, and email delivery events.

Zoho

Manage Zoho CRM, Bigin, Books, Inventory, Invoice, Desk, Mail, People, and Projects from one connection. Discover organizations and accounts, manage records and financial documents, work with support tickets and email, and organize employee and project data.

Quickbooks

Manage business finances and accounting in QuickBooks Online. Create, send, and track invoices. Manage bills and accounts payable, record bill payments. Create and update customer and vendor records with contact details and hierarchies. Record payments against invoices and credit memos. Create estimates, sales receipts, and journal entries. Track expenses and categorize against the chart of accounts. Manage items, products, services, and inventory levels. Query entities using SQL-like syntax and sync incremental changes via Change Data Capture. Generate financial reports including profit and loss, balance sheet, and cash flow. Process credit card and bank account (ACH) payments via the Payments API. Manage the chart of accounts for tracking income, expenses, assets, and liabilities.

Square

Process payments, manage orders, and handle invoices for online, in-app, and in-person commerce. Create and manage customer profiles, catalog items, inventory counts, and locations. Issue refunds, manage disputes, and track payouts. Create bookings and appointments, manage team members and timecards, handle gift cards and loyalty programs, and manage subscriptions. Save cards on file, generate checkout links, connect and control Square Terminal devices, and manage vendor/supplier information. Extend Square objects with custom attributes. Receive webhook notifications for payments, orders, customers, inventory, invoices, bookings, disputes, team changes, and more.

Freeagent

Manage FreeAgent contacts, invoices, estimates, supplier bills, expenses, projects, tasks, and timeslips. Browse bank accounts and transactions, identify the connected user, download invoice PDFs, and retrieve financial reports.

Gumroad

Manage digital and physical product sales on Gumroad. View and update product metadata, create and manage variant categories and options, and configure discount offer codes. Retrieve and filter sales data by date range for reporting. Manage subscribers and subscription lifecycles for recurring products. Refund sales, revoke or restore buyer access, and track payouts. Verify, enable, disable, and decrement license keys for purchase validation. Draft, schedule, and send audience emails to customers and followers. Read product reviews and access authenticated user profile information.

Technical notes for Payhip

Manage coupons and software license keys for a Payhip e-commerce store. Create, list, and retrieve discount coupons with configurable options like percentage or fixed-amount discounts, usage limits, and date ranges. Verify, enable, disable, and track usage of software license keys tied to digital products.

Frequently asked questions

Common questions about connecting Payhip to AI agents with Metorial.

  1. How many tools does the Payhip MCP server have?
    The Payhip MCP server exposes 6 tools, including Create Coupon, Verify License Key, Manage License Key. Each one is governed and traced through Metorial.
  2. Payhip exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Payhip MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Payhip and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Payhip MCP server yourself or use the hosted gateway.

Connect Payhip to production AI agents

See how Metorial gives your team governed access to Payhip, with tracing and security controls built in.