GrindFree Agent Security
v0.11.0Pay-per-call agent security (x402): injection, tools, shell/SQL, memory, leaks, docs, safe reads
Values you need
| Variable | What it is | |
|---|---|---|
X402_PRIVATE_KEY | optional secret | Caller's own Base USDC EVM private key (0x…). Used only by the local MCP host to settle x402 payments. Never a GrindFree key; never commit this value. Optional if WARD_PASS is set. |
WARD_PASS | optional secret | Optional prepaid Ward Pass token (wp_…) from https://wardpass.grindfree.net: $1 = $1 of calls on every Ward, debited only on HTTP 200. Used instead of X402_PRIVATE_KEY when set. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add grindfree-agent-security -- npx -y --package=@grindfree/agent-security-mcp@0.11.0 grindfree-agent-security-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"grindfree-agent-security": {
"args": [
"-y",
"--package=@grindfree/agent-security-mcp@0.11.0",
"grindfree-agent-security-mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"grindfree-agent-security": {
"args": [
"-y",
"--package=@grindfree/agent-security-mcp@0.11.0",
"grindfree-agent-security-mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"grindfree-agent-security": {
"args": [
"-y",
"--package=@grindfree/agent-security-mcp@0.11.0",
"grindfree-agent-security-mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.grindfree-agent-security]
command = "npx"
args = ["-y", "--package=@grindfree/agent-security-mcp@0.11.0", "grindfree-agent-security-mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: promptshield_screen, promptshield_clean, crawlsafe_check, toolguard_evaluate, commandguard_command, commandguard_sql, commandguard_check_and_approve, memoryguard_screen, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json