About aikido-mcp
aikido-mcp is an MCP server for security analysis of Aiken smart contracts on Cardano. It lets MCP-compatible AI assistants run scans and inspect vulnerability rules and explanations during development.
Key features
- 01Scan Aiken projects for vulnerabilities
- 02Filter findings by severity
- 03Run incremental scans from a Git ref
- 04List 75 security detectors
- 05Explain detectors and search CWC
Use cases
- 01Scan an Aiken project during development
- 02Limit scan results to chosen severity
- 03Review security rules by category
- 04Look up a Cardano weakness classification
MCP support
The server exposes four tools: project analysis, detector listing, detector explanations, and Cardano Weakness Classification lookup. Analysis invokes the aikido binary; CWC lookup uses a static registry.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y aikido-mcpAIKIDO_BINARYOptional path to the aikido binary (auto-detected if not set)Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
4Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| diff | string | No | Git ref for incremental analysis — only report findings in changed files |
| config | string | No | Path to custom .aikido.toml config file |
| static_only | boolean | No | Skip multi-lane orchestration (faster but less thorough) |
| min_severity | enum | No | Minimum severity threshold to reportinfo | low | medium | high | critical |
| project_path | string | Yes | Path to the Aiken project directory (must contain aiken.toml) |
Details
From the project READMEaikido-mcp
MCP server for Aikido — security analysis for Aiken smart contracts (Cardano).
Lets any MCP-compatible AI assistant (Claude Code, Cursor, Windsurf) run security scans on Aiken projects inline during development.
Setup
Claude Code
Add to ~/.claude/settings.json:
{
"mcpServers": {
"aikido": {
"command": "npx",
"args": ["-y", "aikido-mcp"]
}
}
}
Cursor / Windsurf
Add to .cursor/mcp.json or equivalent:
{
"mcpServers": {
"aikido": {
"command": "npx",
"args": ["-y", "aikido-mcp"]
}
}
}
Prerequisites
The aikido-aiken binary must be available. Install via:
npm install -g aikido-aiken
Or set AIKIDO_BINARY env var to point to the binary.
Tools
aikido_analyze
Scan an Aiken project for security vulnerabilities.
| Parameter | Type | Required | Description |
|---|---|---|---|
project_path | string | yes | Path to Aiken project (must contain aiken.toml) |
min_severity | enum | no | Minimum severity: info, low, medium, high, critical |
static_only | boolean | no | Skip multi-lane analysis for speed |
diff | string | no | Git ref for incremental analysis |
config | string | no | Path to .aikido.toml config |
aikido_list_rules
List all 75 detectors with severity, category, CWE mapping, and tier.
| Parameter | Type | Required | Description |
|---|---|---|---|
severity | enum | no | Filter by minimum severity |
category | string | no | Filter by category |
aikido_explain
Detailed explanation of a specific detector.
| Parameter | Type | Required | Description |
|---|---|---|---|
detector | string | yes | Detector name (e.g., missing-signature-check) |
aikido_cwc_lookup
Search the Cardano Weakness Classification registry.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | yes | CWC ID, severity, detector name, or keyword |
How it works
The server spawns the aikido binary with --format json and parses the structured output. Binary discovery checks (in order):
AIKIDO_BINARYenvironment variable- npm sibling (
aikido-aikenpackage) aikidooraikido-aikenon PATH
The CWC lookup tool uses a static registry and does not require the binary.
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.