1. Conduid
  2. Blockchain
  3. Agent Guardrails
MCP server · Blockchain

Agent Guardrails

Merge gates and safety checks for AI coding agents. Works with Claude Code, Cursor, Windsurf, Codex via MCP. Detect scope violations, missing tests, and risks before merge.

56Fair

Scored 20 hours ago · breakdown

About Agent Guardrails

Agent Guardrails is an MCP server published by logi-cmd in the Blockchain category: merge gates and safety checks for AI coding agents. Works with Claude Code, Cursor, Windsurf, Codex via MCP. Detect scope violations, missing tests, and risks before merge. Conduid read 11 tools from its source: check_after_edit, explain_change, finish_agent_native_loop, plan_rough_intent, query_archaeology, read_daemon_status and 5 more. It is published to npm as agent-guardrails and starts with npx.

The repository has 28 stars and 2 forks, and its last commit was on 16 Aug 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include agent-guardrails, ai-safety, cli, code-quality, code-review and devtools.

Install

Claude Code
claude mcp add agent-guardrails -- npx -y agent-guardrails
npx
npx -y agent-guardrails
From source
git clone https://github.com/logi-cmd/agent-guardrails

Tools (11)

check_after_editREQUIRED: Call this IMMEDIATELY after EVERY file edit (Write, Edit, MultiEdit). Returns lightweight status + any guardrail violations found. Uses daemon cache for speed (< 2s). DO NOT proceed with more edits until you see the result.
explain_changeGenerate a human-readable explanation of what was changed and why. Call after finishing edits to get a change summary for the user.
finish_agent_native_loopCall this when task is COMPLETE. Runs final guardrail check, writes evidence, and returns a reviewer-friendly summary with scope, risk, and next actions. MUST call this before telling the user the task is done.
plan_rough_intentCall this when the user provides a vague or imprecise task description. Parses the intent and suggests a concrete task contract with scope, test commands, and risk level.
query_archaeologyQuery code archaeology notes to understand why code exists. Use when you need historical context about past changes before modifying unfamiliar code.
read_daemon_statusCheck if the guardrails daemon is running and get its latest check result. Use when you want to know background check status without triggering a new check.
read_repo_guardrailsCall this FIRST when starting work in a repo. Reads repo guardrail config, allowed paths, protected paths, and policy summary. Use before planning any changes.
run_guardrail_checkRun a full guardrail check. Use when you need detailed check results (e.g., before commit, or when check_after_edit reports warnings). Returns all findings with file-level details.
start_agent_native_loopCall this when beginning a task. Creates a bounded task contract from the user's request, writes it to disk, and seeds evidence files. Returns contract details with initial guardrail status. MUST call this before making any code changes.
suggest_task_contractBootstrap a task contract and runtime session from a natural-language task request.
summarize_review_risksSummarize a guardrail check result into status, top risks, and next actions. Call after run_guardrail_check when you need a concise risk summary.

Security checks

  • ✓README presentThe repository's README runs to about 822 words.

5 checks have not been run yet.

README

The repository's README runs to about 822 words. The original in the repository is authoritative.

Read full README
Questions

About Agent Guardrails

How do I install Agent Guardrails?

In Claude Code, run claude mcp add agent-guardrails -- npx -y agent-guardrails. Other MCP clients take the command after "--" in their server configuration.

Is Agent Guardrails safe to use with an AI agent?

Its trust score is 56 out of 100 (fair). It passes all 1 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Agent Guardrails still maintained?

Yes — the last commit was 3 months ago. The repository has 28 stars and 2 forks.

What tools does Agent Guardrails provide?

Conduid read 11 tools from the source: check_after_edit, explain_change, finish_agent_native_loop, plan_rough_intent, query_archaeology, read_daemon_status, read_repo_guardrails, run_guardrail_check and 3 more.