RevenueCat MCP Server
RevenueCat provides an official remote MCP server that lets AI agents query your subscription revenue data in real time.Setup
1. Get your API key
Follow the RevenueCat service setup to get yourREVENUECAT_API_V2_SECRET_KEY.
2. Add to your environment
Make sure the key is in your root.env file (not apps/app/.env.local):
.env
3. Configuration in opencode.json
The MCP server is already configured inopencode.json:
opencode.json
Server details
| Property | Value |
|---|---|
| Type | Remote (hosted by RevenueCat) |
| URL | https://mcp.revenuecat.ai/mcp |
| Authentication | Bearer token (same V2 secret key as the API) |
| Required env var | REVENUECAT_API_V2_SECRET_KEY |
What agents can do
With this MCP server, an AI agent can:- Query current MRR and revenue metrics
- Check subscriber counts and trends
- Investigate revenue changes
- Pull transaction details
Using with different AI tools
Claude Code / OpenCode
Already configured viaopencode.json. No extra setup needed.