mcp-server-revenuecat
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-server-revenuecat
Multi-project MCP server for the RevenueCat REST API v2, written in Go.
RevenueCat's hosted MCP (https://mcp.revenuecat.ai/mcp) relies on OAuth sessions whose tokens expire, which breaks unattended and background agents. mcp-server-revenuecat uses RevenueCat API v2 secret keys (sk_...) that do not expire, and exposes multiple projects behind a single stdio, HTTP, or Cloudflare Worker endpoint.
Install
mise
mise installs Go packages natively via the go: backend (binary name: mcp-server-revenuecat):
mise use -g go:github.com/dvcrn/mcp-server-revenuecat/cmd/mcp-server-revenuecat@latestnpm
Installs the mcp-server-revenuecat binary (or run without installing via npx -y mcp-server-revenuecat):
npm install -g mcp-server-revenuecatgo install
Installs the mcp-server-revenuecat binary into $GOPATH/bin:
go install github.com/dvcrn/mcp-server-revenuecat/cmd/mcp-server-revenuecat@latestRelated MCP server: revenuecat-charts-mcp
Setup
Create a gitignored projects.json from projects.example.json:
cp projects.example.json projects.json[
{ "alias": "ios_app", "name": "Dummy iOS App", "project_id": "proj1ab2c3d4", "api_key": "sk_dummy_projectA" },
{ "alias": "android_app", "name": "Dummy Android App", "project_id": "proj5ef6g7h8", "api_key": "sk_dummy_projectB" }
]Every project-scoped tool accepts either alias or project_id. list_projects returns {alias, name, project_id} without exposing api_key.
Environment variables:
Variable | Required for | Description |
| always | JSON array of projects (the contents of |
| HTTP (unless | Bearer token ( |
| HTTP, optional | Separate bearer token restricted to read-only tools. Must differ from |
| optional |
|
Example MCP client config (stdio):
{
"mcpServers": {
"revenuecat": {
"command": "mcp-server-revenuecat",
"env": {
"MCP_READ_ONLY": "1",
"REVENUECAT_PROJECTS": "[{\"alias\":\"ios_app\",\"name\":\"Dummy iOS App\",\"project_id\":\"proj1ab2c3d4\",\"api_key\":\"sk_dummy_projectA\"}]"
}
}
}
}Run locally
Every install method provides the same mcp-server-revenuecat binary. Without installing, use npx -y mcp-server-revenuecat in its place, or go run ./cmd/mcp-server-revenuecat from a local checkout.
Stdio (default):
REVENUECAT_PROJECTS="$(cat projects.json)" npx -y mcp-server-revenuecatHTTP (/mcp and unauthenticated GET /health):
REVENUECAT_PROJECTS="$(cat projects.json)" MCP_TOKEN="$(openssl rand -hex 32)" npx -y mcp-server-revenuecat -http :8080Run on Wrangler (Cloudflare Workers)
Log in with wrangler login (or set CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID), then upload secrets and deploy:
wrangler secret put MCP_TOKEN
wrangler secret put MCP_READ_TOKEN # optional
mise run worker-projects # validates projects.json and sets REVENUECAT_PROJECTS
wrangler deploywrangler deploy builds the Go Wasm bundle automatically (bun run build). For local worker development, run wrangler dev (or mise run dev if using fnox for .dev.vars).
Example .mcp.json for the deployed worker:
{
"mcpServers": {
"revenuecat": {
"type": "http",
"url": "https://<worker>.<subdomain>.workers.dev/mcp",
"headers": { "Authorization": "Bearer ${MCP_TOKEN}" }
}
}
}Tools
Read-only (29)
Available in all modes (MCP_TOKEN, MCP_READ_TOKEN, and MCP_READ_ONLY=1):
Tool | Endpoint | Description |
| local config | List configured |
|
| List apps in a project |
|
| Get an app and its store configuration |
|
| Get overview metrics (active subscriptions, trials, MRR, revenue, active/new users) |
|
| Get supported resolutions, segments, filters, and selectors for a chart |
|
| Query chart time-series data and summary aggregations |
|
| List or search customers ( |
|
| Get a customer, active entitlements, and optional expanded |
|
| List active entitlements on a customer |
|
| List aliases linked to a customer |
|
| List attributes stored on a customer |
|
| List a customer's subscriptions |
|
| Search subscriptions by |
|
| Get a subscription by ID |
|
| List entitlements unlocked by a subscription |
|
| List a customer's one-time purchases |
|
| Search one-time purchases by |
|
| Get a one-time purchase by ID |
|
| List entitlements unlocked by a purchase |
|
| List products in a project, optionally filtered by |
|
| Get a product by ID |
|
| List entitlements in a project |
|
| Get an entitlement by ID |
|
| List products attached to an entitlement |
|
| List offerings in a project |
|
| Get an offering by ID |
|
| List packages in an offering |
|
| Get a package by ID |
|
| List products and eligibility criteria attached to a package |
Write (26)
Available only when MCP_READ_ONLY is unset/false and (over HTTP) when authenticated with MCP_TOKEN:
Tool | Endpoint | Description |
|
| Create a customer with |
|
| Permanently delete a customer |
|
| Set or delete ( |
|
| Grant a promotional entitlement until |
|
| Revoke an active promotional entitlement grant |
|
| Set ( |
|
| Transfer subscriptions and purchases to |
|
| Cancel an active Web Billing ( |
|
| Refund the latest Web Billing subscription payment and revoke access |
|
| Extend a subscription by |
|
| Refund a Web Billing one-time purchase and revoke access |
|
| Create a product in a project |
|
| Delete a product from a project |
|
| Create an entitlement |
|
| Update an entitlement's |
|
| Delete an entitlement |
|
| Attach products to an entitlement |
|
| Detach products from an entitlement |
|
| Create an offering |
|
| Update an offering's |
|
| Delete a non-default offering and its packages |
|
| Create a package inside an offering |
|
| Update a package's |
|
| Delete a package |
|
| Attach products and eligibility criteria to a package |
|
| Detach products from a package |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only revenue analytics from Stripe, Paddle, Polar, Lemon Squeezy, Creem and Freemius.
Lets AI agents analyze API metrics, request logs, and traces, and manage apps and alerts.
Read-only access to your own bank, card and brokerage accounts for Claude, ChatGPT and other AI agents: balances, transactions, spending, subscriptions, cashflow and investment holdings. It can never move money.
Safe, read-only Postgres and MySQL access for AI agents. Audit log + column-level controls.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for RevenueCat that lets AI agents query subscriber data, check entitlements, fetch offerings, and manage subscriptions via natural language.6MIT
- AlicenseAqualityDmaintenanceAn MCP server that gives AI agents access to RevenueCat's Charts & Metrics API. Query MRR, churn, trial conversion, revenue, and 17 more subscription metrics directly from Claude, Cursor, or any MCP client.55 npmMIT

RevenueDot MCPofficial
AlicenseAqualityBmaintenanceEnables AI assistants such as Claude, ChatGPT and Cursor to manage an open-source subscription backend: setting up products, entitlements, offerings and packages, looking up customers, granting or revoking access, adding webhooks, and tracking RevenueCat imports. Tool names mirror RevenueCat's MCP tools, so existing prompts work unchanged.3829 npmMIT
Evo CRM MCPofficial
AlicenseBqualityBmaintenanceEnables assistants to read and modify contacts, conversations, messages, pipelines, tasks, inboxes, and AI agents through the CRM REST API, using separate read-only or read-write tool sets. Runs over local stdio or stateless Streamable HTTP with token-based scope separation.17MIT