M

MCP Kritisi

by zororaka00 · io.github.zororaka00/mcp-kritisi

Enables MCP clients to run AI-assisted Solidity security audits with designed PDF reports, generate NatSpec documentation, merge imports into a single file, and inspect effective provider configuration with keys redacted. Supports OpenRouter, OpenAI, Claude, and DeepSeek, while restricting inputs to .sol files and writing outputs only when explicitly requested.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-zororaka00-mcp-kritisi": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-kritisi"
      ],
      "env": {
        "OPENROUTER_API_KEY": "<YOUR_VALUE>",
        "OPENROUTER_MODEL": "openai/gpt-5.6-sol",
        "CLAUDE_MODEL": "claude-opus-5",
        "OPENAI_MODEL": "gpt-5.6-sol",
        "CLAUDE_API_KEY": "<VALUE>",
        "DEEPSEEK_MODEL": "deepseek-v4-pro",
        "OPENAI_API_KEY": "<VALUE>",
        "ANTHROPIC_MODEL": "claude-opus-5",
        "KRITISI_RETRIES": "2",
        "DEEPSEEK_API_KEY": "<VALUE>",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "CLAUDE_MAX_TOKENS": "8192",
        "KRITISI_TIMEOUT_MS": "120000",
        "KRITISI_CONFIG_PATH": "<VALUE>",
        "OPENROUTER_BASE_URL": "https://openrouter.ai/api/v1/chat/completions",
        "ANTHROPIC_MAX_TOKENS": "8192",
        "KRITISI_RETRY_DELAY_MS": "500"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-zororaka00-mcp-kritisi": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-kritisi"
      ],
      "env": {
        "OPENROUTER_API_KEY": "<YOUR_VALUE>",
        "OPENROUTER_MODEL": "openai/gpt-5.6-sol",
        "CLAUDE_MODEL": "claude-opus-5",
        "OPENAI_MODEL": "gpt-5.6-sol",
        "CLAUDE_API_KEY": "<VALUE>",
        "DEEPSEEK_MODEL": "deepseek-v4-pro",
        "OPENAI_API_KEY": "<VALUE>",
        "ANTHROPIC_MODEL": "claude-opus-5",
        "KRITISI_RETRIES": "2",
        "DEEPSEEK_API_KEY": "<VALUE>",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "CLAUDE_MAX_TOKENS": "8192",
        "KRITISI_TIMEOUT_MS": "120000",
        "KRITISI_CONFIG_PATH": "<VALUE>",
        "OPENROUTER_BASE_URL": "https://openrouter.ai/api/v1/chat/completions",
        "ANTHROPIC_MAX_TOKENS": "8192",
        "KRITISI_RETRY_DELAY_MS": "500"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-zororaka00-mcp-kritisi": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-kritisi"
      ],
      "env": {
        "OPENROUTER_API_KEY": "<YOUR_VALUE>",
        "OPENROUTER_MODEL": "openai/gpt-5.6-sol",
        "CLAUDE_MODEL": "claude-opus-5",
        "OPENAI_MODEL": "gpt-5.6-sol",
        "CLAUDE_API_KEY": "<VALUE>",
        "DEEPSEEK_MODEL": "deepseek-v4-pro",
        "OPENAI_API_KEY": "<VALUE>",
        "ANTHROPIC_MODEL": "claude-opus-5",
        "KRITISI_RETRIES": "2",
        "DEEPSEEK_API_KEY": "<VALUE>",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "CLAUDE_MAX_TOKENS": "8192",
        "KRITISI_TIMEOUT_MS": "120000",
        "KRITISI_CONFIG_PATH": "<VALUE>",
        "OPENROUTER_BASE_URL": "https://openrouter.ai/api/v1/chat/completions",
        "ANTHROPIC_MAX_TOKENS": "8192",
        "KRITISI_RETRY_DELAY_MS": "500"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-zororaka00-mcp-kritisi": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-kritisi"
      ],
      "env": {
        "OPENROUTER_API_KEY": "<YOUR_VALUE>",
        "OPENROUTER_MODEL": "openai/gpt-5.6-sol",
        "CLAUDE_MODEL": "claude-opus-5",
        "OPENAI_MODEL": "gpt-5.6-sol",
        "CLAUDE_API_KEY": "<VALUE>",
        "DEEPSEEK_MODEL": "deepseek-v4-pro",
        "OPENAI_API_KEY": "<VALUE>",
        "ANTHROPIC_MODEL": "claude-opus-5",
        "KRITISI_RETRIES": "2",
        "DEEPSEEK_API_KEY": "<VALUE>",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "CLAUDE_MAX_TOKENS": "8192",
        "KRITISI_TIMEOUT_MS": "120000",
        "KRITISI_CONFIG_PATH": "<VALUE>",
        "OPENROUTER_BASE_URL": "https://openrouter.ai/api/v1/chat/completions",
        "ANTHROPIC_MAX_TOKENS": "8192",
        "KRITISI_RETRY_DELAY_MS": "500"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-zororaka00-mcp-kritisi": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-kritisi"
      ],
      "env": {
        "OPENROUTER_API_KEY": "<YOUR_VALUE>",
        "OPENROUTER_MODEL": "openai/gpt-5.6-sol",
        "CLAUDE_MODEL": "claude-opus-5",
        "OPENAI_MODEL": "gpt-5.6-sol",
        "CLAUDE_API_KEY": "<VALUE>",
        "DEEPSEEK_MODEL": "deepseek-v4-pro",
        "OPENAI_API_KEY": "<VALUE>",
        "ANTHROPIC_MODEL": "claude-opus-5",
        "KRITISI_RETRIES": "2",
        "DEEPSEEK_API_KEY": "<VALUE>",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "CLAUDE_MAX_TOKENS": "8192",
        "KRITISI_TIMEOUT_MS": "120000",
        "KRITISI_CONFIG_PATH": "<VALUE>",
        "OPENROUTER_BASE_URL": "https://openrouter.ai/api/v1/chat/completions",
        "ANTHROPIC_MAX_TOKENS": "8192",
        "KRITISI_RETRY_DELAY_MS": "500"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-zororaka00-mcp-kritisi": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-kritisi"
      ],
      "env": {
        "OPENROUTER_API_KEY": "<YOUR_VALUE>",
        "OPENROUTER_MODEL": "openai/gpt-5.6-sol",
        "CLAUDE_MODEL": "claude-opus-5",
        "OPENAI_MODEL": "gpt-5.6-sol",
        "CLAUDE_API_KEY": "<VALUE>",
        "DEEPSEEK_MODEL": "deepseek-v4-pro",
        "OPENAI_API_KEY": "<VALUE>",
        "ANTHROPIC_MODEL": "claude-opus-5",
        "KRITISI_RETRIES": "2",
        "DEEPSEEK_API_KEY": "<VALUE>",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "CLAUDE_MAX_TOKENS": "8192",
        "KRITISI_TIMEOUT_MS": "120000",
        "KRITISI_CONFIG_PATH": "<VALUE>",
        "OPENROUTER_BASE_URL": "https://openrouter.ai/api/v1/chat/completions",
        "ANTHROPIC_MAX_TOKENS": "8192",
        "KRITISI_RETRY_DELAY_MS": "500"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
OPENROUTER_API_KEY secret No OpenRouter API key.
OPENROUTER_MODEL No OpenRouter model. Default: openai/gpt-5.6-sol
CLAUDE_MODEL No Claude model. Alias: ANTHROPIC_MODEL. Default: claude-opus-5
OPENAI_MODEL No OpenAI model. Default: gpt-5.6-sol
CLAUDE_API_KEY No Claude API key. Alias: ANTHROPIC_API_KEY.
DEEPSEEK_MODEL No DeepSeek model. Default: deepseek-v4-pro
OPENAI_API_KEY No OpenAI API key.
ANTHROPIC_MODEL No Claude model. Alias: CLAUDE_MODEL. Default: claude-opus-5
KRITISI_RETRIES No Retries for network errors and HTTP 429/5xx. Default: 2
DEEPSEEK_API_KEY No DeepSeek API key.
ANTHROPIC_API_KEY No Claude API key. Alias: CLAUDE_API_KEY.
CLAUDE_MAX_TOKENS No Claude output token cap. Alias: ANTHROPIC_MAX_TOKENS. Default: 8192
KRITISI_TIMEOUT_MS No Per-request timeout in milliseconds. Default: 120000
KRITISI_CONFIG_PATH No Path to a different kritisi config file. Default location is ~/.config/kritisi/config.json or $XDG_CONFIG_HOME/kritisi/config.json.
OPENROUTER_BASE_URL No OpenRouter endpoint override. Default: https://openrouter.ai/api/v1/chat/completions
ANTHROPIC_MAX_TOKENS No Claude output token cap. Alias: CLAUDE_MAX_TOKENS. Default: 8192
KRITISI_RETRY_DELAY_MS No Base backoff delay; doubles per retry. Default: 500

Similar servers