Skip to content
MCP server

agentbelt

Shared, audited git, test and workflow tools for MCP coding apps that never push

Runs locallyStatus and history
Pricing
Open source
Platforms
CLI, macOS, Linux
Runs
Locally
Version
0.3.1
Listing updated
2 days ago

About agentbelt

agentbelt is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

agentbelt is a local stdio server that gives several coding assistants the same toolbelt, so the safety rules are written once instead of per app. It brings no model of its own and needs no API key. Setup runs through npx, installs a pinned copy with install scripts disabled, checks it with real tool calls, then shows and backs up each config change before it edits Claude Code, Codex, Cursor, VS Code, LM Studio and other apps.

The git tools read status, diffs and logs, and start task branches named agentbelt/ where commits are made. Push, reset, rebase and clean are blocked. Testing tools detect and run a project's own typecheck, lint, build and tests, and workflow tools run recipes such as check, repo-health and safe-commit. Approval steps can only be approved by you with agentbelt approve in a terminal, and every call is written to .agentbelt/audit.jsonl with secrets removed.

The site labels built-in tools as policy-only, meaning checked but not OS-sandboxed, while third-party plugins must run in a sandbox with no network. It needs Node.js 22.13 or newer and git on macOS or Linux, and nothing updates automatically.

Install

Run in a terminal

claude mcp add agentbelt -- npx -y agentbelt

Add to claude_desktop_config.json

{
  "mcpServers": {
    "agentbelt": {
      "command": "npx",
      "args": [
        "-y",
        "agentbelt"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "agentbelt": {
      "command": "npx",
      "args": [
        "-y",
        "agentbelt"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "agentbelt": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agentbelt"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "agentbelt": {
      "command": "npx",
      "args": [
        "-y",
        "agentbelt"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "agentbelt": {
      "command": "npx",
      "args": [
        "-y",
        "agentbelt"
      ]
    }
  }
}

Tools this server provides (11)

Taken from the project documentation; the running server may differ.

git_status
Reads repository status.
git_diff
Reads repository diffs.
git_log
Reads repository history.
git_task_start
Starts an isolated task branch.
git_commit
Commits to a task branch; never pushes.
testing_detect
Detects the project's checks.
testing_run_checks
Runs the project's typecheck, lint, build and tests.
workflows_list
Lists available workflows.
workflows_start
Starts a workflow such as repo-health.
workflows_show
Shows a workflow.
agentbelt_status
Reports the workspace, plugins and command isolation.

What it does

Isolated task branches
Commits go only to agentbelt/<id> branches, and pushes are blocked.
Project checks
Detects and runs the repository's own typecheck, lint, build and tests.
Approval-gated workflows
Recipes such as repo-health pause for approval that only the user can give.
Audit log
Every call is recorded to a local JSONL file with secrets removed.
Safe setup
Backs up each app config and verifies a pinned copy before switching.
Update and rollback
Updates install beside the old version and can be rolled back instantly.

Good for

  • Let an agent run lint and tests and fix failures without push access
  • Review uncommitted changes with the same tools in any app
  • Keep one audit trail across several AI coding apps
  • Run a safe-commit workflow that needs your approval

Pricing

Open source

Free npm package

Prices change. Check lovark.github.io before you buy.

agentbelt FAQ

What does it need?

Node.js 22.13 or newer and git, on macOS or Linux.

Can the agent push code?

No. Push, reset, rebase and clean are blocked, and commits go only to task branches.

Which apps work?

Claude Code, Codex, Cursor, VS Code, DeepSeek Harness and LM Studio were tested with real calls; Claude Desktop and Goose are configured but not yet verified.

Does it need an API key?

No. Your AI app supplies the model.

Is agentbelt free?

Yes. agentbelt is open source, so you can use and self-host it for free.

How do I add agentbelt to Claude Code?

Run this command in your terminal: claude mcp add agentbelt -- npx -y agentbelt

What are the best alternatives to agentbelt?

The closest alternatives to agentbelt are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to agentbelt

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools