# depwire MCP server

> Provides AI coding assistants with deterministic dependency graphs to perform impact analysis, security scanning, and architectural simulations.

- Repository: https://github.com/depwire/depwire
- Page: https://hostedmcp.org/servers/depwire/depwire
- Transport: stdio
- Stars: 73
- Latest version: 1.29.0

## Install

### Claude Code

```sh
claude mcp add depwire -- npx -y depwire-cli
```

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

```json
{
  "mcpServers": {
    "depwire": {
      "command": "npx",
      "args": [
        "-y",
        "depwire-cli"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "depwire": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "depwire-cli"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"depwire","type":"stdio","command":"npx","args":["-y","depwire-cli"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "depwire": {
      "command": "npx",
      "args": [
        "-y",
        "depwire-cli"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add depwire -- npx -y depwire-cli
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.depwire]
command = "npx"
args = ["-y", "depwire-cli"]
```

### Gemini CLI

```sh
gemini mcp add -s user depwire npx -- -y depwire-cli
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "depwire": {
      "command": "npx",
      "args": [
        "-y",
        "depwire-cli"
      ]
    }
  }
}
```

## Tools (24)

- `connect_repo`
- `get_architecture_summary`
- `get_file_context`
- `get_dependencies`
- `get_dependents`
- `get_symbol_info`
- `search_symbols`
- `list_files`
- `impact_analysis`
- `visualize_graph`
- `get_health_score`
- `find_dead_code`
- `get_project_docs`
- `update_project_docs`
- `get_temporal_graph`
- `simulate_change`
- `security_scan`
- `verify_change`
- `claim_files`
- `release_files`
- `get_active_claims`
- `record_decision`
- `get_decisions`
- `affected_files`

## FAQ

### Does Depwire send my source code to the cloud?

No, the local CLI analyzes supported source files locally and never sends your source code or analysis to Depwire.

### What programming languages are supported?

Depwire supports 16 programming languages plus Angular templates, including TypeScript, Python, Go, Rust, Java, PHP, Ruby, and Dart.

### How does Depwire handle security scanning?

The security scanner runs local code checks and applicable dependency audits by default without requiring a Depwire API key.

### Can I simulate changes before applying them?

Yes, you can use the 'whatif' command to simulate operations like deleting, moving, renaming, splitting, or merging files to see the blast radius.
