Input firewall for AI agents: scan tools for text and files. Local, no network by default.
MCPpedia last refreshed this data
io.github.sunglasses-dev/sunglasses is an MCP server that input firewall for AI agents: scan tools for text and files. Local, no network by default. Its tool list has not been published yet over stdio and sse, requires no API key, and scores 61/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"io-github-sunglasses-dev-sunglasses": {
"args": [
"sunglasses"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Input firewall for AI agents: scan tools for text and files. Local, no network by default.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked sunglasses against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in ai-ml / security
🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> Hallucinate.
The official MCP server implementation for the Perplexity API Platform
Unified real-time search engine skill for AI agents.
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
MCP Security Weekly
Get CVE alerts and security updates for io.github.sunglasses-dev/sunglasses and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Open source input firewall for AI agents, beta. A local scanner checks text, code, PDFs, images, QR codes, audio and video with 1,498 patterns that carry a matcher (1,569 are listed) across 117 listed categories and reports findings and incomplete scans. When the scanner cannot read part of an input, it says so and exits 3; an incomplete scan is never reported as clean. A Claude Code hook blocks secret material in tool calls and the paths and hosts your policy lists, before a tool runs, best effort under its 10 second timeout.
What works today
tools/list and tools/call until a person
approves the server at an interactive terminal. Once approved, it withholds a
credential in a tool call or in a tool result, which is the credential lane and not
general inspection of everything a tool returns. Installing it is not protection
on its own. See What the proxy enforces.Sunglasses is a local, open source scanner for text and supported files. It reports what it matched and what it could not read, so you can decide what to pass onward. It produces findings and an exit status; a CI job, a Claude Code hook or your own code acts on that result.

python3 -m venv .venv && source .venv/bin/activate
python -m pip install --upgrade sunglasses
curl -fsSL -o sixty-seconds.sh https://raw.githubusercontent.com/sunglasses-dev/sunglasses/main/demo/sixty-seconds.sh && bash sixty-seconds.sh
An activated virtualenv keeps the install and the sunglasses your shell resolves in the
same environment, and --upgrade matters if you already have an older version. curl -fsSL
fails on an HTTP error instead of saving the error page, so the script only runs if the
download actually succeeded.
The script writes three fixture files into a temp directory, and deliberately scans a fourth path that does not exist, five scanner invocations in total, because the archive is scanned twice (human output and JSON). The script's own commands execute; scanned content stays data (it is never executed, and the ZIP is not extracted).
Abbreviated output, recorded on 0.5.