Basic information
About Sunglasses MCP Server
Open source input firewall for AI agents, beta. A local scanner checks text, code, PDFs, images, QR codes, audio and video with 1,569 patterns across 117 categories and reports findings and incomplete scans. A Claude Code hook blocks secret material in tool calls and the paths an
Sunglasses is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by sunglasses-dev. Runtime: python. License: MIT. The repository has 10 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"sunglasses": {
"command": "python3",
"args": [
"-m",
"venv",
".venv",
"&&",
"source",
".venv/bin/activate"
]
}
}
}
{
"mcpServers": {
"sunglasses": {
"command": "python3",
"args": [
"-m",
"venv",
".venv",
"&&",
"source",
".venv/bin/activate"
]
}
}
}
{
"servers": {
"sunglasses": {
"command": "python3",
"args": [
"-m",
"venv",
".venv",
"&&",
"source",
".venv/bin/activate"
]
}
}
}
Sunglasses MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"sunglasses": {
"command": "python3",
"args": [
"-m",
"venv",
".venv",
"&&",
"source",
".venv/bin/activate"
]
}
}
}
Sunglasses MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Sunglasses?
Open source input firewall for AI agents, beta. A local scanner checks text, code, PDFs, images, QR codes, audio and video with 1,569 patterns across 117 categories and reports findings and incomplete scans. A Claude Code hook blocks secret material in tool calls and the paths and hosts your policy lists before tools run.
How to use Sunglasses?
The README includes setup instructions such as python -m pip install --upgrade sunglasses.
Key features of Sunglasses
- Scan text, files, PDFs, images and QR codes from the CLI or from Python
- An MCP server your agent calls, and a GitHub Action that scans every pull request
- A Claude Code hook that blocks the credential paths and policy violations your policy lists, before a tool runs
- A local MCP proxy that refuses every tools/list and tools/call until a person
- Outside that lane this reads input, so a clean result is a confidence floor and not a guarantee
Use cases of Sunglasses
- Connect an MCP-compatible client to this repository's service.
- Review the README-backed setup before enabling it in production.
Frequently asked questions
1 Where is the source code for Sunglasses?
The source code is linked from the repository URL on this page.
2 Does Sunglasses include a standard MCP config?
If the README contains a parseable MCP configuration block, it is shown in the Config tab.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In