AC

appfigures/cli

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

21 stars 3 forks 品質 67 トレンド 24Apache-2.0

公式 Appfigures CLI と MCP サーバー

概要

Appfigures CLI — アプリのメトリック、レビュー、および端末からデータを保存します。 エージェントに Appfigures を持たせますが、ビルドされているのは、呼び出しするツールとして、CLI や MCP を超えるコードです。 どちらを選ぶか、同じことをし、同じJSONを取り戻すことができます。 - エージェントは、実行中にAppfiguresをツールとして呼び出します。 AI SDK、OpenAI、LangChain。 → ツールを追加 - エージェントは、Appfigures をクエリし、タイプされたデータを取り戻すコードを書きます。 → クライアント - Mackerel — 端末やサンドボックスから Appfigures を実行します。 → @appfigures/cli - 🔌 — Appfigures を Claude、ChatGPT、または Cursor に接続します。 → ホストサーバーを接続する Node.js 22+ が必要です。 pnpm と yarn で動作します。 - af auth login --interactive は、ブラウザをガイドフローで開き、コードを承認して貼り付けます。 ・ デフォルトでは、af auth のログインは、認証 URL を出力します。この URL を開き、承認し、af auth のログイン --code で示されているコードを使用して終了します。 エージェントはこの端を最後まで動かすことができます.

概要(AI 翻訳)

Appfigures CLI — アプリのメトリック、レビュー、および端末からデータを保存します。

インストールせずに今すぐお試しください:

✨ Appfigures AIの力を使用する4つの方法

エージェントに Appfigures を持たせますが、ビルドされているのは、呼び出しするツールとして、CLI や MCP を超えるコードです。 どちらを選ぶか、同じことをし、同じJSONを取り戻すことができます。

  • エージェントは、実行中のツールとしてAppfiguresを呼び出します。 AI SDK、OpenAI、LangChain。 → ツールを追加する
  • クライアント** — あなたのエージェントは、Appfigures をクエリし、タイプされたデータを取り戻すコードを書きます。 → クライアントを使用する
  • CLI** — 端末やサンドボックスから Appfigures を実行します。 → @appfigures/cli
  • 🔌MCP — AppfiguresをClaude、ChatGPT、またはCursorに接続します。 → ホストされたサーバーを接続します

インストール

Node.js 22+ が必要です。 pnpm と yarn で動作します。

クイックスタート

af エイリアスとしてもご利用いただけます。

##認証

  • 自分でログインしてください。 af auth login --interactive]は、ガイド付きフローでブラウザを開き、コードを承認して貼り付けます。
  • またはあなたの代理店はあなたを導きます。 デフォルトでは、[[af auth login] は、認証 URL を出力します。この URL は、このコードを使って af auth login --code で承認、終了します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

@appfigures/cli

The Appfigures CLI — query app metrics, reviews, and store data from your terminal.

Try it now without installing:

npx @appfigures/cli auth login
npx @appfigures/cli apps search "youtube"

✨ Four ways to use the power of Appfigures AI

Bring Appfigures into your agent however it’s built — as tools it calls, code it writes, a CLI, or over MCP. Whichever you pick, you can do the same things and get the same JSON back.

  • 🛠️ Agent tools — your agent calls Appfigures as tools while it runs. AI SDK, OpenAI, LangChain. → Add the tools
  • 📦 The client — your agent writes code that queries Appfigures and gets typed data back. → Use the client
  • 🖥️ CLI — run Appfigures from a terminal or a sandbox. → @appfigures/cli
  • 🔌 MCP — connect Appfigures to Claude, ChatGPT, or Cursor. → Connect the hosted server

Install

npm install -g @appfigures/cli

Requires Node.js 22+. Works with pnpm and yarn too.

Quick start

appfigures auth login
appfigures --help

Also available as af alias.

Authentication

  • Log in yourself. af auth login --interactive opens your browser in a guided flow; approve and paste the code back.
  • Or let your agent guide you. By default, af auth login prints an authorization URL — open it, approve, and finish with af auth login --code using the code shown. An agent can drive this end to end. For unattended use, set APPFIGURES_API_KEY instead: create a token at appfigures.com/developers/keys by clicking Create a New Client, then Create Personal Access Token.

Either login saves the token to your OS credential manager (macOS Keychain, Windows Credential Manager, Linux Secret Service). See Environment for APPFIGURES_API_KEY and other overrides.

MCP server

Appfigures runs a hosted Model Context Protocol server at https://mcp.appfigures.com/mcp. Add it to any MCP client that supports remote servers and sign in with your Appfigures account when the client asks. There’s nothing to install and no token to manage.

Claude Code. Add it with one command, then run /mcp to sign in:

claude mcp add --transport http appfigures https://mcp.appfigures.com/mcp

Claude (web and desktop). Add the URL as a custom connector. See Add a connector that isn’t in the directory.

GitHub で README 全文を見る

インストール

npx @appfigures/cli auth login
MCP 初心者?mcpskill.org のガイドから始めましょう →