For the complete documentation index, see llms.txt. This page is also available as Markdown.

Alternative Token Authentication

Token authentication is the alternative to the default browser-based login flow. Use it when:

  • You are running Aikido MCP in a CI/CD pipeline or other headless environment

  • Your setup cannot open a browser (e.g. remote servers, Docker containers)

  • You prefer to manage credentials explicitly via environment variables

For interactive use on a local machine, the browser-based login flow is simpler and recommended.

Creating a token

In Aikido, go to Settings → Integrations → IDE → MCP and create a Personal Access Token (PAT). Copy it to a secure location.

Setup by agent

Claude Code

Pass the token as an argument to the setup skill:

/aikido:setup your-PAT-here

This saves the token to your Claude Code user settings and registers the MCP server automatically.

Alternatively, set AIKIDO_API_KEY in your environment before starting Claude Code:

export AIKIDO_API_KEY=your-token-here
claude

Cursor

When adding Aikido from the Cursor Marketplace, set your token as the AIKIDO_API_KEY environment variable when prompted during installation.

For a manual setup, add the token to your Cursor MCP configuration:

OpenAI Codex CLI

Pass the token via the --env flag when registering the MCP server:

Gemini CLI

JetBrains

Add the token to the environment block in the MCP server JSON config (Settings | Tools | AI Assistant | Model Context Protocol):

GitHub Copilot — IDE

Add the token to the env block in your mcp.json:

GitHub Copilot — Cloud Agents

GitHub Copilot only exposes secrets to MCP config when their names start with COPILOT_MCP_. Create a repository secret:

COPILOT_MCP_AIKIDO_API_KEY = your Aikido token

Then use that variable name in your MCP config under Settings → Copilot → Coding agent:

Mistral Vibe

Add the token as an environment variable in ~/.vibe/config.toml:

OpenCode

Add the token to the environment block in ~/.config/opencode/opencode.json:

Last updated

Was this helpful?