google-play-mcp-server
MCP server that connects AI assistants to the Google Play Developer API for automated app publishing, subscription management, review monitoring, and tester management.
README
š® Google Play MCP Server
An MCP (Model Context Protocol) server that connects AI assistants to the Google Play Developer API v3 ā enabling automated app publishing, subscription management, review monitoring, and tester management.
⨠Features
- š¦ Publishing ā List release tracks, upload AAB bundles, get store listings
- š° Subscriptions & IAP ā Query subscription products, base plans, pricing, and in-app products
- ā Reviews ā List user reviews with ratings/device info, reply to reviews directly
- š„ Testers ā Manage tester groups per release track
- š Secure ā Service account auth (server-to-server, no OAuth flow needed)
- š¤ LLM-Optimized ā Markdown responses, clear error messages, proper
isErrorflags
š Tools Reference
Publishing
| Tool | Description | Read-only |
|---|---|---|
gplay_list_tracks |
List all release tracks (internal/alpha/beta/production) with version codes, status, rollout %, and release notes | ā |
gplay_upload_bundle |
Upload .aab bundle ā assign to track ā commit. Supports draft mode and staged rollout |
ā |
gplay_get_app_details |
Get store listing (title, descriptions, contact info) for any language | ā |
Subscriptions & IAP
| Tool | Description | Read-only |
|---|---|---|
gplay_list_subscriptions |
List all subscription products with base plans, billing periods, and pricing | ā |
gplay_get_subscription |
Get detailed subscription info including all listings, base plans, regional pricing, and offer tags | ā |
gplay_list_inapp_products |
List all one-time in-app products (consumable and non-consumable) with pricing | ā |
Reviews
| Tool | Description | Read-only |
|---|---|---|
gplay_list_reviews |
List user reviews with star ratings, review text, device info, app version, and developer replies. Supports translation | ā |
gplay_reply_review |
Post a developer reply to a user review (max 350 chars) | ā |
Testers
| Tool | Description | Read-only |
|---|---|---|
gplay_get_testers |
Get Google Group testers for a release track | ā |
gplay_update_testers |
Update tester Google Groups for a release track | ā |
š Quick Start
1. Prerequisites
- Node.js ā„ 18
- A Google Cloud project with the Google Play Android Developer API enabled
- A Service Account with permissions granted in Play Console
2. Google Cloud Setup
<details> <summary><strong>Step-by-step instructions</strong></summary>
-
Create a Google Cloud project (or use an existing one)
- Go to Google Cloud Console
-
Enable the API
- Navigate to APIs & Services ā Library
- Search for Google Play Android Developer API
- Click Enable
-
Create a Service Account
- Go to IAM & Admin ā Service Accounts
- Click Create Service Account
- Give it a name (e.g.,
play-console-mcp) - Click Create and Continue ā Done
-
Download the JSON key
- Click on the service account you just created
- Go to Keys tab ā Add Key ā Create new key ā JSON
- Save the downloaded file securely
-
Grant Play Console access
- Go to Google Play Console
- Navigate to Settings ā API access
- Link your Google Cloud project (if not already linked)
- Find your service account and click Manage permissions
- Grant the required permissions:
- App information (read/write) ā for store listings
- Release management (read/write) ā for tracks and uploads
- Monetization management (read-only) ā for subscriptions and IAP
- Reviews (read + reply) ā for review management
- Click Invite user ā Send invitation
</details>
3. Installation
# Clone the repository
git clone https://github.com/quan7794/google-play-mcp-server.git
cd google-play-mcp-server
# Install dependencies
npm install
# Build
npm run build
Or install globally via npm (once published):
npm install -g google-play-mcp-server
4. Configuration
The server requires two environment variables:
| Variable | Description | Example |
|---|---|---|
GOOGLE_SERVICE_ACCOUNT_KEY |
Absolute path to your service account JSON key file | /home/user/.config/gcloud/play-console-key.json |
GOOGLE_PLAY_PACKAGE_NAME |
Default Android package name for your app | com.example.myapp |
[!NOTE] The
package_nameparameter can be overridden per tool call, so you can manage multiple apps with a single server instance.
5. Add to Your MCP Client
<details> <summary><strong>Claude Desktop</strong></summary>
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"google-play": {
"command": "node",
"args": ["/absolute/path/to/google-play-mcp-server/dist/index.js"],
"env": {
"GOOGLE_SERVICE_ACCOUNT_KEY": "/path/to/service-account-key.json",
"GOOGLE_PLAY_PACKAGE_NAME": "com.example.myapp"
}
}
}
}
</details>
<details> <summary><strong>VS Code (Copilot / Cline / Continue)</strong></summary>
Add to your .vscode/mcp.json or the extension's MCP config:
{
"servers": {
"google-play": {
"command": "node",
"args": ["/absolute/path/to/google-play-mcp-server/dist/index.js"],
"env": {
"GOOGLE_SERVICE_ACCOUNT_KEY": "/path/to/service-account-key.json",
"GOOGLE_PLAY_PACKAGE_NAME": "com.example.myapp"
}
}
}
}
</details>
<details> <summary><strong>Cursor</strong></summary>
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"google-play": {
"command": "node",
"args": ["/absolute/path/to/google-play-mcp-server/dist/index.js"],
"env": {
"GOOGLE_SERVICE_ACCOUNT_KEY": "/path/to/service-account-key.json",
"GOOGLE_PLAY_PACKAGE_NAME": "com.example.myapp"
}
}
}
}
</details>
<details> <summary><strong>Gemini CLI / Antigravity</strong></summary>
Add to .gemini/settings.json:
{
"mcpServers": {
"google-play": {
"command": "node",
"args": ["/absolute/path/to/google-play-mcp-server/dist/index.js"],
"env": {
"GOOGLE_SERVICE_ACCOUNT_KEY": "/path/to/service-account-key.json",
"GOOGLE_PLAY_PACKAGE_NAME": "com.example.myapp"
}
}
}
}
</details>
š¬ Usage Examples
Once connected, you can ask your AI assistant things like:
"Show me all release tracks and their current versions"
"Upload the bundle at ~/build/app-release.aab to internal testing"
"What subscriptions are configured for my app?"
"Show me recent 1-star reviews"
"Reply to review abc123 thanking them for the feedback"
"What testers are on the beta track?"
š§ Development
npm run dev # Watch mode with hot reload (tsx)
npm run build # Compile TypeScript to dist/
npm run clean # Remove dist/
npm start # Run compiled server
Project Structure
src/
āāā index.ts # Entry point ā registers tools, connects stdio
āāā auth.ts # Google Auth (service account, cached client)
āāā constants.ts # Shared constants (CHARACTER_LIMIT, tracks)
āāā schemas.ts # Shared Zod schemas (PackageNameSchema)
āāā tools/
ā āāā publishing.ts # list_tracks, upload_bundle, get_app_details
ā āāā subscriptions.ts # list/get subscriptions, list IAP
ā āāā reviews.ts # list/reply reviews
ā āāā testers.ts # get/update testers
āāā utils/
āāā errors.ts # GaxiosError ā LLM-friendly error messages
āāā formatter.ts # Truncation, text content helpers
ā Troubleshooting
<details> <summary><strong>Authentication failed (401)</strong></summary>
- Verify
GOOGLE_SERVICE_ACCOUNT_KEYpoints to a valid JSON key file - Make sure the Google Play Android Developer API is enabled in your Cloud project
- Check that the service account hasn't been deleted or disabled
</details>
<details> <summary><strong>Permission denied (403)</strong></summary>
- Go to Play Console ā Settings ā API access
- Ensure the service account is listed and has been granted appropriate permissions
- After granting permissions, it may take a few minutes to propagate
- If you just invited the service account, make sure the invitation was accepted
</details>
<details> <summary><strong>Resource not found (404)</strong></summary>
- Double-check
GOOGLE_PLAY_PACKAGE_NAMEmatches your app's actual package name - Make sure the app has been published at least once (even to internal testing)
- For subscription/IAP tools, ensure the products exist in Play Console
</details>
<details> <summary><strong>Conflict error (409)</strong></summary>
- Another edit may be in progress ā wait a few seconds and retry
- Edits are automatically cleaned up on failure, but a manually created edit in Play Console could conflict
</details>
š Security
- Service account keys should never be committed to version control
- Use minimal permissions ā only grant what you need
- The server runs locally via stdio ā no network ports are opened
- All API calls use OAuth 2.0 with the
androidpublisherscope
š¤ Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-tool) - Make your changes, ensuring
npm run buildpasses - Submit a Pull Request
Adding a New Tool
- Add the tool registration in the appropriate file under
src/tools/ - Use
withErrorHandling()wrapper for consistent error handling - Use
textContent()andtruncateIfNeeded()for responses - Add proper Zod schemas with
.describe()for all parameters - Set correct
annotations(readOnlyHint,destructiveHint, etc.) - Update this README
š License
MIT Ā© Waclabs
Built with ā¤ļø using Model Context Protocol and the Google Play Developer API v3.
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.