> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/ai-totsru/aikido-mcp/anthropic-claude-code-mcp.md).

# Anthropic Claude Codeプラグイン

Aikido MCPプラグインは、AikidoのセキュリティエンジンをAIコーディングツールに接続します。AIが生成したコードが作成されるとすぐに、脆弱性やハードコードされたシークレットを自動でスキャンします。

AIアシスタントは自分の出力をレビューできますが、そのレビューは完全ではありません。Aikidoは、実績のあるスキャンルールで生成されたすべてのスニペットをチェックする、信頼性が高く一貫したセキュリティレイヤーを追加します。

**Aikido MCPを使う理由**

* コミットされる前に、すべてのAI生成スニペットに対して決定的で独立したセキュリティチェックを実施
* AI支援ワークフローにおける脆弱性とハードコードされたシークレットを即座に検出し、修正
* リアルタイムのフィードバックにより、AI主導の開発を標準でより安全にします

## Claude Code CLI 用のインストール

{% stepper %}
{% step %}
**Aikido プラグインをインストール**

Aikido Claude Code プラグインのインストールは Claude Code CLI から行えます。

* ターミナルを開いて、次を入力してください `claude`.
* これで、Claude Plugins Marketplace からプラグインをインストールできます
  * `/plugin install aikido@claude-plugins-official`
* インストール後、次を実行してください `/reload-plugins` プラグインを有効化します。
* スキルを読み込むには Claude Code CLI の再起動が必要です。Claude Code CLI は次を入力して終了できます `exit`.
  {% endstep %}

{% step %}
**認証**

Claude Code を再起動したら、引数なしで setup スキルを実行してください:

```
/aikido:setup
```

これによりブラウザウィンドウが開き、Aikido にログインできます。認証が完了すると、トークンは Claude Code の設定に安全に保存され、MCP サーバーは自動的に登録されます。
{% endstep %}

{% step %}
**完了**

Aikido Claude Plugin が Claude Code で利用可能になりました。
{% endstep %}
{% endstepper %}

{% hint style="info" %}
ブラウザログインができない CI/CD やヘッドレス環境については、参照してください [トークン認証](/docs/docs-ja/ai-totsru/aikido-mcp/token-authentication.md).
{% endhint %}

Aikido プラグインには独自のスキルが含まれています。開発者にどのスキルを提供するかを正確に決め、開発者側での設定なしに展開する方法については、参照してください [Aikido を独自の Claude Code プラグインに同梱する](/docs/docs-ja/ai-totsru/aikido-mcp/anthropic-claude-code-mcp/claude-code-internal-plugin.md).

MCP サーバーが公開するツールの一覧については、参照してください [利用可能なツール](/docs/docs-ja/ai-totsru/aikido-mcp/using-aikido-mcp.md#available-tools)。エージェントに Aikido を使うよう依頼する方法については、参照してください [プロンプト例](/docs/docs-ja/ai-totsru/aikido-mcp/using-aikido-mcp.md#example-prompts).

### トラブルシューティング

setup スキルが MCP サーバーの起動に失敗する場合は、次を確認してください [トラブルシューティングガイド](https://help.aikido.dev/ai-and-dev-tools/aikido-mcp/mcp-troubleshooting).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.aikido.dev/docs/docs-ja/ai-totsru/aikido-mcp/anthropic-claude-code-mcp.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
