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.
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.
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.
Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
Sign in. Select Add and sign in to load Payhip tools.
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.
Add a custom MCP server. On ChatGPT web, open Plugins, select +, then Add custom MCP server.
Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>), choose OAuth and accept the risk notice.
Create and install the plugin. Select Create as a plugin, install it and sign in to load Payhip tools.
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.
Add Metorial to your MCP config. Use ~/.cursor/mcp.json for every project, or .cursor/mcp.json for one.
Sign in. Open Customize in the sidebar, find Metorial and sign in to load Payhip tools.
{
"mcpServers":{
"metorial":{
"url":"<your-magic-mcp-url>"
}
}
}
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.
Add the server over HTTP. Add --scope user to use it in every project.
Sign in. Run /mcp, select Metorial and sign in to load Payhip tools.
claude mcp add --transport http metorial <your-magic-mcp-url>
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.
Add the server and sign in. The Codex CLI, IDE extension and ChatGPT desktop app share this config.
Check the connection. Type /mcp in Codex to see Metorial and its Payhip tools.
codex mcp add metorial --url <your-magic-mcp-url>
codex mcp login metorial
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.
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.
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.
Does the Payhip MCP server support triggers?
Payhip exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
Which AI clients can use the Payhip MCP server?
Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Payhip MCP server through the same Metorial URL.
How do I give only some teams access to Payhip?
Use role-based access control to decide which teams, users, and agents can use Payhip and which of its tools they can call.
Can I self-host the Payhip MCP server?
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.