home / mcp / archai static analyzer mcp server

Archai Static Analyzer MCP Server

Provides an Archai static analysis MCP server that executes Archai tooling via Bun and exposes an MCP interface.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "alefcastelo-archai-static-analyzer-mcp": {
      "command": "bun",
      "args": [
        "run",
        "~/workspace/mcp/archai/mcp.ts"
      ]
    }
  }
}

This MCP runs Archai’s static analysis tooling in a lightweight, self-contained server. It enables you to perform Archai analyses through a centralized interface, simplifying automation, orchestration, and integration with your existing development workflows.

How to use

You interact with this MCP through an MCP client that manages requests and collects results from the Archai analysis engine. Use the client to initiate analyses, monitor progress, and retrieve structured results. You can run analyses as part of your CI pipeline, integrate analysis results into dashboards, or trigger checks on pull requests to ensure code quality and consistency across your codebase.

How to install

Prerequisites: ensure you have a JavaScript runtime available. The server is designed to run with Bun, a fast JavaScript runtime.

Step-by-step setup you can follow locally:

bun install
```

```bash
bun run index.ts

Additional sections

Configuration and runtime notes are shown below. Use the exact command and arguments to start the Archai MCP server as part of your environment.

MCP configuration for Archai MCP Server:

{
  "mcpServers": {
    "archai": {
      "command": "bun",
      "args": [
        "run",
        "~/workspace/mcp/archai/mcp.ts"
      ]
    }
  }
}