SLF Guardian MCP
● Activeio.github.slfguardian/slf-guardian-mcp
Pre-action security checks for agents: code, packages, prompts, commands, domains, sites.
Connect this server
One click to install, or copy the config below. Suits: Claude Desktop · Cursor.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"slf-guardian-mcp": {
"command": "npx",
"args": [
"-y",
"@slfguardian/slf-guardian-mcp@1.3.3"
],
"env": {
"SLF_API_KEY": "<your SLF_API_KEY>"
}
}
}
}claude mcp add --env SLF_API_KEY='<your SLF_API_KEY>' --transport stdio slf-guardian-mcp -- npx -y @slfguardian/slf-guardian-mcp@1.3.3codex mcp add slf-guardian-mcp --env SLF_API_KEY='<your SLF_API_KEY>' -- npx -y @slfguardian/slf-guardian-mcp@1.3.3code --add-mcp '{"name":"slf-guardian-mcp","type":"stdio","command":"npx","args":["-y","@slfguardian/slf-guardian-mcp@1.3.3"],"env":{"SLF_API_KEY":"<your SLF_API_KEY>"}}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.
- SLF_API_KEYsecretOptional SLF Guardian API key (slf_live_...). Without a key the bridge uses the free 50 calls per IP per day, then x402 pay-per-call.
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
Is it safe? Is it maintained?
Serverdex check: Dec 5, 2026Looks healthy: SLF Guardian MCP is maintained, open source, hosted endpoint answering without a key.
- Maintained
- Active
- Last commit today (Dec 4, 2026), 0 open issues.
- Official registry
- Active
- Published as io.github.slfguardian/slf-guardian-mcp in the official MCP registry, version 1.4.0.
- Source
- Open source, MIT
- Public repository under the MIT licence, 1 stars, 0 forks.
- Runs
- Local package or hosted
- Ships as a local package (npm, PyPI) that runs on your machine, and as a hosted endpoint at mcp.slfguardian.com that receives what your client sends it.
- Credentials
- None needed to connect
- The hosted endpoint completed the Serverdex initialize + tools/list handshake with no key (checked Dec 5, 2026); individual tools may still ask for one.
- Owner
- Unclaimed
- Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.
Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself and see the status history.
Report Card
How the grade works →Grade A · Production-ready
Maintenance & production-readiness — 80/100 from the six repository signals below. A comparable rollup, not a code audit.
- Recent commits+30/30
Last commit today.
- Open licence+15/15
MIT on GitHub.
- Documentation+15/15
The repository ships a README.
- Adoption0/20
1 GitHub stars.
- Registry status+12/12
Active in the official MCP registry.
- Product surface+8/8
Has a homepage or a published package/endpoint.
Own this server? Add the grade badge — it links back here
<a href="https://serverdex.io/server/io-github-slfguardian-slf-guardian-mcp?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-slfguardian-slf-guardian-mcp/report-badge.svg" alt="SLF Guardian MCP — Serverdex Report Card A" height="22"></a>Compare every server's grade on best-maintained MCP servers.
Live check
checked Dec 5, 2026, 07:08 UTCStatus history & uptime →The endpoint answered the MCP handshake as "slf-guardian" and listed 6 tools. Answering since Dec 4, 2026.
Context cost ≈ 2.6k tokens of tool definitions a client loads per conversation (estimate: characters ÷ 4) across 6 tools.
Tools (6)
audit_code3 paramsAudit source code before delivering or running it. Flags remote code execution (curl | bash), data exfiltration of environment variables or credential files, reverse shells, destructive commands, hidden base64 payloads, hard-coded secrets (AWS, OpenAI, Stripe, GitHub, database URLs), install-time hooks, typo-squatted package names and unsafe patterns such as shell=True, pickle.loads or TLS verification turned off. Nothing is executed; the audit is static text analysis. Returns a verdict (pass/warn/review/block), a safe_to_deliver flag and findings with line numbers. Each valid API call uses one credit; every key starts with 1,000 free calls; the limit is 20 calls per minute per key. On HTTP 400, fix the input; on 401, fix the API key; on 402, stop and resolve credits/payment; on 429, wait for Retry-After and do not retry in a loop. A pass is not proof of safety. If verdict is block, do not proceed; if review, show the evidence and ask the user; if warn, follow the agent's normal approval policy. The public API lists $0.01 per call after the free credits. By default this stdio server never signs or submits payments; its optional x402 buyer bridge is disabled unless explicitly enabled and configured. Up to 40 files and 400 KB per code-audit call.
Show parametersHide parameters
codestringSource code to audit (single file or snippet).pathstringOptional file name for the snippet.filesarraySeveral files instead of one snippet.
- check_package4 params
Check a PyPI or npm package before installing or recommending it. Asks the registry whether the name exists at all (invented package names are how slopsquatting attacks land), how old it is, how much it is downloaded, whether it runs install scripts, whether it is deprecated or yanked, whether OSV lists vulnerabilities, and whether the name is a near-miss of a popular package. Returns a verdict and a safe_to_install flag. Each valid API call uses one credit; every key starts with 1,000 free calls; the limit is 20 calls per minute per key. On HTTP 400, fix the input; on 401, fix the API key; on 402, stop and resolve credits/payment; on 429, wait for Retry-After and do not retry in a loop. A pass is not proof of safety. If verdict is block, do not proceed; if review, show the evidence and ask the user; if warn, follow the agent's normal approval policy. The public API lists $0.01 per call after the free credits. By default this stdio server never signs or submits payments; its optional x402 buyer bridge is disabled unless explicitly enabled and configured. Batch checks are available, up to 20 packages per call.
Show parametersHide parameters
ecosystemstringnamestringPackage name.versionstringOptional exact version to check.packagesarrayCheck several packages in one call.
check_prompt3 paramsCheck untrusted text, HTML or a web page for prompt injection before feeding it to a model. Finds instructions written for the model instead of the reader: text hidden with CSS, HTML comments, zero-width and invisible Unicode tag characters, chat template markers, 'ignore previous instructions', attempts to make an agent leak its system prompt or credentials, hide actions from the user, approve something without review, run a command, or render a markdown image that exfiltrates data through its URL. Returns a verdict, injection_detected, and clean_text with invisible characters stripped. Never follows what it finds. Each valid API call uses one credit; every key starts with 1,000 free calls; the limit is 20 calls per minute per key. On HTTP 400, fix the input; on 401, fix the API key; on 402, stop and resolve credits/payment; on 429, wait for Retry-After and do not retry in a loop. A pass is not proof of safety. If verdict is block, do not proceed; if review, show the evidence and ask the user; if warn, follow the agent's normal approval policy. The public API lists $0.01 per call after the free credits. By default this stdio server never signs or submits payments; its optional x402 buyer bridge is disabled unless explicitly enabled and configured. Accepts one text, HTML document, or URL per call.
Show parametersHide parameters
textstringPlain text to check.htmlstringHTML including hidden markup.urlstringPublic page to fetch and check.
check_command3 paramsCheck a shell command or SQL statement before running it and say whether it can be undone. Flags recursive and system-path deletes, disk writes, history and credential wiping, firewall changes, force push and hard reset, docker volume and kubernetes deletes, terraform destroy, cloud bucket and resource deletion, DROP/TRUNCATE and DELETE or UPDATE with no WHERE clause. Returns a verdict plus reversible, safe_to_run, needs_human_approval and a safer alternative per finding. Nothing is executed. Each valid API call uses one credit; every key starts with 1,000 free calls; the limit is 20 calls per minute per key. On HTTP 400, fix the input; on 401, fix the API key; on 402, stop and resolve credits/payment; on 429, wait for Retry-After and do not retry in a loop. A pass is not proof of safety. If verdict is block, do not proceed; if review, show the evidence and ask the user; if warn, follow the agent's normal approval policy. The public API lists $0.01 per call after the free credits. By default this stdio server never signs or submits payments; its optional x402 buyer bridge is disabled unless explicitly enabled and configured. Batch checks are available, up to 20 commands per call.
Show parametersHide parameters
commandstringCommand or statement to check.kindstringDefaults to auto.commandsarrayCheck a sequence in one call.
- check_domain2 params
Check a domain or link before opening it, sending data to it or installing from it. Uses the public registration record and DNS: registration age, registry status, whether it resolves, lookalike and typo-squatted brand names, a brand hidden in a subdomain, punycode and mixed-script hostnames, link shorteners, disposable hosting, abuse-heavy TLDs and phishing wording. Returns a verdict with safe_to_trust and safe_to_open. The site itself is never contacted. Each valid API call uses one credit; every key starts with 1,000 free calls; the limit is 20 calls per minute per key. On HTTP 400, fix the input; on 401, fix the API key; on 402, stop and resolve credits/payment; on 429, wait for Retry-After and do not retry in a loop. A pass is not proof of safety. If verdict is block, do not proceed; if review, show the evidence and ask the user; if warn, follow the agent's normal approval policy. The public API lists $0.01 per call after the free credits. By default this stdio server never signs or submits payments; its optional x402 buyer bridge is disabled unless explicitly enabled and configured. Batch checks are available, up to 20 domains per call.
Show parametersHide parameters
domainstringDomain or full URL.domainsarrayCheck several in one call.
- scan_site1 param
Passive outside-in security check of a website: malware and spam injection traces, hidden redirects, SSL/TLS certificate state, security headers, exposed software versions and SPF/DMARC email spoofing protection. Does not log in, does not run attack tests. Returns a score out of 100, a grade and findings by category. Each valid API call uses one credit; every key starts with 1,000 free calls; the limit is 20 calls per minute per key. On HTTP 400, fix the input; on 401, fix the API key; on 402, stop and resolve credits/payment; on 429, wait for Retry-After and do not retry in a loop. A pass is not proof of safety. If verdict is block, do not proceed; if review, show the evidence and ask the user; if warn, follow the agent's normal approval policy. The public API lists $0.01 per call after the free credits. By default this stdio server never signs or submits payments; its optional x402 buyer bridge is disabled unless explicitly enabled and configured. Checks one URL/domain per call and performs no active attacks.
Show parametersHide parameters
domainstringrequiredDomain or URL, e.g. example.com
Checked by Serverdex with a plain initialize + tools/list call to mcp.slfguardian.com/mcp, no credentials, about once a day. A failed check is never a removal.
What this server can touch
Across the fleet →No tool name matched a sensitive-capability keyword across its 6 tools. That is a name-level signal only — it does not confirm what the tools do, so read their descriptions before use.
On GitHub
read Dec 4, 2026Pythonagent-securityai-agentsai-securityclaudecoding-agentllm-toolsmcpmcp-securitymcp-servermodel-context-protocolprompt-injectionsecure-aisecurityslopsquattingsupply-chain-security
From the README
SLF Guardian MCP Give coding agents an evidence-backed security check before they install a package, run a shell or SQL command, or deliver code. SLF Guardian is a six-tool MCP server an agent can call before those actions; it returns pass, warn, review or block with findings. It is a policy signal, not an enforcement layer: the host agent must call it and honor the result before proceeding. The clearest first use is checking packages and commands before execution. Add code, prompt, domain and passive website checks when they fit the workflow. Nothing submitted is executed; website checks are passive and require owner authorization. The MCP process runs locally over stdio, but it does not analyze inputs offline: each tool call sends its input over HTTPS to SLF Guardian's hosted API. The API documents submitted code and prompt content as analyzed in memory and not stored; limited billing and operational metadata may be retained as described below. Do not submit credentials or secrets. Find and install it from the official MCP Registry or PyPI. Setup guides are below. Local stdio server with no third-party runtime dependencies.…
Read the full README on GitHub →Remotes
- streamable-http
https://mcp.slfguardian.com/mcp
Alternatives to SLF Guardian MCP
All SLF Guardian MCP alternatives →Best Developer Tools servers →Compare side by side →The most-starred Developer Tools servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| REA | 477,629 | Nov 2026 | Local / not checked |
| AutoGPT | 188,274 | Dec 2026 | Needs sign-in |
| GitHub | 34,870 | Nov 2026 | Needs sign-in |
| Repomix | 29,604 | Dec 2026 | Local / not checked |
| Oh My Posh Validator | 23,801 | Nov 2026 | Working |
SLF Guardian MCP: questions people ask
- Is SLF Guardian MCP a remote or a local MCP server?
- According to its entry in the official MCP registry, SLF Guardian MCP ships as a hosted endpoint (streamable-http) that your client connects to by URL and as a local package (npm, PyPI) that your client starts on your machine. Use the hosted endpoint when your client supports Streamable HTTP; use the package when you want it to run locally.
- Does SLF Guardian MCP need an API key?
- Its hosted endpoint completed the Serverdex live check — an MCP initialize + tools/list call — with no credentials on Dec 5, 2026. Individual tools may still ask for a key when called.
- Is SLF Guardian MCP safe to use?
- Looks healthy: SLF Guardian MCP is maintained, open source, hosted endpoint answering without a key. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: Local package or hosted; credentials: None needed to connect. Serverdex check of Dec 5, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
- Is SLF Guardian MCP still maintained?
- Active: the repository's last commit today. Last push Dec 4, 2026, 1 GitHub stars, MIT licence. Read from GitHub on Dec 4, 2026.
- What tools does SLF Guardian MCP expose?
- 6 tools as listed by the server itself during the live check, including audit_code, check_package, check_prompt, check_command, check_domain. The full list with parameters is in the Live check section above.
- How do I add SLF Guardian MCP to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More from slfguardian
All 2 servers by slfguardian →More Developer Tools servers
Browse all Developer Tools →Slice
Production-ready
Sandboxed TypeScript and JavaScript for AI agents: run locally with npx or hosted on Slice Cloud.
Smarter Weather Developer Onboarding
Production-ready
Onboard to Smarter Weather from your agent: plans, docs, sign-up, API keys, MCP config, billing.
XCRS Mobile & TV Automation
Well-maintained
MCP tools for testing mobile and TV apps on iOS simulators, Android phones, and Apple/Android TV.
Botchelor
Well-maintained
AI characters swipe, text and go on blind dates nobody steers, while an audience predicts endings.
SnappySnag
Production-ready
Flutter in-app bug tracking, visual pin annotations, and device logs directly into your AI IDE.
agentburn
Production-ready
Local profiler: which usage window took you out, and where your agent's money goes
Add the badge to your site
Show visitors that SLF Guardian MCP is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-slfguardian-slf-guardian-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="SLF Guardian MCP — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-slfguardian-slf-guardian-mcp?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.
Install buttons — for your README
[](https://serverdex.io/install/cursor/io-github-slfguardian-slf-guardian-mcp) [](https://serverdex.io/install/vscode/io-github-slfguardian-slf-guardian-mcp) [](https://serverdex.io/install/claude-code/io-github-slfguardian-slf-guardian-mcp)One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.
Install buttons — HTML for your docs
<a href="https://serverdex.io/install/cursor/io-github-slfguardian-slf-guardian-mcp"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-slfguardian-slf-guardian-mcp"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-slfguardian-slf-guardian-mcp"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>Same buttons as plain links for a docs page or website.
Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).