Skip to content
MCP server

SLF Guardian

Safety checks an agent runs before it acts: packages, commands, prompt injection, links…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.2.0
Listing updated
2 days ago

About SLF Guardian

SLF Guardian is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Safety checks an agent runs before it acts: packages, commands, prompt injection, links, code.

Install

Run in a terminal

claude mcp add slf-guardian-mcp --env SLF_API_KEY='<SLF_API_KEY>' -- uvx slf-guardian-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "slf-guardian-mcp": {
      "command": "uvx",
      "args": [
        "slf-guardian-mcp"
      ],
      "env": {
        "SLF_API_KEY": "<SLF_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "slf-guardian-mcp": {
      "command": "uvx",
      "args": [
        "slf-guardian-mcp"
      ],
      "env": {
        "SLF_API_KEY": "<SLF_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "slf-guardian-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "slf-guardian-mcp"
      ],
      "env": {
        "SLF_API_KEY": "<SLF_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "slf-guardian-mcp": {
      "command": "uvx",
      "args": [
        "slf-guardian-mcp"
      ],
      "env": {
        "SLF_API_KEY": "<SLF_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "slf-guardian-mcp": {
      "command": "uvx",
      "args": [
        "slf-guardian-mcp"
      ],
      "env": {
        "SLF_API_KEY": "<SLF_API_KEY>"
      }
    }
  }
}

Configuration

  • SLF_API_KEYSLF Guardian API key (slf_live_...). Get one free: POST https://slfguardian.com/v1/keysRequired

Pricing

Open source

Prices change. Check slfguardian.com before you buy.

SLF Guardian FAQ

Is SLF Guardian free?

Yes. SLF Guardian is open source, so you can use and self-host it for free.

How do I add SLF Guardian to Claude Code?

Run this command in your terminal: claude mcp add slf-guardian-mcp --env SLF_API_KEY='<SLF_API_KEY>' -- uvx slf-guardian-mcp