An MCP (Model Context Protocol) server that enables interaction with Google Play Console to deploy and manage Android applications.
Although it's currently functional, this MCP server is under development. Please use with caution and thoroughly test in non-production environments first.
If you encounter any issues or have feature requests, please open an issue on GitHub. Your feedback is valuable for improving this project.
This MCP server provides tools to:
- Deploy new versions of Android applications
- Promote releases between tracks (internal → alpha → beta → production)
- Query the status of existing releases
Deploys a new version of an application to the Play Store.
Parameters:
packageName(string): App package name (e.g., com.example.myapp)track(string): Release track (internal, alpha, beta, production)apkPath(string): Path to APK or AAB fileversionCode(integer): Version code (must be higher than current)releaseNotes(string, optional): Release notesrolloutPercentage(number, optional): Rollout percentage (0.0 to 1.0, default: 1.0 for full rollout)
Promotes an existing version from one track to another.
Parameters:
packageName(string): App package namefromTrack(string): Source track (internal, alpha, beta)toTrack(string): Target track (alpha, beta, production)versionCode(integer): Version code to promote
Gets the current status of app releases and deployments for a specific package.
Parameters:
packageName(string): App package name (e.g., com.example.myapp)
- Go to Google Cloud Console
- Create a new project or select an existing one
- Enable the Google Play Android Developer API:
- Go to "APIs & Services" → "Library"
- Search for "Google Play Android Developer API"
- Click "Enable"
- In Google Cloud Console, go to "IAM & Admin" → "Service Accounts"
- Click "Create Service Account"
- Fill in the details:
- Name:
play-store-mcp - Description:
Service account for Play Store MCP operations
- Name:
- Click "Create and Continue"
- In "Grant this service account access to project", you don't need to assign specific roles
- Click "Done"
- In the service accounts list, find the one you just created
- Click on the service account email
- Go to the "Keys" tab
- Click "Add Key" → "Create new key"
- Select "JSON" as the key type
- Click "Create"
- A JSON file will download - this is your
service-account-key.json
- Go to Google Play Console
- Select your developer account
- Go to "Users and Permssions"
- Click "Invite new users"
- Add the email of the service account
- Click "Invite User"
- Configure the necessary permissions:
- App permissions: Select the apps it can manage
- Account permissions: Grant "View app information" and the permissions aunder "Versions"
More permissions may be required when new features are released.
Add the following configuration to your MCP configuration file:
{
"mcpServers": {
"play-store-mcp": {
"command": "java",
"args": [
"-jar",
"/path/to/play-store-mcp-all.jar"
],
"env": {
"PLAY_STORE_SERVICE_ACCOUNT_KEY_PATH": "/path/to/service-account-key.json",
"PLAY_STORE_DEFAULT_TRACK": "internal"
}
}
}
}PLAY_STORE_SERVICE_ACCOUNT_KEY_PATH: Path to the service account JSON file (required)PLAY_STORE_DEFAULT_TRACK: Default track for deployments (optional, default: "internal")
To build the project:
./gradlew clean build -x testThis will generate the JAR file at build/libs/play-store-mcp-all.jar.
You can also download the jar from the latest release.
Once configured, you can use the tools from any compatible MCP client.
Some samples of prompts are:
If you want to get the current releases of the App:
Let me know what versions of com.example.myapp are released in the Play Store.
To release a new version of the App to the alpha channel, you can say:
Upgrade the version of the App, build the AAB, and upload it to the alpha channel.
To deploy with a gradual rollout (e.g., 50% of users):
Update the App version, compile the AAB, and publish it to the Play Store on the alpha channel with a 50% rollout, using the @release_notes.txt.
- Java 8 or higher
- Google Play Console developer account
- Google Cloud project with Play Developer API enabled
- Applications already published in Play Console (at least as drafts)
- Only supports APK and AAB files
- Requires applications to be already configured in Play Console
- Service account permissions must be configured manually in Play Console
Verify that the path in PLAY_STORE_SERVICE_ACCOUNT_KEY_PATH is correct and the file exists.
Ensure the service account is properly configured in Google Play Console with the necessary permissions.
Verify that the package name is correct and the application is configured in Play Console.
This project is licensed under the MIT License - see the LICENSE file for details.