What is sunglasses?
sunglasses is a MCP server by sunglasses-dev. SUNGLASSES, open-source input firewall for AI agents: scans text, files, images (OCR), PDFs and QR codes for prompt injection, credential leaks and data exfiltration, fully local (no. It is listed under Security and has 11 GitHub stars.
| Type | Mcp server |
|---|---|
| Author | sunglasses-dev |
| Repository | sunglasses-dev/sunglasses |
| Popularity | 11 GitHub stars |
| Category | Security |
| Security | Low risk (92/100) |
| Rank | #1,844 of 5,098 MCP servers; #97 in Security |
| License | MIT |
| Last commit | 2026-11-30 |
| Runs | Locally |
| Language | Python |
Is sunglasses safe to install?
sunglasses scores 92/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 4 of 6 checks.
MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.
| Check | Result |
|---|---|
| Community-built server | Note |
| Runs on your machine only | Pass |
| Needs an API key or account login | Note |
| Read-only by description | Pass |
| No code execution | Pass |
| Source on GitHub | Pass |
How do I install sunglasses?
- Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
https://github.com/sunglasses-dev/sunglasses
- Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
claude mcp add sunglasses -- <command from README> claude mcp add --transport http sunglasses <server-url>
- Check it connected. This lists your MCP servers and their status.
claude mcp list
Or ask Claude to set it up
Paste this into Claude Code and it installs sunglasses for you:
Add the "sunglasses" MCP server from https://github.com/sunglasses-dev/sunglasses to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.