> 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/mistral-vibe-mcp.md).

# Mistral Vibe MCP

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

AIアシスタントは自分の出力をレビューできますが、そのレビューは完璧ではありません。Aikidoは、実証済みのスキャンルールを用いて、生成されたすべてのスニペットを確認する、信頼性が高く一貫したセキュリティ層を追加します。

**Aikido MCPを使う理由**

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

**利用可能なツール**

* **aikido\_full\_scan**: ローカルのコードファイルを脆弱性（SAST）とハードコードされたシークレットについてスキャンします。
* **aikido\_issues\_list**: Aikidoフィードからセキュリティ問題を取得します。
  * スコープで絞り込み: `repo_name`, `cloud_name`, `vm_name`, `domain_name`, `container_name`, `workspace_name` または `team_name`
  * 必要に応じて、リポジトリのスコープを単一ブランチに絞り込むには `repo_branch_name`
  * 1つ以上の問題タイプを選択してください: `sast`, `leaked_secret`, `iac`, `open_source`, `cloud`, `cloud_instance`, `docker_container`, `malware`, `eol`, `mobile`, `surface_monitoring`, `scm_security`, `license`, `ai_pentest` , `code_audit`
  * 次の設定で結果をページ送りします: `ページ` （0始まり）
  * 各問題を、タイトル、種類、重大度、および修復手順とともに返します
  * 次のフィルターを選んでSLAで絞り込みます: `out_of_sla` または `due_soon`
* **aikido\_ignore\_issue**: フィード内のセキュリティ問題を無視します。必要なのは `issue_id` と `理由`.
* **aikido\_login**: Aikidoのサインインフローを開始します。サインインURLを返すか、すでにサインイン済みであることを確認します。

{% hint style="info" %}
すべてのMCPツールがデフォルトで有効になっているわけではありません。管理者は次で有効にできます: [権限ページ](https://app.aikido.dev/settings/integrations/ide/mcp/permissions) 全員向けに
{% endhint %}

## インストール

{% stepper %}
{% step %}
**Aikido MCP サーバーを Mistral の設定に追加する**

開くか作成する `~/.vibe/config.toml` そして、ファイルの末尾に以下を追加します。

{% hint style="warning" %}
次の項目を削除してください。 `mcp_servers = []` 行を、続行する前にデフォルト設定から削除してください。
{% endhint %}

```shellscript
[[mcp_servers]]
name = "aikido"
transport = "stdio"
command = "npx"
args = ["-y", "@aikidosec/mcp@latest"]
```

{% endstep %}

{% step %}
**認証**

初回使用時、MCP サーバーは認証が設定されていないことを検出します。エージェントに次を実行するよう依頼してください `aikido_login` — ブラウザのリンクが返されます。そのリンクを開いて Aikido にログインしてください。ログインが完了すると、トークンは安全に保存されます。
{% endstep %}

{% step %}
**Aikido ルールを Global AGENTS ファイルに追加する**

まだ存在しない場合は、vibe の prompts ディレクトリを作成してください。

```shellscript
mkdir -p ~/.vibe/prompts/
```

Aikido ルールをダウンロードして次に追加します `~/.vibe/prompts/aikido-rule.txt`.

```shellscript
curl -fsSL "https://gist.githubusercontent.com/kidk/aa48cad6db80ba4a38493016aae67712/raw/3644397b7df43423e3da06434491b40bbb79dd47/aikido-rule.txt" \
  -o ~/.vibe/prompts/aikido-rule.txt
```

{% endstep %}

{% step %}
**完了**

Aikido MCP が Mistral Vibe で利用可能になりました。

{% hint style="info" %}
Mistral Vibe が開いている場合は再起動してください。
{% endhint %}
{% endstep %}
{% endstepper %}

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

**コードをスキャン中**

* 「Aikidoを使ってこのファイルをセキュリティ上の問題についてスキャンしてください」
* 「コミットする前に、ステージング済みの変更をAikidoでスキャンしてシークレットを確認してください」
* 「Aikidoで、私が今編集したファイルをスキャンして、それらをその `payments-api` リポジトリ」

**リポジトリ別に問題を確認**

* 「Aikidoの重大な問題をすべて表示して `payments-api`"
* 「漏えいしたシークレットをすべて一覧表示して `frontend-web` Aikidoで」
* 「Aikidoはどのオープンソースの脆弱性を `api-gateway`?"
* 「SASTとIaCの問題を表示して `infra-core` Aikidoで」

**クラウド、VM、またはコンテナ別に問題を確認**

* 「Aikidoのクラウドの問題をすべて一覧表示して `prod-aws`"
* 「マルウェアの検出結果を表示して `web-server-01` Aikidoで」
* 「どのサポート終了ソフトウェアが、Aikidoによって `nginx-proxy` コンテナで実行されているのか？」
* 「Aikidoの表面監視の問題を表示して `example.com` Aikidoで」

**組み合わせたワークフロー**

* 「Aikidoを使って現在の変更をスキャンし、同じリポジトリ内の既存の重大な問題を表示してください」
* 「このPRをAikidoでチェックし、リポジトリ内の未解決SAST問題と比較してください」


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/ai-totsru/aikido-mcp/mistral-vibe-mcp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
