npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

google-play-mcp

v1.0.1

Published

MCP server for Google Play Developer API

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

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
  • 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.

  1. 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

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"]

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