Jetbrains AI / Junie MCP
Aikido MCP Pluginは、AikidoのセキュリティエンジンをAIコーディングツールに接続します。AIが生成したコードを、作成された時点で脆弱性やハードコードされたシークレットについて自動的にスキャンします。
AIアシスタントは自らの出力をレビューできますが、そのレビューは完璧ではありません。Aikidoは、実績のあるスキャンルールで生成されたすべてのスニペットをチェックする、信頼性が高く一貫したセキュリティレイヤーを追加します。
Aikido MCPを使用する理由
- AIが生成したすべてのスニペットに対し、コミット前に決定論的かつ独立したセキュリティチェックを実施
- AI支援ワークフローにおける脆弱性やハードコードされたシークレットを即座に検出・修正
- リアルタイムのフィードバックにより、AI駆動の開発をデフォルトでより安全に
インストール
Aikido MCPサーバーをJetbrains IDEの設定に追加する
IDEで Settings | Tools | AI Assistant | Model Context Protocol (MCP) に移動します。
Model Context Protocol (MCP) の設定ページで、
Add をクリックして新しいMCPサーバー設定を追加します。
New MCP Server ダイアログで、MCPサーバーへの接続方法を選択し、JSON設定を入力します:
{ "mcpServers": { "aikido": { "command": "npx -y @aikidosec/mcp@latest", "args": [], "environment": {} } } }認証する
初回使用時に、AIアシスタントに
aikido_loginを実行するよう依頼してください。ブラウザのリンクが返されるので、そのリンクからAikidoにログインします。ログインが完了すると、トークンは安全に保存されます。以下のスキルまたは指示を追加して、エージェントの指示をAikido MCPを使用するように調整します。
--- name: aikido-security description: Enforce mandatory security scanning for all code changes license: MIT compatibility: opencode metadata: audience: developers security: aikido --- ## Purpose Ensure that all first-party code is scanned for security issues whenever code is written or changed. ## Rules - Always run **aikido_scan_paths** on all newly written, generated, added, or modified first-party code. - Pass the file paths to the scanner. Only use **aikido_full_scan** when the code is not saved to disk yet. - If any security issues are reported, apply the fixes using the remediation guidance from Aikido. - Run **aikido_scan_paths** again after fixes to confirm that no issues remain and no new ones were introduced. - Repeat the fix and rescan cycle until the scan passes with zero issues. - If the Aikido MCP server is not installed or not running, inform the user to install it using the official setup guide at https://help.aikido.dev/ide-plugins/aikido-mcp完了
これでAikido MCPがJetbrains IDEで利用可能になりました
ブラウザでのログインができないCI/CDやヘッドレス環境については、トークン認証を参照してください。
MCPサーバーが提供するツールの一覧については、利用可能なツールを参照してください。エージェントにAikidoを使用させる方法については、プロンプトの例を参照してください。