Skip to main content
ClaudeWave
MCP ServersOfficial Registry0 stars0 forksPythonMITUpdated today
Install in Claude Code / Claude Desktop
Method: pip / Python · agent-tripwire
Claude Code CLI
claude mcp add agent-guard -- python -m agent-tripwire
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "agent-guard": {
      "command": "python",
      "args": ["-m", "agent-tripwire"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Install first: pip install agent-tripwire
Use cases

MCP Servers overview

# agent-guard

**The safety check an AI agent runs *before* it acts.**

Every agent that installs packages, runs shell commands, or commits/outputs text can do real
damage: install malware, wipe a disk, or leak a credential. `agent-guard` is three cheap,
dependency-free checks — the "look before you leap" gate an agent (or you) calls before the
irreversible step.

```bash
pip install agent-tripwire            # the checks (zero deps)
pip install "agent-tripwire[mcp]"     # + the MCP server for agents
```

## Use it as an MCP tool (for agents)

An agent can call these itself before acting. Add to your MCP client (Claude/Cursor/Claude Code):

```json
{ "mcpServers": { "agent-guard": { "command": "agent-guard-mcp" } } }
```

<sub>MCP registry identity — `mcp-name: io.github.ipezygj/agent-guard`</sub>

| tool | the agent calls it before… |
|---|---|
| `check_package` | `pip/npm install` — is it real, malware, a typosquat, or does it run code on install? |
| `check_command` | running a shell command — is it a destructive / remote-code-exec vector (rm -rf, curl\|bash, dd, force-push)? |
| `scan_secrets` | committing / pasting / logging — does the text leak an API key, token, or private key? |
| `scan_project` | deploying / shipping a web backend — fail-open auth, unsigned payment webhooks, SQL injection, SSRF, hardcoded secrets? |

## The checks

**check_package** — existence on the registry (a hallucinated name is a red flag), typosquat
distance to popular packages, npm install/postinstall scripts (the classic supply-chain malware
vector), and OSV malware/vulnerability advisories. Mainstream packages pass; look-alikes and
install-time-code flag.

**check_command** — matches destructive / RCE shell patterns with a severity and a plain reason.
`rm -rf /`, `curl … | bash`, `dd of=/dev/sda`, fork bombs → critical; force-push, hard-reset,
`sudo`, `DROP TABLE` → high.

**scan_secrets** — AWS/OpenAI/Anthropic/Google/Stripe/GitHub/Slack keys, private-key blocks, JWTs,
and generic `api_key=`/`password=` assignments. Returns each finding (type, line, redacted).

**scan_project** — reads a web/API backend (directory or single `.py`) for the money-losing logic
bugs a secret- or command-scanner can't see: auth that **fails open** when a secret is unset,
payment webhooks with no signature check (a forged checkout mints free credits), SQL built by
string interpolation, SSRF-able f-string URLs, and secrets hardcoded as defaults. Each finding
gives the file, line, why, and the fix. FP-disciplined: parameterized SQL, signed webhooks, and
fail-closed guards stay silent.

```python
from agent_guard import analyze_command, scan_secrets, check_package
from agent_guard.webscan import scan_project
analyze_command("rm -rf /")["danger"]           # "critical"
scan_secrets("token = 'ghp_...'")["leaked"]     # True
check_package("reqwests", "pypi")["risk"]       # "high" (typosquat of requests)
scan_project("./my_api")["risk"]                # "critical" if a webhook skips signature checks
```

The point: an agent about to install/run/commit should check first — and now it can, in one call,
with a plain verdict and a recommendation. If a check comes back high/critical, stop and get a human.

## License
MIT
agent-securityai-agentsguardrailsmcpmcp-serversupply-chain

What people ask about agent-guard

What is ipezygj/agent-guard?

+

ipezygj/agent-guard is mcp servers for the Claude AI ecosystem with 0 GitHub stars.

How do I install agent-guard?

+

You can install agent-guard by cloning the repository (https://github.com/ipezygj/agent-guard) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is ipezygj/agent-guard safe to use?

+

ipezygj/agent-guard has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.

Who maintains ipezygj/agent-guard?

+

ipezygj/agent-guard is maintained by ipezygj. The last recorded GitHub activity is from today, with 0 open issues.

Are there alternatives to agent-guard?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy agent-guard to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: ipezygj/agent-guard
[![Featured on ClaudeWave](https://claudewave.com/api/badge/ipezygj-agent-guard)](https://claudewave.com/repo/ipezygj-agent-guard)
<a href="https://claudewave.com/repo/ipezygj-agent-guard"><img src="https://claudewave.com/api/badge/ipezygj-agent-guard" alt="Featured on ClaudeWave: ipezygj/agent-guard" width="320" height="64" /></a>

More MCP Servers

agent-guard alternatives