SLF Guardian · Guides · Status

A short, practical checklist for teams exposing tools to an AI agent over MCP: what to vet, what to log, and which checks belong before the action instead of after it.

Start from the action, not the model

Most MCP security advice is about the server: auth, sandboxing, transport. Those matter, but they do not describe the moment that costs money — the agent deciding to run something. Write the checklist around that moment.

The checklist

  1. Every tool call is attributable. One credential per agent, not per team, so a bad call has a name on it.
  2. Install-time code is treated as executable. A package that runs a postinstall script is code you are running, not a dependency you are importing.
  3. Fetched content is data, never instructions. A page that says "ignore previous instructions" is a payload, and the agent should be able to ask whether it saw one.
  4. Destructive commands are classified before execution. rm -rf, drop table and curl | bash deserve a verdict, not a guess.
  5. Domains are checked at use. Age, resolution and registrar are cheap signals that catch throwaway infrastructure.
  6. A failed check is not a pass. Timeouts, 401s and rate limits must fail closed in the agent's policy.
  7. Results are structured. A verdict plus line-numbered findings is something an agent can act on; a paragraph of prose is not.

Where the checks live

Two options. Run them inside your own process, or call a service. Running them yourself means owning signature updates, package metadata and false positives forever. Calling a service means one network hop in a path that already has several.

SLF Guardian exposes the checklist as six MCP tools: audit_code, check_package, check_prompt, check_command, check_domain and scan_site. Static analysis only; nothing submitted is stored or executed.

What to log

Log the verdict, not the payload. Storing the code an agent was about to run turns your audit trail into a secret store, which is a bigger problem than the one you were solving.

Try it on a real call. The hosted MCP endpoint answers 50 calls per IP per day without a signup, then 0.01 USDC per call over x402 on Base.

Pricing and endpoint Repository

claude mcp add slf-guardian -- npx -y slf-guardian-mcp