# Stripe 向けエージェントプラグイン

Stripe の最新ガイダンスと本番環境データへのアクセスを AI コーディングアシスタントに付与します。

Stripe のエージェントプラグインにより、AI エージェントは Stripe の開発者ツール、本番環境データ、最新のスキルと技術ガイダンスを利用できます。こうしたコンテキストがあることで、エージェントは古い API やよくあるミスを回避しつつ、Stripe 連携をより速く正確に構築、運用できます。

Claude Code、Codex、Cursor では[プラグインの自動設定サポート](https://docs.stripe.com/agents/plugin.md#automatic)を利用できます。[その他のエージェント](https://docs.stripe.com/agents/plugin.md#other-agents)には、AI ツールを手動で追加できます。

## 自動インストール

Stripe CLI の [agent setup](https://docs.stripe.com/cli/agent/setup) コマンドを使用して、該当するエージェントプラグインを自動的に設定します。

```bash
npm install -g @stripe/cli@latest
stripe agent setup
```

このコマンドにより、使用しているエージェントが自動的に検出され、該当するコマンドが実行されます。

## 手動インストール

または、AI エージェントを選択して該当するコマンドを実行します:

### Claude Code

プロジェクトで次のコマンドを実行します:

```bash
claude plugin install stripe@claude-plugins-official
```

### Codex

プロジェクトで次のコマンドを実行します:

```bash
codex plugin add stripe@openai-curated
```

### Cursor

プロジェクトで次のコマンドを実行します:

```bash
/add-plugin stripe
```

### Grok

プロジェクトで次のコマンドを実行します:

```bash
grok plugin install stripe --trust
```

### その他の AI エージェント

ご使用のエージェントに対応する Stripe プラグインがない場合は、`stripe agent setup` を実行して[エージェントスキル](https://docs.stripe.com/skills.md)をインストールします。また、[Stripe MCP](https://docs.stripe.com/mcp.md#manual) サーバーを手動で設定して、エージェントが Stripe の本番環境データやサポート対象の操作にアクセスできるようにすることもできます。

## See also

- [Stripe MCP](https://docs.stripe.com/mcp.md)
- [エージェントスキル](https://docs.stripe.com/skills.md)
