| name | setup |
| description | Configures the Aikido plugin by setting up the API key and verifying the MCP server. Accepts an optional API key argument to configure automatically. Use when the user wants to set up or verify the Aikido plugin, after installing it, or when aikido_full_scan fails or is unavailable. |
| arguments | [{"name":"aikido-api-key","description":"Your Aikido API key from https://app.aikido.dev → Settings → Integrations → IDE Plugins. When provided, the key is configured automatically in Claude Code's MCP settings.","required":false}] |
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 provided an API key as an argument:
- Read
~/.claude/settings.json (create it as {} if it doesn't exist).
- Merge
AIKIDO_API_KEY into the env object, preserving all other existing settings. The result should look like:
{
"env": {
"AIKIDO_API_KEY": "<key>"
}
}
- Write the updated JSON back to
~/.claude/settings.json.
- Confirm to the user that the API key has been saved to their Claude Code user settings and will apply to all projects.
- Inform the user that they need to restart Claude Code for the MCP server to pick up the new key.
- Offer to verify the setup after restart by running aikido-mcp:aikido_full_scan with a test payload.
If no API key was provided:
- Check whether the Aikido MCP server is currently available by calling aikido-mcp:aikido_full_scan with a minimal test payload: one file with path
test.js and content // test.
- If it responds successfully, confirm to the user that the Aikido plugin is already configured and ready to use.
- If it fails or is unavailable, guide the user through the setup:
a. Tell the user to get their API key from https://app.aikido.dev → Settings → Integrations → IDE Plugins.
b. Suggest running the skill with the key directly:
/aikido:setup <my-key>
c. Remind the user to restart Claude Code after setting the key so the MCP server picks it up.
d. Offer to verify the setup after they have set the key by running the test scan again.