Connect OpenCode to Voucherify
Set up in minutes
Choose where it runs
On your computer through your own OpenCode, or hosted in the cloud. The rest of setup adapts to your choice:
Pick what it can do in Voucherify
A preset of real Voucherify operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect Voucherify
One sign-in. The agent acts through your account, scoped to the operations you picked.
Add your personal MCP link
The last step mints a private MCP URL for this agent and walks you through exactly this, with your real link filled in. The page flips to Connected the moment your OpenCode first calls in. opencode mcp add only saves the config. OpenCode connects when it starts — run opencode, or restart a running one.
1. Run this in your terminal
2. Choose Remote and paste your server URL
3. Choose No when asked about OAuth authentication — the link itself is the key
<your-link> is your personal server URL — setup mints it for you.
Tools OpenCode gets
Voucherify
24 toolsRead customer IDs/names/email; addresses, phone and custom metadata are omitted.
Read one canonical customer ID.
Create or match customer metadata; may trigger project automation.
Update selected customer metadata; may trigger project automation.
Soft-delete a customer to the provider bin; not permanent deletion.
Read product metadata without prices, images or custom metadata.
Read one canonical catalog product.
Create catalog metadata without setting a price or image URL.
Update a product's name, attribute names or metadata.
Move a product and ALL related SKUs to the provider bin; force permanent deletion is disabled.
Read a page of SKUs and verify every product association.
Read a SKU using the global SKU endpoint and verify its product.
Create product-scoped SKU metadata without price, currency or image changes.
Update a verified product-scoped SKU's ordinary metadata.
Move a verified product-scoped SKU to the provider bin, with permanent deletion disabled.
Read campaign names/types/status; no discount, balance or distribution data.
Read one canonical campaign's selected metadata.
Update campaign metadata; may trigger asynchronous voucher updates or automation.
Read vouchers in one verified campaign without balances, holders or assets.
Read a voucher code and verify the campaign association.
Update a verified voucher's custom metadata without changing discount or balance.
Read the documented unpaged promotion-tier list for one campaign, bounded to 100 rows.
Read a promotion tier and verify its campaign association.
Validate existing discount coupons/tiers without redemption or a session lock. Records history and uses API quota.
About OpenCode
Frequently asked questions
More ways to connect
More tools for OpenCode
Use Voucherify with other agents
Open your OpenCode agent in one click.
NoClick runs OpenCode for you with Voucherify wired in as tools. Connect your account and run.