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 从公开仓库中收录这些内容。

举报或申请下架