MCP Server
Connect AI tools like Claude, Cursor, and Codex to manage your store
What is MCP?
The Model Context Protocol is an open standard that lets AI assistants interact with external tools. The revnu MCP server exposes 47 tools across 12 modules, giving your AI assistant full access to manage your store, products, licenses, analytics, coupons, affiliates, and more.
Prerequisites
You need an API key from your revnu dashboard:
- 1. Go to Dashboard → CLI
- 2. Your API key is displayed under API Keys & MCP
- 3. Copy the key (or use the one-click install buttons)
Setup
Cursor
Click Add to Cursor in your dashboard CLI page — it opens a deeplink that configures everything automatically.
Or add manually to .cursor/mcp.json:
{
"mcpServers": {
"revnu": {
"type": "streamable-http",
"url": "https://revnu.app/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Claude Code
Run this command in your terminal:
claude mcp add --transport http revnu https://revnu.app/api/mcp \
--header "Authorization: Bearer YOUR_API_KEY"Claude Desktop
Add this to your Claude Desktop MCP configuration file:
{
"mcpServers": {
"revnu": {
"type": "streamable-http",
"url": "https://revnu.app/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Codex
export REVNU_API_KEY="YOUR_API_KEY"
codex mcp add revnu --url https://revnu.app/api/mcp \
--bearer-token-env-var REVNU_API_KEYConfiguration
All editors use the same configuration structure:
Transport: streamable-http
Endpoint: https://revnu.app/api/mcp
Authentication: Bearer token via Authorization header
Tool Reference
47 tools across 12 modules. Each tool is callable from any MCP-compatible AI assistant.
Store (4 tools)
get_contextGet full onboarding context including store, products, connections, and next stepscreate_storeCreate a new store with name, subdomain, and optional settingsupdate_storeUpdate store name, description, currency, or product typesset_product_typesSet available product types (discord, license_key, web_app)Products (5 tools)
list_productsList all products, optionally filtered by statuscreate_productCreate a product with name, price, billing interval, and featuresget_productGet a single product by IDupdate_productUpdate product name, description, price, or settingsdelete_productDelete a productLicenses (4 tools)
list_licensesList license keys, optionally filtered by statusget_licenseGet license key details including device activationsrevoke_licenseRevoke a license keyreactivate_licenseReactivate a revoked license keyCoupons (6 tools)
list_couponsList coupons, optionally filtered by statuscreate_couponCreate a coupon with code, discount type, duration, and scopeupdate_couponUpdate coupon redemption limits, expiry, or scopedelete_couponDelete a couponactivate_couponActivate a paused couponpause_couponPause an active couponAnalytics (3 tools)
get_kpisGet key performance indicators (revenue, customers, MRR, churn)get_recent_purchasesGet recent purchases with optional limitget_revenueGet revenue timeseries data with optional date rangePurchases (2 tools)
list_purchasesList purchases with optional status, date range, and limit filtersget_purchaseGet details of a specific purchaseAffiliates (6 tools)
list_affiliatesList affiliates, optionally filtered by statuscreate_affiliateInvite a new affiliate by email and nameupdate_affiliateUpdate an affiliate's name or emaildelete_affiliateRemove an affiliateget_affiliate_settingsGet affiliate program settingsupdate_affiliate_settingsUpdate commission rates, cookie expiry, payout minimumsA/B Tests (7 tools)
list_abtestsList all A/B testscreate_abtestCreate a test with variants, weights, duration, and goaldelete_abtestDelete a teststart_abtestStart a draft testpause_abtestPause a running teststop_abtestStop a test and determine winnerget_abtest_resultsGet test results with conversion dataPublishing (3 tools)
publish_storePublish store and mark onboarding completesetup_hostingTrigger subdomain provisioning for your storeget_hosting_statusPoll hosting/deployment statusStripe (2 tools)
get_stripe_connect_urlGet Stripe Connect onboarding URLget_stripe_statusPoll Stripe connection statusDiscord (2 tools)
get_discord_auth_urlGet Discord OAuth URLs for account and bot setupget_discord_statusPoll Discord connection statusAssets (3 tools)
upload_logoUpload a logo or banner from a URLgenerate_landing_pageStart AI landing page generation with a vibe descriptionget_landing_page_statusPoll landing page generation progressExample Usage
Once connected, use natural language with your AI assistant:
"What's my store's revenue this month?"
"Create a product called Pro Plan for $29/month"
"List all active license keys"
"Create a 20% off coupon code LAUNCH20"
"Show me my A/B test results"
"Invite john@example.com as an affiliate"