An MCP (Model Context Protocol) server that connects to the Google Play Developer API. Deploy apps, manage releases, respond to reviews, and monitor app health β all through your AI assistant.
π Full Documentation
- π App Deployment β Deploy APK/AAB files to any track (internal, alpha, beta, production)
- β‘ Batch Operations β Deploy to multiple tracks simultaneously
- π Multi-Language Support β Deploy with release notes in multiple languages
- β Input Validation β Validate package names, tracks, and text before API calls
- π Automatic Retries β Built-in retry logic with exponential backoff for transient failures
- π Store Listings β Update app titles, descriptions, and videos for any language
- π Release Management β Promote releases between tracks, manage staged rollouts
- π₯ Tester Management β Add and manage testers for testing tracks
- β Review Management β Fetch and reply to user reviews
- π Android Vitals β Monitor crashes, ANRs, and app health metrics
- π³ Subscription Management β List subscriptions and check purchase status
- π In-App Products β List and manage in-app products
- π¦ Expansion Files β Manage APK expansion files for large apps
- π§Ύ Orders β Retrieve detailed transaction information
- π³ Docker Support β Run as a container with health checks
- π Per-Request Credentials β Bring-your-own-credentials for multi-tenant deployments
- π Secure β Google Cloud service account authentication
- Google Cloud Project with the Google Play Developer API enabled
- Service Account with access to your Play Console
- Python 3.11+,
uvx, or Docker installed
# Run directly without installation
uvx play-store-mcppip install play-store-mcp
play-store-mcpdocker run -e GOOGLE_APPLICATION_CREDENTIALS=/creds/key.json \
-v /path/to/service-account.json:/creds/key.json:ro \
ghcr.io/lusky3/play-store-mcp:latestgit clone https://github.com/lusky3/play-store-mcp.git
cd play-store-mcp
pip install -e .
play-store-mcpSet the path to your service account key:
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.jsonFor remote access or public deployments, run the server with streamable-http transport:
play-store-mcp --transport streamable-http --host 0.0.0.0 --port 8000The server exposes a /health endpoint for monitoring.
For public deployments where users bring their own credentials, configure your MCP client to pass credentials in headers:
{
"mcpServers": {
"play-store": {
"url": "https://your-server.com/mcp",
"transport": "http",
"headers": {
"X-Google-Credentials-Base64": "YOUR_BASE64_ENCODED_CREDENTIALS"
}
}
}
}To get your base64-encoded credentials:
base64 -w 0 < service-account.jsonPer-request credentials are isolated β each request uses only the credentials provided in its headers. No credentials are stored server-side or shared between requests.
For private deployments, set credentials via environment variable at server startup:
export GOOGLE_PLAY_STORE_CREDENTIALS='{"type":"service_account",...}'
# or
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json
play-store-mcp --transport streamable-http --host 0.0.0.0 --port 8000Add to your claude_desktop_config.json:
{
"mcpServers": {
"play-store": {
"command": "uvx",
"args": ["play-store-mcp"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/service-account.json"
}
}
}
}Add to .kiro/settings/mcp.json:
{
"mcpServers": {
"play-store": {
"command": "uvx",
"args": ["play-store-mcp"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/service-account.json"
}
}
}
}{
"mcpServers": {
"play-store": {
"command": "uvx",
"args": ["play-store-mcp"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/service-account.json"
}
}
}
}| Tool | Description |
|---|---|
deploy_app |
Deploy an APK/AAB to a track with optional staged rollout and single-language release notes |
deploy_app_multilang |
Deploy an APK/AAB with multi-language release notes |
promote_release |
Promote a release from one track to another |
get_releases |
Get release status for all tracks |
halt_release |
Halt a staged rollout |
update_rollout |
Update rollout percentage for a staged release |
get_app_details |
Get app metadata (title, description, etc.) |
| Tool | Description |
|---|---|
get_listing |
Get store listing for a specific language |
update_listing |
Update store listing (title, descriptions, video) |
list_all_listings |
List all store listings for all languages |
| Tool | Description |
|---|---|
get_reviews |
Fetch recent reviews with optional filters |
reply_to_review |
Reply to a user review |
| Tool | Description |
|---|---|
list_subscriptions |
List subscription products for an app |
get_subscription_status |
Check subscription purchase status |
list_voided_purchases |
List voided purchases |
| Tool | Description |
|---|---|
list_in_app_products |
List all in-app products for an app |
get_in_app_product |
Get details of a specific in-app product |
| Tool | Description |
|---|---|
get_testers |
Get testers for a specific testing track |
update_testers |
Update testers for a testing track |
| Tool | Description |
|---|---|
get_order |
Get detailed order/transaction information |
| Tool | Description |
|---|---|
get_expansion_file |
Get APK expansion file information |
| Tool | Description |
|---|---|
validate_package_name |
Validate package name format |
validate_track |
Validate track name |
validate_listing_text |
Validate store listing text lengths |
| Tool | Description |
|---|---|
batch_deploy |
Deploy to multiple tracks simultaneously |
| Tool | Description |
|---|---|
get_vitals_overview |
Get Android Vitals overview (crashes, ANRs) |
get_vitals_metrics |
Get specific vitals metrics |
- Go to Google Cloud Console
- Create a new project or select an existing one
- Enable the Google Play Developer API
- Go to IAM & Admin > Service Accounts
- Create a new service account
- Download the JSON key file
- Go to Google Play Console
- Navigate to Users and permissions
- Click Invite new users
- Enter the service account email (from the JSON file)
- Grant the following permissions:
- Release apps to testing tracks (for internal/alpha/beta)
- Release apps to production (for production releases)
- Reply to reviews (for review management)
- View app information and download bulk reports (for vitals)
| Variable | Description | Required |
|---|---|---|
GOOGLE_APPLICATION_CREDENTIALS |
Path to service account JSON key | Yes (or use per-request credentials) |
GOOGLE_PLAY_STORE_CREDENTIALS |
Inline JSON credentials string | Alternative to file path |
PLAY_STORE_MCP_LOG_LEVEL |
Log level (DEBUG, INFO, WARNING, ERROR) | No (default: INFO) |
PLAY_STORE_MCP_DISABLE_DNS_REBINDING |
Disable DNS rebinding protection (for cloud/reverse-proxy deployments) | No |
git clone https://github.com/lusky3/play-store-mcp.git
cd play-store-mcp
uv sync --devuv run pytest -v --cov=src/play_store_mcpruff check src/ tests/
ruff format src/ tests/mypy src/Ensure GOOGLE_APPLICATION_CREDENTIALS points to a valid JSON file:
ls -la $GOOGLE_APPLICATION_CREDENTIALSVerify the service account has been granted access in Play Console with the required permissions.
Ensure the app exists in Play Console and the service account has access to it.
MIT License β see LICENSE for details.
- Inspired by antoniolg/play-store-mcp (Kotlin)
- Built with the MCP Python SDK
- Uses the Google Play Developer API
Portions of this codebase were generated with the assistance of Large Language Models (LLMs). All AI-generated code has been reviewed and tested to ensure quality and correctness.