# Local Coding Agent MCP server

> Delegates coding tasks to local models with a safety layer that verifies patches through static analysis and real test runs.

- Repository: https://github.com/pvnc228/local-coding-agent
- Page: https://hostedmcp.org/servers/pvnc228/local-coding-agent
- Transport: stdio
- Stars: 11
- License: MIT
- Latest version: 1.2.0

## Install

### Claude Code

```sh
claude mcp add local-coding-agent -- uvx local-coding-agent
```

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

```json
{
  "mcpServers": {
    "local-coding-agent": {
      "command": "uvx",
      "args": [
        "local-coding-agent"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "local-coding-agent": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "local-coding-agent"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"local-coding-agent","type":"stdio","command":"uvx","args":["local-coding-agent"]}'
```

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

```json
{
  "mcpServers": {
    "local-coding-agent": {
      "command": "uvx",
      "args": [
        "local-coding-agent"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add local-coding-agent -- uvx local-coding-agent
```

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

```toml
[mcp_servers.local-coding-agent]
command = "uvx"
args = ["local-coding-agent"]
```

### Gemini CLI

```sh
gemini mcp add -s user local-coding-agent uvx -- local-coding-agent
```

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

```json
{
  "mcpServers": {
    "local-coding-agent": {
      "command": "uvx",
      "args": [
        "local-coding-agent"
      ]
    }
  }
}
```

## FAQ

### Does the local model have unrestricted access to my repository?

No, the local model does not receive unrestricted shell or write access to your workspace; it provides proposals that are verified by a controller.

### What happens if a code patch fails the post-apply checks?

If a post-apply check fails, the change is automatically rolled back and the rollback is verified against recorded file digests.

### Can I use this with existing AI coding tools like Cursor or Claude Code?

Yes, you can connect compatible harnesses like Codex, Claude Code, Cursor, Windsurf, Cline, and others through MCP or the Agent Skill.

### Does the agent handle Git operations like committing or pushing?

No, the agent does not create commits, push branches, or publish releases; you maintain full control over Git and delivery.
