Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Ward

MCP server by Tyox-all Verified · npm:@weave_protocol

Ward enforces WARD.md, a version-controlled file that defines what AI agents can and cannot do. It works through harness adapters for coding agents such as Claude Code, Cursor, Codex CLI and Gemini CLI. It is for teams that want one written security policy across their agents.

  • Score 85
  • 1 stars
  • 3.1k a week
  • Apache-2.0
  • Updated

Install Ward

Built from the published package, never by AI.

claude mcp add ward -- npx -y @weave_protocol/ward

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Ward in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the ward block.

About

Ward is the WARD.md agent security policy package from the Weave_Protocol monorepo, published by Tyox-all. WARD.md lets you define what your agents can and cannot do, and it is meant to be version-controlled alongside AGENTS.md and SKILL.md. The source describes Ward as the policy layer that the harness adapters use to check tool calls.

The adapters enforce the same WARD.md in Claude Code, Antigravity, MSAF, Cursor, OpenCode, Codex CLI and Gemini CLI, according to the source. Every adapter asks a human before an agent writes or deletes WARD.md, hook and settings files, MCP server lists or git hooks, even when a broad write rule covers them. An invalid WARD.md blocks actions instead of switching enforcement off. The source is aimed at teams running AI coding agents who want their rules checked and recorded.

Written from the project's README and checked against it.

What you need

  • npm

Try asking

  • Check whether my WARD.md allows this agent to write to this file
  • Show which tool calls my WARD.md would block for this agent
  • Add an allow rule for one specific file in my WARD.md

Good to know

  • Ward is one package in the Weave_Protocol monorepo, and the source is the monorepo README.
  • The source does not list Ward's MCP tool names.
  • To let an agent edit a protected file, the exact file must be named in an allow rule.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Restrict what AI agents can read and write
  • Stop agents from editing their own guardrail files
  • Apply one written policy across several coding agents

Alternatives to Ward

All alternatives →
Agentmesh MCP Proxy microsoft
94

Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.

AAA Local 6.6k
Bla qybaihe
94

Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.

AAA Local 7.3k
Bla Agents qybaihe
94

Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.

AAA Local 11k/wk
MCP Auth zgeoff
94

A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner

AAC Local 44k/wk
Agentos MCP Server microsoft
94

Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.

AAA Local 6.6k
Convex MCP Gateway tfohlmeister
93

Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.

AAC Local 37k/wk

Compare with Agentmesh MCP Proxy, Bla or Bla Agents

Ward: common questions

What is WARD.md?

The source describes WARD.md as the agent security policy standard, where you define what your agents can and cannot do. It is meant to be version-controlled alongside AGENTS.md and SKILL.md.

Which agents does Ward work with?

The source says the adapters enforce WARD.md in Claude Code, Antigravity, MSAF, Cursor, OpenCode, Codex CLI and Gemini CLI. Each adapter is a separate npm package.

What happens if a WARD.md file is invalid?

According to the source, an invalid WARD.md now blocks actions instead of turning enforcement off. This fix was part of WARD-2026-001.

How do I install Ward?

In Claude Code run claude mcp add ward -- npx -y @weave_protocol/ward. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Ward the official server?

Ward is published by npm:@weave_protocol from its verified domain in the official MCP Registry.

Is Ward free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Ward safe to use?

It scores 85 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Ward?

Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.

Does Ward work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.