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

Cursor MCP

The Aikido MCP Plugin connects Aikido’s security engine to AI coding tools. It automatically scans AI generated code for vulnerabilities and hardcoded secrets as soon as it is created.

AI assistants can review their own output, but that review is not perfect. Aikido adds a reliable and consistent security layer that checks every generated snippet with proven scanning rules.

Why use Aikido MCP

  • Deterministic, independent security checks on every AI generated snippet before it is committed

  • Immediate detection and remediation of vulnerabilities and hardcoded secrets in AI assisted workflows

  • Real time feedback, making AI driven development safer by default

Available Tools

  • aikido_full_scan: Scans local code files for vulnerabilities (SAST) and hardcoded secrets.

  • aikido_issues_list: Fetches security issues from your Aikido feed.

    • Filter by scope: repo_name, cloud_name, vm_name, domain_name, container_name, workspace_name or team_name

    • Optionally narrow a repo scope to a single branch with repo_branch_name

    • Pick one or more issue types: sast, leaked_secret, iac, open_source, cloud, cloud_instance, docker_container, malware, eol, mobile, surface_monitoring, scm_security, license, ai_pentest, ai_code_analysis

    • Filter by labels to only return issues on repositories or container images carrying any of the given labels

    • Filter by severity to only return issues of a certain severity or above a given threshold

    • Page through results with page (zero-based)

    • Returns each issue with title, type, severity, and remediation steps

    • Filter on SLA by choosing the following filters: out_of_sla or sla_due_soon

  • aikido_ignore_issue: Ignores a security issue in the feed. Requires issue_id and a reason.

  • aikido_login: Starts the Aikido sign-in flow; returns sign-in URL or confirms you're already signed in.

    • Sign-in redirects you to your account's region automatically. Only set region (eu, us, me, au) if you land in the wrong one

    • Use force_reauth to switch accounts or sign in again

Not all MCP tools are enabled by default. Admins can enable them on the permissions page for everyone

Installation

You can also install Aikido MCP directly from the Cursor Marketplace.

1

Add via Cursor Marketplace

Open Aikido on the Cursor Marketplace and click Add to Cursor.

2

Authenticate

On first use, the MCP server will detect no authentication is set and prompt you to log in. Ask the agent to run aikido_login. It will return a browser link. Follow the link to authenticate with Aikido. Your token is stored securely once login is complete.

3

Add custom instructions

Add an instruction to your .cursorrules file or Cursor custom instructions to ensure the agent uses the MCP server.

For CI/CD or headless setups where browser login is not possible, see Token Authentication.

Via Aikido IDE Expansion Packs

The easiest way to add the Aikido MCP to Cursor is through the Aikido IDE plugin's Expansion Packs. This handles configuration automatically without any manual setup.

Cursor IDE

Once the plugin is installed, open the Aikido sidebar and go to Aikido Cursor Plugin to enable the Aikido MCP server.

Scanning code

  • "Use Aikido to scan this file for security issues"

  • "Run an Aikido scan on my staged changes to check for secrets before I commit"

  • "Scan the files I just edited with Aikido and link them to the payments-api repo"

Reviewing issues by repo

  • "Show me all critical Aikido issues in payments-api"

  • "List any leaked secrets in frontend-web from Aikido"

  • "What open source vulnerabilities does Aikido see in api-gateway?"

  • "Show SAST and IaC issues in infra-core from Aikido"

Reviewing issues by cloud, VM, or container

  • "List all Aikido cloud issues in prod-aws"

  • "Show malware findings on web-server-01 from Aikido"

  • "What end-of-life software is running in the nginx-proxy container per Aikido?"

  • "Show me surface monitoring issues for example.com in Aikido"

Combined workflows

  • "Use Aikido to scan my current changes, then show existing critical issues in the same repo"

  • "Check this PR with Aikido and compare against open SAST issues in the repo"

Manual installation

For any custom setup, refer to the npm package page for detailed manual installation instructions.

Last updated

Was this helpful?