Google Play Developer API MCP Server
MCP server for managing Google Play app deployment and in-app products via the Android Publisher API v3.
README
Google Play Developer API MCP Server
A Model Context Protocol (MCP) server for managing Google Play app deployment and in-app products via the Android Publisher API v3.
Features
App Deployment
- deploy_internal: Upload AAB and deploy to internal testing track
- deploy_track: Upload AAB and deploy to any supported track
- promote_track_release: Promote an existing uploaded release between tracks without re-uploading an AAB
In-App Products
- create_inapp_product: Create or update a single in-app product
- batch_create_inapp_products: Create multiple products at once
- activate_inapp_product: Activate a draft product
- batch_activate_inapp_products: Activate multiple products
- deactivate_inapp_product: Deactivate an active product
- list_inapp_products: List all one-time products
- create_subscription_product: Create or update a subscription product
- list_subscriptions: List all subscription products
App Info
- get_app_info: Get app track and version information
Requirements
- Python 3.10+
- Google Cloud service account with Google Play Developer API access
- App registered in Google Play Console
Installation & Usage
You can use this MCP server directly with npx without installing it manually.
Quick Start (npx)
# Configure your API key
npx google-play-mcp init-key
# For Korean instructions (한국어 안내)
npx google-play-mcp init-key --lang ko
# Start the server
npx google-play-mcp start
Installation (Global)
If you prefer to install it globally (from npm):
npm install -g google-play-mcp
Installation (Local Dev)
To install from the cloned repository:
npm install -g .
Then you can run:
google-play-mcp init-key
google-play-mcp start
Configuration (Antigravity & Claude Desktop)
To use this MCP server, add the following configuration to your MCP client (e.g., claude_desktop_config.json or Antigravity settings):
{
"mcpServers": {
"google-play": {
"command": "google-play-mcp",
"args": ["start"],
"env": {
"GOOGLE_PLAY_KEY_FILE": "/absolute/path/to/your-key.json",
"GOOGLE_PLAY_PACKAGE_NAME": "com.yourcompany.yourapp"
}
}
}
}
Note: If you haven't run
init-keyor don't have a.envfile, you can pass environment variables directly in the configuration as shown above. If you have a.envfile in the working directory, the server will load it automatically.
Configuration (Codex)
If your workspace layout is:
/Users/<you>/Foreign-Language-Battle/
└─ google-play-mcp/
you can run this MCP server from the cloned repository directory.
- Create
.envinsidegoogle-play-mcp:
cd /Users/<you>/Foreign-Language-Battle/google-play-mcp
cp .env.example .env
# edit .env and set:
# GOOGLE_PLAY_KEY_FILE=/absolute/path/to/service-account.json
# GOOGLE_PLAY_PACKAGE_NAME=com.yourcompany.yourapp
- Install dependencies:
cd /Users/<you>/Foreign-Language-Battle/google-play-mcp
pip install -r requirements.txt
- Add MCP server entry in Codex config (example):
{
"mcpServers": {
"google-play": {
"command": "python3",
"args": ["server.py"],
"cwd": "/Users/<you>/Foreign-Language-Battle/google-play-mcp",
"env": {
"GOOGLE_PLAY_KEY_FILE": "/absolute/path/to/service-account.json",
"GOOGLE_PLAY_PACKAGE_NAME": "com.yourcompany.yourapp"
}
}
}
}
-
Restart Codex (or reload MCP servers), then call tools such as
get_app_info,create_inapp_product, andcreate_subscription_product. -
Login to npm:
npm login
- Publish the package:
npm publish
Configuration
The npm run init-key script will automatically create a .env file with your configuration:
GOOGLE_PLAY_KEY_FILE=/absolute/path/to/your-key.json
GOOGLE_PLAY_PACKAGE_NAME=com.yourcompany.yourapp
Usage
To start the server manually:
npm start
Usage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"google-play": {
"command": "npm",
"args": ["start"],
"cwd": "/absolute/path/to/google-play-mcp"
}
}
}
Tool Examples
Deploy to Internal Testing
Deploy app-release.aab to internal testing with Korean and English release notes
Promote Internal Release to Production
Promote the existing internal track release to production without uploading a new AAB.
Set Korean release notes to 버그 핫픽스 and English release notes to Bug hotfix.
Create In-App Product
Create an in-app product:
- SKU: gems_100
- Korean: 보석 100개 / 보석 100개를 획득합니다
- English: 100 Gems / Get 100 gems
- Price: $0.99 USD
Batch Create Products
[
{"sku": "gems_12", "title_ko": "보석 12개", "title_en": "12 Gems",
"description_ko": "보석 12개 획득", "description_en": "Get 12 gems", "price_usd": 0.99},
{"sku": "gems_66", "title_ko": "보석 66개", "title_en": "66 Gems",
"description_ko": "보석 66개 획득", "description_en": "Get 66 gems", "price_usd": 4.99}
]
Activate Products
["gems_12", "gems_66", "gems_136"]
Create Subscription Product
Create a subscription product:
- Product ID: malto_plus_monthly
- Base Plan ID: monthly
- Korean: 말투 플러스 월간 / 매일 보석을 지급하는 월간 구독
- English: Malto Plus Monthly / Monthly subscription with daily gem rewards
- Price: $4.99 USD
- Billing Period: P1M
Important Notes
Prerequisites for In-App Products
Before creating in-app products, your app must have:
com.android.vending.BILLINGpermission inAndroidManifest.xml- Play Billing Library 6.0.1+ (Flutter:
in_app_purchasepackage) - A bundle with these uploaded to Google Play
Draft Apps
Apps that have never been published can only use status: "draft" for deployments.
You must manually publish through Google Play Console for the first release.
API Migration
This server uses the new monetization.onetimeproducts API instead of the deprecated
inappproducts API which returns 403 errors.
Price Conversion
USD prices are automatically converted to 170+ regional currencies using
Google's convertRegionPrices API.
Tracks
| Track | Description |
|---|---|
internal |
Internal testing (up to 100 testers) |
alpha |
Closed testing |
beta |
Open testing |
production |
Production release |
License
MIT License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.