次のような場合に使用: ユーザーがRevenueCat製品(App Store Connect、Google Play Console、RC Billing、またはTest Store内の価格、利用可能性、多言語対応、レビュー用スクリーンショットなど)の状態を確認または変更したい場合
Use when the user wants to inspect or change the state of products in App Store Connect, Google Play Console, RC Billing, or Test Store (prices, availability, localizations, review screenshots) via RevenueCat product-store-state plans
ストアは、価格、利用可能性、言語対応、およびオファーの情報源です。読み取りは即座に実行されます。書き込みは製品ストア状態プランを通じて処理されます。すなわち、下書きを作成し、確認可能な変更内容を計算し、その後に適用します。プランが適用されるまで、ストアには何も書き込まれません。
MCP と rc CLI(revenuecat-cli スキルを参照)は同じプラン・適用モデルを使用しています。利用可能な方を選んでください。正確なパラメータについては、MCP ツールのスキーマ(または rc commands --schemas --json)を参照してください。
プロジェクトごとに、処理中のアクティブな(終了していない)プランは最大1つです。新しいプランを作成する前にプランを一覧表示してください。プランが既に進行中であるために作成に失敗した場合は、そのプランを取得し、保留中の内容を説明し、ユーザーと相談してそれを続行するか破棄するかを決定してください。
常に get-product-store-state(CLI: rc products show <product-id> --store-state)を使用してください。get-product、list-products、またはオファーデータからストアの価格、利用可能性、または試用期間を推測しないでください。これらは RevenueCat カタログであり、ストア状態ではありません。応答の warnings を表示してください。
ストア状態の書き込みには、RevenueCat プロジェクトに接続されたストア認証情報(App Store Connect API キー、またはストアプレゼンスの管理権限を持つ Google Play サービスアカウント)と、プロジェクトへの書き込みアクセス権を持つ RevenueCat ログインが必要です。書き込みが認証情報またはアクセス権限エラーで失敗した場合は、再試行せず、何が不足しており、どのように修正するかを報告してください(ストア認証情報については、ダッシュボードアプリの設定を参照)。
本番環境のストアへの書き込みは実行でき、ライブ顧客が見る内容と支払い額を変更できます。ユーザーが計画された変更内容を確認し、明示的に承認するまで、絶対に適用を呼び出さないでください。
プランの作成に成功した後:
summary と各 plan_items[*].diff を平易な言語で要約してください(フィールドごとに変更前 → 変更後)。severity、field、message)を報告してください。plan_items[*].warnings に severity: blocker がある場合は、絶対に適用しないでください。目的の状態を修正し、プランを更新し、アイテムレベルのブロッカーがなくなるまで再計画してください。https://app.revenuecat.com/projects/{project_id}/product-catalog/product-editor/review-changes?plan_id={plan_id}actions に apply が含まれている場合のみ実行してください。読み取りは確認不要です。Apple へのレビュー申請は別の確認済み書き込み(submit-products-to-store)です。
get-product-store-state を実行してください。desired_states エントリで create-product-store-state-plan を実行してください。
product_id でターゲットするか、create_revenuecat_product(app_id、store_identifier、type、display_name、title。ユーザーが1つの名前のみを提供した場合は、両方に使用)を渡してください。store を app_store、play_store、rc_billing、または test_store に設定し、対応する store_state を入力してください。create-product-prices、upload-product-store-state-screenshot、または equalize-subscription-prices を呼び出さないでください。territory_prices に送信し、common.pricing.equalize_missing_subscription_prices をその base_territory で含めてください。これにより、不足している Apple の地域は適用時に埋められます。App Store の1回限りの製品の場合、このフィールドを送信しないでください。common.pricing.currency_prices です(作成のみ。既存の通貨の更新は拒否されます)。plan-product-store-state-plan を実行し、その後ステータスが planned、planned_and_finished、または plan_errored になるまで get-product-store-state-plan をポーリングしてください。error_message / アイテムごとのエラーとレビュー URL を報告してください。適用しないでください。apply-product-store-state-plan を実行してください。その後、applied または apply_errored になるまで get-product-store-state-plan をポーリングしてください。製品ごとの apply_status と任意の apply_error_message を報告してください。プラン後にストアが変更されたため適用に失敗した場合は、ユーザーに伝え、最新の状態から新しいプランを開始してください。submit-products-to-store を提供してください(確認済み書き込み)。Play Store、RC Billing、Test Store はスキップしてください。下書きまたは計画済みプランを破棄するには、discard-product-store-state-plan を使用してください。下書きを変更するには、update-product-store-state-plan を実行して、もう一度計画してください。
インストール、認証、およびスキーマ検出については、revenuecat-cli スキルを参照してください。対応:
rc products show <product-id> --store-staterc products store plan <app-id> --file <csv|json>rc products store show <plan-id>rc products store apply <plan-id> / rc products store discard <plan-id>CLI の適用は完了を待ちます(別個のポーリングなし)。それでも apply の前にプランの変更内容を表示し、確認を待ってください。正確なフラグを rc commands --schemas --json で確認してください。
これらは MCP カタログに表示される場合があります。これらは1つの製品を書き込み、プレビュー可能なプランがありません。上記のプランツールを優先してください。
set-product-store-stateget-product-store-state-operationcreate-product-pricesupload-product-store-state-screenshotequalize-subscription-pricesThe store is the source of truth for prices, availability, localizations, and offers. Reads are immediate. Writes go through a product store state plan: create a draft, compute a reviewable diff, then apply. Nothing reaches the store until the plan is applied.
MCP and the rc CLI (see the revenuecat-cli skill) use the same plan/apply model. Prefer whichever surface is available. Refer to the MCP tool schemas (or rc commands --schemas --json) for exact parameters.
There is at most one active (non-terminal) plan per project. List plans before creating a new one; if create fails because a plan is already in progress, fetch it, describe what is pending, and decide with the user whether to continue it or discard it.
Always use get-product-store-state (CLI: rc products show <product-id> --store-state). Never infer store prices, availability, or trials from get-product, list-products, or offering data — those are RevenueCat catalog, not store state. Surface the response's warnings.
Store-state writes require store credentials connected to the RevenueCat project (an App Store Connect API key, or a Google Play service account with the Manage store presence permission) and a RevenueCat login with write access to the project. If a write fails with a credentials or permission error, report what is missing and how to fix it (dashboard app settings for store credentials) instead of retrying.
Apply writes to production stores and can change what live customers see and pay. Never call apply until you have shown the planned diffs and the user has explicitly confirmed.
After planning succeeds:
summary and each plan_items[*].diff in plain language (before → after per field).severity, field, message). Never apply if any plan_items[*].warnings has severity: blocker. Fix the desired state, update the plan, and re-plan until there are no item-level blockers.https://app.revenuecat.com/projects/{project_id}/product-catalog/product-editor/review-changes?plan_id={plan_id}actions includes apply.Reads do not need confirmation. Submitting products to Apple for review is a separate confirmed write (submit-products-to-store).
get-product-store-state on existing products before deciding the desired changes.create-product-store-state-plan with one desired_states entry per product.
product_id, or pass create_revenuecat_product (app_id, store_identifier, type, display_name, and title — when the user gave only one name, use it for both).store to app_store, play_store, rc_billing, or test_store and populate the matching store_state.create-product-prices, upload-product-store-state-screenshot, or equalize-subscription-prices.territory_prices and include common.pricing.equalize_missing_subscription_prices with that base_territory so missing Apple territories are filled at apply. Do not send that field for App Store one-time products.common.pricing.currency_prices (create-only; updating an existing currency is rejected).plan-product-store-state-plan, then poll get-product-store-state-plan until status is planned, planned_and_finished, or plan_errored.error_message / per-item errors and the review URL; do not apply.apply-product-store-state-plan. Then poll get-product-store-state-plan until applied or apply_errored. Report per-product apply_status and any apply_error_message. If apply fails because the store changed after planning, tell the user and start a new plan from the fresh state.submit-products-to-store for the products just applied (confirmed write). Skip for Play Store, RC Billing, and Test Store.To abandon a draft or planned plan, discard-product-store-state-plan. To change a draft, update-product-store-state-plan then plan again.
See the revenuecat-cli skill for install, auth, and schema discovery. Mapping:
rc products show <product-id> --store-staterc products store plan <app-id> --file <csv|json>rc products store show <plan-id>rc products store apply <plan-id> / rc products store discard <plan-id>CLI apply waits for completion (no separate poll). Still show the plan diff and wait for confirmation before apply. Confirm exact flags with rc commands --schemas --json.
These may still appear in the MCP catalog. They write one product with no previewable plan. Prefer the plan tools above.
set-product-store-stateget-product-store-state-operationcreate-product-pricesupload-product-store-state-screenshotequalize-subscription-prices原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。