AppDrift

io.github.blaze-appsv0.2.1更新于 Oct 2, 2026

Read app-store keyword observations and prepare reviewable listing drafts. AI actions use tokens.

概览

AI 生成的概览

让助手读取 AppDrift 应用商店关键词数据,并生成可供审核的商店信息草稿,AI 文案生成按 token 计费。

功能
这是一个连接 AppDrift REST API 的本地 stdio 客户端。它提供工具用于查看账户状态与剩余 AI token 余额、列出已连接的应用、读取跟踪关键词及最新观测排名、列出排名在 11-30 的关键词机会,以及读取账户的 ASO 行动优先级计划。AI 工具可生成或翻译商店文案,apply_optimization 会把已接受的 title、subtitle、keywords 或 short_description 字段写入应用的可编辑草稿。它不会发布到 Apple 或 Google。
适用场景
适合在 AppDrift 中管理应用商店信息、并希望助手在聊天客户端中拉取关键词观测、机会与行动计划,或起草和翻译待审核文案的场景。不适用于发布商店信息,也不用于衡量真实的关键词需求。
运行要求
通过 npm 包 appdrift-mcp 以 stdio 在本地运行,需要 Node.js 22 或更高版本以及 npx。必须通过环境变量提供来自 AppDrift 开发者面板的 APPDRIFT_API_KEY,且 API 访问需要符合条件的有偿套餐。另有可选的 APPDRIFT_API_BASE 和 APPDRIFT_REQUEST_TIMEOUT_MS。需要访问 AppDrift API 的网络连接。
安装前请注意
API 密钥属于机密,不要放入共享配置或提交到版本控制。AI 工具会消耗 token(例如 optimize_for_keyword 为 3 个 token,生成字段每个 1-2 个,翻译字段每个 1-5 个),apply_optimization 会修改已保存的草稿内容,因此在允许付费操作或保存草稿变更前应先审核生成的文本。超时或响应丢失并不能证明未处理或未扣费。客户端会把 API 密钥和提供的商店文案发送到所配置的 AppDrift API,AI 请求可能使用账户配置的 AI 提供商。

安装

在 SourceWeft 中

  1. 打开 控制台中的 AppDrift,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

AppDrift MCP Server

Read your AppDrift keyword observations, account apps and action plan from Claude Desktop, Cursor or another MCP client. Generate or translate listing copy, review the result, and apply accepted fields to an editable AppDrift draft. These tools do not publish to Apple or Google.

This package is a small local stdio client for the AppDrift REST API. It requires Node.js 22 or later and an AppDrift API key. API access is available on eligible paid plans. Eligible first subscriptions have a seven-day trial with a card; the trial adds no tokens. Current plans and token allowances.

Install

Add AppDrift to your MCP client's configuration (Claude Desktop, Cursor or another MCP client):

json
{  "mcpServers": {    "appdrift": {      "command": "npx",      "args": ["-y", "appdrift-mcp"],      "env": { "APPDRIFT_API_KEY": "ad_live_your_key_here" }    }  }}
  1. Create a key in the Developers dashboard.
  2. Replace the placeholder in your client's local MCP configuration. Keep the key out of shared configuration and source control.
  3. Restart the client. Ask it to call account_status, then list_apps. These calls consume no AI tokens.
  4. Choose the returned app ID before asking for its tracked keywords. Review proposed text before allowing a paid action or a saved-draft change.

On the first run, npx downloads the package and its dependencies. If the client cannot find npx, use its absolute local executable path.

Without the npm registry: AppDrift also hosts the same wrapper as a versioned archive. Use https://appdrift.co/downloads/appdrift-mcp-0.2.0.tgz in args in place of appdrift-mcp, and check it against its SHA-256 checksum. The archive includes the complete wrapper source and MIT license. server.json prepares the official MCP registry entry, which is not published yet.

Tools and costs

No additional AI tokens: API access still requires an eligible account plan.

ToolResult
keyword_difficultyLegacy competitor-based difficulty/popularity heuristics. These are not measured keyword demand or ranking probability. Store collection can fail or be incomplete.
list_appsApps connected to the account, including the ID used by app-scoped tools.
app_keywordsTracked keywords and latest observed ranks for the selected app.
app_opportunitiesTracked keywords ranked 11–30, ordered by the legacy difficulty heuristic; candidates to review, not predicted gains.
action_planThe account's prioritized ASO actions.
account_statusPlan and remaining AI-token balance.
apply_optimizationChanges saved content: applies accepted title, subtitle, keywords or short_description fields to the app's editable draft. Review and store publishing remain separate.

AI tools: AppDrift charges for successful processing. Check the returned token charge and account balance. The client never retries these actions automatically.

ToolCostResult
optimize_for_keyword3 tokensProposed title/subtitle/keyword changes and rationale.
generate_metadata1 per short field; 2 per long fieldListing fields generated from the app brief.
translate_metadataPer language: 1 normally; 3 for description; 5 for full_descriptionOne field translated into 1–15 distinct locales.

Paid operations and apply_optimization are advertised as writes to MCP clients. A timeout or lost response does not prove that the server stopped processing or charged nothing. Check the account and draft before retrying. The client sends your API key and supplied listing text to the configured AppDrift API; AI requests may use the account's configured AI provider.

The legacy keyword_difficulty tool is separate from the experimental Keyword analyzer. Its scores do not predict rank, traffic or download gains.

Configuration

Environment variableRequiredDefault
APPDRIFT_API_KEYYesCreate it in the Developers dashboard.
APPDRIFT_API_BASENoAppDrift production API. Change only to an endpoint you trust with the key and listing text. HTTPS required; HTTP permitted only for loopback development.
APPDRIFT_REQUEST_TIMEOUT_MSNo90000; permitted range 1000–120000.

The client rejects redirects, bounds response size, validates tool inputs before requests and returns authored error messages instead of provider errors or stack traces. These safeguards do not replace backend authorization or review of an agent's proposed actions.

Troubleshooting

  • No tools: confirm Node 22+, npx availability and a nonempty APPDRIFT_API_KEY. MCP protocol messages use stdout; startup errors use stderr.
  • Invalid or revoked key: create or select an active key in Developers and update the local config.
  • Insufficient tokens: inspect account_status and current token options. A trial itself adds no tokens.
  • No editable draft: create the app's draft in AppDrift, then apply only the fields you reviewed.
  • No store results: try again later. A missing score is not zero competition.
  • Timeout after a paid action: inspect balance and saved state before requesting the action again.

Development

Within a source checkout, run npm ci, npm test and npm run verify:package. Integration checks launch the actual stdio process against local fixture APIs; they do not use production credentials or spend tokens. Package verification packs only the declared runtime files, installs the archive through a local HTTP URL into a clean directory and runs the integration suite against the installed executable.

License

MIT. See LICENSE.

来源:README.md,提交 1d760dc

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v0.2.1最新Oct 2, 2026