Setup

作者 AikidoSec02f018ad4da1無授權條款14 個星標收錄於 2026年10月7日更新於 2026年10月7日儲存庫12 天前更新

Configures the Aikido plugin by signing the user in through the MCP login tool and verifying the MCP server. Use when the user wants to set up or verify the Aikido plugin, after installing it, when aikido mcp tool call fails or is unavailable, or when the user wants to switch Aikido accounts or re-authenticate.

僅含說明DevOps & Cloud
AI 產生的概覽

引導透過 MCP 登入工具設定並登入 Aikido 安全外掛,並檢查 Node.js 版本。

功能
此技能引導代理設定 Aikido 安全外掛。它會先檢查已安裝的 Node.js 版本,若未安裝或低於 18.19.0 就停止並提供指引。接著呼叫 aikido-mcp:aikido_login 工具,偵測現有工作階段或取得登入網址,將網址交給使用者,並再次呼叫該工具驗證設定。它也涵蓋切換帳號或使用強制重新驗證來重新登入。
適用情境
適用於使用者想要設定或驗證 Aikido 外掛時,通常是在剛安裝之後。也適用於 Aikido MCP 工具呼叫失敗或無法使用時,或使用者想要切換 Aikido 帳號或重新驗證時。
執行需求
需要 Node.js 18.19.0 或更高版本,以及已在代理環境中載入 aikido-mcp MCP 伺服器的 Aikido 外掛。依賴 aikido-mcp:aikido_login 工具,並需要使用者透過瀏覽器完成登入。不附帶指令碼,僅為說明文件。

When helping the user configure the Aikido security plugin:

First: Verify Node.js version

Before doing anything else, run node --version to check the installed Node.js version.

  • If Node.js is not installed or the command fails, stop and tell the user that Node.js 18.19.0 or higher is required to run the Aikido MCP server, and direct them to https://nodejs.org to install it.
  • If the version is below 18.19.0, stop and tell the user that the Aikido MCP server requires Node.js 18.19.0 or higher, show the currently installed version, and direct them to https://nodejs.org to upgrade.
  • If the version is 18.19.0 or higher, proceed with the steps below.

If the user is asking to switch accounts or re-authenticate, call aikido-mcp:aikido_login with force_reauth: true and skip step 1 — the tool will always return a fresh sign-in URL. Continue from step 3 to walk the user through opening the URL and step 4 to verify.

Otherwise, follow the standard setup flow:

  1. Check the MCP server is reachable and the user is signed in by calling aikido-mcp:aikido_login with no arguments. The tool is idempotent — it returns "Already signed in" if a valid token is cached, otherwise it starts a new sign-in flow.
  2. If it reports the user is already signed in, confirm to the user that the Aikido plugin is configured and ready to use. Stop here.
  3. If it returns a sign-in URL, present it to the user verbatim — do not strip or modify the state, redirect_uri, or regionRedirect query parameters — and ask them to open it in a browser to complete sign-in. The URL automatically redirects the user to their account's region, so there is no need to pick a region. Only pass the optional region argument when the user explicitly names a region (e.g. EU / US / ME / AU), or when the automatic redirect sent them to the wrong one.
  4. Once the user reports they have completed the browser sign-in, verify the setup by calling aikido-mcp:aikido_login again.
  5. If the aikido_login call itself fails because the MCP server is unavailable, tell the user to ensure the Aikido plugin is installed and that Claude Code has loaded the aikido-mcp server, then retry.

來源與署名

來源:AikidoSec/aikido-claude-plugin位於skills/setup提交02f018a

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架