> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/ai-and-dev-tools/aikido-mcp.md).

# AI Coding Assistants (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

## Demo

Demo of the Aikido MCP server working with an agent rule to scan and fix vulnerabilities in AI generated code:

{% embed url="<https://www.youtube.com/watch?v=D0ltRTSuKmk>" %}

## Installation

### AI Platforms

* [Anthropic Claude Code MCP](/ai-and-dev-tools/aikido-mcp/anthropic-claude-code-mcp.md)
* [Cursor MCP](/ai-and-dev-tools/aikido-mcp/cursor-mcp.md)
* [OpenAI Codex CLI MCP](/ai-and-dev-tools/aikido-mcp/openai-codex-cli-mcp.md)
* [Gemini CLI MCP](/ai-and-dev-tools/aikido-mcp/gemini-cli-mcp.md)
* [Jetbrains AI](/ai-and-dev-tools/aikido-mcp/jetbrains-ai.md)
* [Github Copilot](/ai-and-dev-tools/aikido-mcp/github-copilot.md)
* [Mistral Vibe MCP](/ai-and-dev-tools/aikido-mcp/mistral-vibe-mcp.md)
* [OpenCode MCP](/ai-and-dev-tools/aikido-mcp/opencode-mcp.md)

### Via Aikido IDE plugins

When the [Aikido IDE plugin](broken://pages/TtCgRvpjJR8sPsXdszal) is installed you can use the Aikido Expansion Packs to install the Aikido MCP server with one click. [Learn more in the Expansion Packs docs.](/ai-and-dev-tools/ide-plugins-overview/features/aikido-expansion-packs.md)

{% hint style="warning" %}
Currently available for Jetbrains IDE's, VS Code and variants (e.g., Windsurf, Cursor, Kiro, and AntiGravity).
{% endhint %}

* [Cursor IDE](/ai-and-dev-tools/ide-plugins-overview/cursor-ide.md)
* [Google Antigravity IDE](/ai-and-dev-tools/ide-plugins-overview/google-antigravity.md)
* [JetBrains IDE](/ai-and-dev-tools/ide-plugins-overview/jetbrains-ide-plugins.md)
* [Kiro IDE](/ai-and-dev-tools/ide-plugins-overview/kiro-ide.md)
* [VS Code IDE](/ai-and-dev-tools/ide-plugins-overview/vs-code-plugin.md)
* [Windsurf IDE](/ai-and-dev-tools/ide-plugins-overview/windsurf-ide.md)

### Manual installation for other platforms

For any other AI platform or custom MCP setup, refer to the [npm package page for detailed manual installation instructions](https://www.npmjs.com/package/@aikidosec/mcp).

## Using the MCP server

For the tools the server exposes, see [Available tools](/ai-and-dev-tools/aikido-mcp/using-aikido-mcp.md#available-tools). For prompts that put them to work, see [Example prompts](/ai-and-dev-tools/aikido-mcp/using-aikido-mcp.md#example-prompts).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/ai-and-dev-tools/aikido-mcp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
