play-console-mcp: Instructions file for Claude Code

CLAUDE.md

play-console-mcp CLAUDE.md is an instructions file for Claude Code from OrellBuehler/play-console-mcp. It costs 1,929 tokens per session, scanned A, original, MIT.

Repository-specific instructions for an AI coding agent working on a server that connects Google Play's developer APIs. The server handles Play Store reviews, app releases, and Android performance data.

In plain words
What is it for?
Use them when building, testing, linting, or modifying this Google Play integration, including review replies, release tracks, staged rollouts, crashes, and ANR reports.
Why use it?
They give the agent the project's commands, structure, and coding conventions, reducing guesswork when changing or testing the code.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is OrellBuehler/play-console-mcp's own configuration. It tells Claude Code how to work on play-console-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything play-console-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to OrellBuehler/play-console-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/OrellBuehler/play-console-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/OrellBuehler/play-console-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for play-console-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/orellbuehler/play-console-mcp/claude-md.svg)](https://agentmods.dev/instructions/orellbuehler/play-console-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/orellbuehler/play-console-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/orellbuehler/play-console-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,929 This file is loaded in full into every session.
When invoked 1,929 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01929 $0.01929
Opus 5 $0.00964 $0.00964
Sonnet 5 $0.00386 $0.00386
Haiku 4.5 $0.00193 $0.00193

Measured 6d ago against content hash 8d2c53bd1c0f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

play-console-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What this is

A STDIO MCP server that exposes the official Google Play Developer API (androidpublisher v3) and the Play Developer Reporting API (v1beta1) as tools for AI agents, centered on user feedback (read and reply to Play Store reviews) and release management (tracks, promotion, staged rollouts), plus Android vitals (crash/ANR rates, error issues and reports). Published to npm as @orellbuehler/play-console-mcp and run via npx; the compiled dist/index.js is the bin entry. See README.md for the tool catalog and env-var reference.

Note the Android Management API is a different, unrelated API for enterprise device management — it is not used here.

Commands

npm run build         # tsc -p tsconfig.build.json -> dist/
npm test              # vitest run (all tests)
npm run test:watch    # vitest watch
npm run lint          # eslint src
npm run typecheck     # tsc --noEmit
npm run format        # prettier --write .
npm run format:check  # prettier --check . (what CI runs)

Run a single test file or pattern:

npx vitest run src/__tests__/releases.test.ts
npx vitest run -t "promote_release"

CI (.github/workflows/ci.yml) runs format:check, lint, typecheck, and test + build on Node 20 and 22 — all must pass. Run them locally before committing.

Architecture

Request flow: index.ts reads config, builds the server via server.ts:createServer(client, reportingClient, packageName, allowDestructive), and connects it over stdio. Each tool calls one of the two REST clients.

  • src/index.ts — entry point. Stdio transport only (single-account).
  • src/config.ts — reads env at import time and exits the process if neither GOOGLE_SERVICE_ACCOUNT_KEY nor GOOGLE_SERVICE_ACCOUNT_KEY_PATH is set. Exports config (including allowDestructive from GOOGLE_PLAY_ALLOW_DESTRUCTIVE), client (androidpublisher) and reportingClient (Play Developer Reporting).
  • src/play/auth.tscreateTokenProvider(auth): signs an RS256 service-account JWT with jose and exchanges it at https://oauth2.googleapis.com/token for an OAuth access token, cached until expiry with a 60 s buffer. The JWT carries both scopes (androidpublisher and playdeveloperreporting), so one provider serves both clients. The key JSON is loaded lazily on first use (inline or from a file path). No googleapis / google-auth-library dependency.
  • src/play/client.tsGooglePlayClient, a thin fetch wrapper. One class, two instances built from PUBLISHER_BASE_URL and REPORTING_BASE_URL. get/post/put/patch/del; post takes optional query params (needed for :commit?changesNotSentForReview) and tolerates empty response bodies. upload posts raw bytes with an explicit Content-Type to PUBLISHER_UPLOAD_BASE_URL with uploadType=media — that host is a separate prefix (/upload/androidpublisher/v3), which is why it is its own method. Throws on non-2xx with the response body in the message.
  • src/play/edits.ts — the Play edits workflow, which every release write goes through: readWithEdit (insert edit → read → always delete) and withEdit (insert → mutate → :validate + delete for a dry run, or :commit; delete the edit on failure).
  • src/play/format.tsok/err (MCP content envelopes; ok passes strings through unquoted) and resolvePackage (per-tool package_name overriding GOOGLE_PLAY_PACKAGE_NAME, throwing a helpful error if neither is set).
  • src/tools/*.ts — each exports a register*Tools(server, client, packageName?) function that server.ts calls: reviews, releases, listings, artifacts, recovery (all on the publisher client), vitals and apps (on the reporting client). listings and recovery take a fourth allowDestructive argument.
  • src/tools/shared.ts — Zod shapes reused across tool modules: packageArg, writeShape (validate_only + changes_not_sent_for_review) and releaseNotesSchema. Reuse these instead of redeclaring them.

Read the full file on GitHub · 119 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 119 lines · 1,929 tokens per session scan A 8d2c53bd1c0f

Subscribe to this mod's changes

play-console-mcp CLAUDE.md is an instructions file published in the GitHub repository OrellBuehler/play-console-mcp (1 stars, last pushed 4d ago), licensed MIT. It adds 1,929 tokens to every session, about $0.0096 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

vibe-coding-prompt-template backend.instructions.md

Instructions for KhazP/vibe-coding-prompt-template: Read AGENTS.md, agentdocs/techstack.md, and agentdocs/codepatterns.md.

KhazP/vibe-coding-prompt-template · 139 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens