mcp-permaudit
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-permauditaudit the settings in .claude/settings.json"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-permaudit
Servidor MCP para auditar configuraciones de permisos de Claude Code
(.claude/settings.json).
Aplica la jerarquía primitivas → custom → MCP:
cli_bash.pyrepresenta la opción primitiva (bash + Python).audit.pyencapsula la lógica para reutilizarla como tool custom.server.pypublica la capacidad como servidor MCP compartido.
Instalación
cd mcp-permaudit
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtRelated MCP server: downscoping-mcp
Uso
Servidor MCP
source .venv/bin/activate
python server.pyCliente de prueba
source .venv/bin/activate
python client_test.pyCLI primitiva
source .venv/bin/activate
python cli_bash.py fixtures/settings-destructive.json
python cli_bash.py /ruta/a/.claude/settings.jsonMedir costo de contexto
source .venv/bin/activate
python measure_tokens.pyConfiguración en clientes MCP
Claude Code
Copia o adapta .claude/mcp.json en tu proyecto o ~/.claude/mcp.json.
Claude Desktop
Copia claude_desktop_config.json como:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Actualiza la ruta absoluta a server.py.
Decisiones de diseño
Ver docs/decision.md para la comparación completa:
primitiva + ejecución de código
tool custom local
servidor MCP publicado
Incluye justificación de los cuatro criterios de MCP, costo de contexto medido, caso real reescrito como bash+Python, uso de MCP existente (Playwright MCP) y notas de seguridad/allowlist para producción.
Herramienta expuesta
audit_settings(settings_json: str) -> dict: audita el JSON de permisos y devuelve findings, summary, hasSettings, ruleCount y hasConflict.
Estructura
mcp-permaudit/
├── audit.py # Lógica pura de auditoría
├── server.py # Servidor MCP (FunctionTool + stdio)
├── client_test.py # Cliente MCP de prueba
├── cli_bash.py # Alternativa primitiva
├── measure_tokens.py # Costo de contexto
├── fixtures/ # JSON de ejemplo
├── docs/decision.md # Comparativa y justificación
├── .claude/mcp.json # Config para Claude Code
├── claude_desktop_config.json # Config para Claude Desktop
└── requirements.txtThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/manueljacobo-nexgen/mcp-permaudit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server