A server for migrating subscription businesses from RevenueCat to Adapty, requiring a RevenueCat API key.
A Model Context Protocol (MCP) server that helps users migrate their subscription business from RevenueCat to Adapty. This MCP provides tools for data export, analysis, and automated migration through natural language interactions with LLMs like Claude Desktop.
Clone the repository:
git clone <repository-url>
cd rc-adapty-migration-mcp
Create a virtual environment:
python3 -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
Install the package:
pip install -e .
Set up environment variables:
export REVENUECAT_API_KEY="your_revenuecat_api_key"
REVENUECAT_API_KEY
: Your RevenueCat secret API key (required)REVENUECAT_PROJECT_ID
: Optional RevenueCat project IDLOG_LEVEL
: Optional logging level (INFO, DEBUG, etc.)Important: Adapty uses username/password authentication, not API keys. Your Adapty credentials are provided at runtime when calling migration tools and are not stored permanently.
Create an MCP configuration file (e.g., mcp-config.json
):
{
"mcpServers": {
"rc-adapty-migration": {
"command": "rc-adapty-migration-mcp",
"env": {
"REVENUECAT_API_KEY": "your_revenuecat_api_key"
}
}
}
}
{
"name": "export_revenuecat_data",
"arguments": {
"output_format": "summary"
}
}
{
"name": "analyze_revenuecat_structure",
"arguments": {
"analysis_depth": "detailed"
}
}
{
"name": "migrate_to_adapty",
"arguments": {
"adapty_email": "user@example.com",
"adapty_password": "your_password",
"migration_scope": "full"
}
}
Security Note: When using the migration tool, your Adapty credentials are only used for the specific migration operation and are not stored or logged.
Users install the MCP locally on their machine:
Pros:
Cons:
Deploy the MCP as a hosted service:
Pros:
Cons:
rc-adapty-migration-mcp/
├── src/rc_adapty_migration/
│ ├── api/
│ │ ├── revenuecat.py # RevenueCat API client
│ │ └── adapty.py # Adapty API client
│ ├── auth/
│ │ └── credentials.py # Credential management
│ ├── models/
│ │ └── revenuecat.py # Data models
│ ├── tools/ # Migration tools
│ ├── utils/
│ │ └── logging.py # Logging utilities
│ └── server.py # MCP server implementation
├── tests/ # Test files
├── pyproject.toml # Project configuration
└── README.md # This file
# Run all tests
pytest
# Run specific test
pytest tests/test_revenuecat_export.py
# Run with coverage
pytest --cov=src/rc_adapty_migration
Test RevenueCat export:
python test_revenuecat_full_chain.py
Test Adapty migration:
python test_adapty_full_chain.py
"API key not found"
REVENUECAT_API_KEY
environment variable is set"Login failed"
"No projects found"
Enable debug logging:
export LOG_LEVEL=DEBUG
rc-adapty-migration-mcp
MIT License - see LICENSE file for details
For issues and questions:
Enables AI agents to discover, create, and execute complex, multi-step workflows defined in simple YAML files.
Interact with Notion's API to read, create, and modify content using natural language.
Excel manipulation including data reading/writing, worksheet management, formatting, charts, and pivot table
Provides secure, read-write access to Breathe HR data for AI assistants.
Integrates with the Canvas Learning Management System (LMS), supporting FERPA-compliant anonymization and privacy controls.
A research server that retrieves and creates survey data pages in Notion.
A server that enables access to Joplin notes and to-dos through the Model Context Protocol (MCP).
Access data from the Bakaláři school system, including schedules, absences, and grades, through a standardized API.
Interact with the accounting data in your business using our official MCP server
Manages configurations for MCP clients, automatically detecting file paths based on OS and client.