Google Play Developer API MCP Server

Google Play Developer API MCP Server

MCP server for managing Google Play app deployment and in-app products via the Android Publisher API v3.

Category
访问服务器

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-key or don't have a .env file, you can pass environment variables directly in the configuration as shown above. If you have a .env file 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.

  1. Create .env inside google-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
  1. Install dependencies:
cd /Users/<you>/Foreign-Language-Battle/google-play-mcp
pip install -r requirements.txt
  1. 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"
      }
    }
  }
}
  1. Restart Codex (or reload MCP servers), then call tools such as get_app_info, create_inapp_product, and create_subscription_product.

  2. Login to npm:

npm login
  1. 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:

  1. com.android.vending.BILLING permission in AndroidManifest.xml
  2. Play Billing Library 6.0.1+ (Flutter: in_app_purchase package)
  3. 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

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选