# STATICA STATIC analysis tools

> STATICA STATIC analysis tools is an MCP server for developer tools. Run and manage Suresoft STATIC code analysis from a coding agent. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, Windows, Linux
- **Repository:** https://github.com/suresofttechnologies/statica-plugin
- **MCP Registry name:** io.github.SuresoftTechnologies/statica-mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-11-15

## About

This server does not analyze code itself; it drives a local STATIC installation, so STATIC must already be installed. When a project is connected, it can analyze only the changed files and report defect counts by rule, upload a full analysis to the STATIC server, and adjust server-project settings such as rulesets, code metrics, exclusions and report generation.

The README says it also ships as part of a plugin with skills and a Stop hook that re-analyzes after each response, and that it does not edit source code to fix defects. For C and C++ files STATIC cannot parse, a recovery flow tests parser configuration fixes on copies before applying them.

Tools are grouped by risk. Read-only ones report status, scope, rulesets and metrics. Connecting a project and uploading a full analysis change files or the shared server, so they carry consent hints and ask for approval. Server-project settings apply to everyone using that project. It runs over stdio, packaged as an MCPB bundle or run from a Python 3.10+ script.

## Features

- **Changed-file analysis:** Analyzes only what changed and reports defect counts by rule.
- **Server upload:** Runs a whole-project analysis and creates a revision on the STATIC server.
- **Project bootstrap:** Guided connection of a new project to a STATIC workspace.
- **Settings management:** View and change rulesets, metrics, exclusions and report generators.
- **Toolchain recovery:** Verifies C/C++ parser fixes on copies before applying them.
- **Doctor check:** statica_doctor reports what is missing when STATIC is not installed.

## Good for

- Keep static analysis results current during an AI coding session
- Connect a C or C++ project to a STATIC server
- Exclude third-party folders from analysis
- Generate and download analysis reports
- Fix analysis failures caused by toolchain settings

## Install

### Claude Code (Terminal)

```sh
claude mcp add statica-mcp -- npx -y https://github.com/SuresoftTechnologies/statica-plugin/releases/download/v0.1.0/statica-mcp.mcpb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "statica-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/SuresoftTechnologies/statica-plugin/releases/download/v0.1.0/statica-mcp.mcpb"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "statica-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/SuresoftTechnologies/statica-plugin/releases/download/v0.1.0/statica-mcp.mcpb"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "statica-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/SuresoftTechnologies/statica-plugin/releases/download/v0.1.0/statica-mcp.mcpb"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "statica-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/SuresoftTechnologies/statica-plugin/releases/download/v0.1.0/statica-mcp.mcpb"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "statica-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/SuresoftTechnologies/statica-plugin/releases/download/v0.1.0/statica-mcp.mcpb"
      ]
    }
  }
}
```

## Tools

- `statica_doctor`: Reports connection and missing prerequisites.
- `statica_status`: Shows project STATIC state.
- `statica_scope_show`: Shows analysis exclusions.
- `statica_ruleset_show`: Shows the project ruleset.
- `statica_metric_show`: Shows code metric settings.
- `statica_report_generator_show`: Shows report generator settings.
- `statica_get_guide`: Returns the procedure the skills follow.
- `statica_pre_analyze`: Analyzes changed files without uploading.
- `statica_report`: Generates and downloads a report.
- `statica_upload`: Analyzes the whole project and uploads it.
- `statica_set_auto_analysis`: Turns automatic analysis on or off.
- `statica_ruleset_set`: Changes the ruleset.
- `statica_metric_set`: Turns code metrics on or off.
- `statica_report_generator_set`: Configures report generation.
- `statica_bootstrap_detect`: Starts detection when connecting a project.

## FAQ

### Does STATICA STATIC analysis tools include STATIC?

No. The README says it works with a STATIC installation and is not a replacement.

### Will STATICA STATIC analysis tools fix the defects it finds?

No. It reports analysis state and does not edit source code to fix defects.

### How is STATICA STATIC analysis tools installed?

As an MCPB bundle from the repository releases, via the plugin, or by running scripts/mcp_server.py with Python 3.10 or later.

### Which clients work?

Claude Code, Codex CLI, Cursor, GitHub Copilot, Claude Desktop, VS Code and others that speak MCP.

### How do I add STATICA STATIC analysis tools to Claude Code?

Run this command in your terminal: claude mcp add statica-mcp -- npx -y https://github.com/SuresoftTechnologies/statica-plugin/releases/download/v0.1.0/statica-mcp.mcpb

### What are the best alternatives to STATICA STATIC analysis tools?

The closest alternatives to STATICA STATIC analysis tools are SkillTotal, Sentinel-IR, SkillTriage, CybRelay and Keep Me Secure.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [SkillTotal](https://ai-powered.com/mcp/skilltotal): SkillTotal is an open-source MCP server for security.
- [Sentinel-IR](https://ai-powered.com/mcp/sentinel-ir): Sentinel-IR is an MCP server for security.
- [SkillTriage](https://ai-powered.com/mcp/skilltriage): SkillTriage is a free MCP server for security.
- [CybRelay](https://ai-powered.com/mcp/cybrelay): CybRelay is a freemium MCP server for security.
- [Keep Me Secure](https://ai-powered.com/mcp/keep-me-secure): Keep Me Secure is an open-source MCP server for security.
- [Roslyn MCP](https://ai-powered.com/mcp/roslyn-mcp): Roslyn MCP is an MCP server for developer tools.
- [Lintsure](https://ai-powered.com/mcp/lintsure): Lintsure is an open-source MCP server for security.
- [Penthera](https://ai-powered.com/mcp/penthera): Penthera is an open-source MCP server for security.

---
Source: https://ai-powered.com/mcp/statica-static-analysis-tools
