Skip to content
MCP serverOfficial: Published to the official MCP Registry by the GitHub account or domain it is named after, which owns its code or website.

Werbot

Open-source gateway that authorizes and records AI agent and human commands on servers

Runs locally

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

Pricing
Open source
Platforms
CLI, Self-hosted, Web
Runs
Locally
Version
0.2.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add werbot --env WERBOT_SERVER='<WERBOT_SERVER>' -- docker run -i --rm -e WERBOT_SERVER ghcr.io/werbot/werbot:v0.2.0

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "werbot": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "WERBOT_SERVER",
        "ghcr.io/werbot/werbot:v0.2.0"
      ],
      "env": {
        "WERBOT_SERVER": "<WERBOT_SERVER>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "werbot": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "WERBOT_SERVER",
        "ghcr.io/werbot/werbot:v0.2.0"
      ],
      "env": {
        "WERBOT_SERVER": "<WERBOT_SERVER>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "werbot": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "WERBOT_SERVER",
        "ghcr.io/werbot/werbot:v0.2.0"
      ],
      "env": {
        "WERBOT_SERVER": "<WERBOT_SERVER>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "werbot": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "WERBOT_SERVER",
        "ghcr.io/werbot/werbot:v0.2.0"
      ],
      "env": {
        "WERBOT_SERVER": "<WERBOT_SERVER>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add werbot --env WERBOT_SERVER='<WERBOT_SERVER>' -- docker run -i --rm -e WERBOT_SERVER ghcr.io/werbot/werbot:v0.2.0

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.werbot]
command = "docker"
args = ["run", "-i", "--rm", "-e", "WERBOT_SERVER", "ghcr.io/werbot/werbot:v0.2.0"]
env = { WERBOT_SERVER = "<WERBOT_SERVER>" }

Codex setup guide

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

{
  "mcpServers": {
    "werbot": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "WERBOT_SERVER",
        "ghcr.io/werbot/werbot:v0.2.0"
      ],
      "env": {
        "WERBOT_SERVER": "<WERBOT_SERVER>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "werbot": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "WERBOT_SERVER",
            "ghcr.io/werbot/werbot:v0.2.0"
          ],
          "env": {
            "WERBOT_SERVER": "<WERBOT_SERVER>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e WERBOT_SERVER='<WERBOT_SERVER>' werbot docker -- run -i --rm -e WERBOT_SERVER ghcr.io/werbot/werbot:v0.2.0

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "werbot": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "WERBOT_SERVER",
            "ghcr.io/werbot/werbot:v0.2.0"
          ],
          "env": {
            "WERBOT_SERVER": "<WERBOT_SERVER>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "werbot": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "WERBOT_SERVER",
            "ghcr.io/werbot/werbot:v0.2.0"
          ],
          "env": {
            "WERBOT_SERVER": "<WERBOT_SERVER>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "werbot": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "WERBOT_SERVER",
            "ghcr.io/werbot/werbot:v0.2.0"
          ],
          "env": {
            "WERBOT_SERVER": "<WERBOT_SERVER>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "werbot": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "WERBOT_SERVER",
            "ghcr.io/werbot/werbot:v0.2.0"
          ],
          "env": {
            "WERBOT_SERVER": "<WERBOT_SERVER>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "werbot": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "WERBOT_SERVER",
            "ghcr.io/werbot/werbot:v0.2.0"
          ],
          "env": {
            "WERBOT_SERVER": "<WERBOT_SERVER>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "werbot": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "WERBOT_SERVER",
            "ghcr.io/werbot/werbot:v0.2.0"
          ],
          "env": {
            "WERBOT_SERVER": "<WERBOT_SERVER>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "werbot": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "WERBOT_SERVER",
            "ghcr.io/werbot/werbot:v0.2.0"
          ],
          "env": {
            "WERBOT_SERVER": "<WERBOT_SERVER>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • WERBOT_HOME
  • WERBOT_SERVERWerbot server URLRequired

About Werbot

Werbot sits between people or AI agents and the servers and databases they reach. Every command is checked against policy before it runs, risky commands can wait for an approver, and each session is recorded in a hash-chained, signed log. Users never receive a raw password, since access goes through short-lived certificates tied to their own account.

AI agents such as Claude Code, Codex and Cursor connect through a local MCP server command. They act as a run of the user's account under a read-only baseline, with no SSH key or password of their own, and an organization can limit or stop agents with locks and a kill switch.

The project is aimed at platform and security teams who want audited, just-in-time access to infrastructure for both staff and automated tools. It is in pre-release (v0.x), so breaking changes are possible between versions.

What it does

Per-command policy checks
Each exec command is sorted into risk classes and can be denied, sent for approval or limited by folder rules.
Just-in-time access requests
Users request time-limited access to a resource, and approval policies decide who signs off.
Recorded and verifiable sessions
Sessions are recorded and can be replayed in the browser, with a check that the recording has not been altered.
Agent run controls
Agents run as the owner's account with limits, timelines and a lock that ends their activity.
Passwordless resource access
Users connect with short-lived SSH certificates, so the gateway never hands out a password.
Single sign-on and MFA
OpenID Connect single sign-on, TOTP, passkeys and recovery codes are supported.

Good for

  • Letting an AI coding agent run diagnostic commands on a server without sharing credentials
  • Requiring approval before risky commands run against production hosts
  • Giving contractors time-limited SSH or database access that is logged
  • Reviewing an audit trail of who ran which command on which machine

Pricing

Open source

Werbot FAQ

Is Werbot open source?

The core is licensed under AGPL-3.0-only, while the SDK, protocol definitions and web UI are Apache-2.0.

How do AI agents connect to Werbot?

Agents such as Claude Code, Codex and Cursor connect through the werbot mcp command, running as a run of the user's account.

What is the install method?

A Docker Compose stack can be started from the documentation, and a binary with systemd is also available.

Is Werbot free?

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

How do I add Werbot to Claude Code?

Run this command in your terminal: claude mcp add werbot --env WERBOT_SERVER='<WERBOT_SERVER>' -- docker run -i --rm -e WERBOT_SERVER ghcr.io/werbot/werbot:v0.2.0

What are the best alternatives to Werbot?

The closest alternatives to Werbot are vaultgate, Orbiter Dev, agent-custody, CyberAgents AI Security Firewall and Agence.

Where this comes from

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

How AIPoweredBot checks servers