Skip to main content
ClaudeWave
MCP ServersRegistry oficial0 estrellas0 forksPythonMITActualizado 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
Casos de uso

Resumen de MCP Servers

# 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

Lo que la gente pregunta sobre agent-guard

¿Qué es ipezygj/agent-guard?

+

ipezygj/agent-guard es mcp servers para el ecosistema de Claude AI con 0 estrellas en GitHub.

¿Cómo se instala agent-guard?

+

Puedes instalar agent-guard clonando el repositorio (https://github.com/ipezygj/agent-guard) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar ipezygj/agent-guard?

+

ipezygj/agent-guard aún no ha sido auditado por nuestro agente de seguridad. Revisa el repositorio original en GitHub antes de usarlo en producción.

¿Quién mantiene ipezygj/agent-guard?

+

ipezygj/agent-guard es mantenido por ipezygj. La última actividad registrada en GitHub es de today, con 0 issues abiertos.

¿Hay alternativas a agent-guard?

+

Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.

Despliega agent-guard en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

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>

Más MCP Servers

Alternativas a agent-guard