Danger Zone MCP
Provides tools to check and kill Chrome instances with MCP profiles, allowing management of browser instances used by Claude.
Leverages native macOS confirmation dialogs for dangerous commands, providing secure command execution with system-level security verification.
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., "@Danger Zone MCPclean_build to remove old build artifacts"
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.
Danger Zone MCP
A Model Context Protocol (MCP) server that allows executing predefined commands with safety checks.
Features
Execute safe commands from configuration
Execute dangerous commands with native macOS confirmation dialog
Support for pre-authorized dangerous commands (skip confirmation)
JSONC support (JSON with comments)
Multiple configuration file formats supported (.jsonc and .json)
Fallback to global config in
~/.claude/if project config not foundTypeScript implementation
Works with npx for easy execution
Related MCP server: Command Executor MCP Server
Installation
npm install -g @koinunopochi/danger-zone-mcpOr use with npx (no installation required):
npx @koinunopochi/danger-zone-mcpConfiguration
Create a configuration file in your project root or home directory:
Project-specific config (highest priority):
<project>/.claude/.danger-zone-exec.local.jsonc(recommended for comments)<project>/.claude/.danger-zone-exec.local.json
Global config (fallback):
~/.claude/.danger-zone-exec.jsonc(recommended for comments)~/.claude/.danger-zone-exec.json
{
// Safe commands that can be executed without confirmation
"commands": [
{
"name": "build_project",
"description": "Build the project",
"command": "npm",
"args": ["run", "build"]
},
{
"name": "check_chrome_mcp",
"description": "Check if MCP Chrome profile instances are running",
"command": "ps aux | grep -E '(Google Chrome.*mcp-chrome-profile)' | grep -v grep | wc -l"
}
],
// Dangerous commands that require confirmation
"dangerZone": [
{
"name": "clean_build",
"description": "Clean all build artifacts",
"command": "rm -rf dist"
// Will show confirmation dialog (default behavior)
},
{
"name": "kill_chrome_mcp",
"description": "Kill all Chrome instances with MCP profile",
"command": "pkill -f 'Google Chrome.*mcp-chrome-profile'",
"preAuthorized": true // Skip confirmation dialog
}
]
}Usage with Claude Desktop / Claude Code
Add to your Claude configuration:
{
"mcpServers": {
"danger-zone": {
"command": "npx",
"args": ["@koinunopochi/danger-zone-mcp"]
}
}
}Note: When using Claude Code, the cwd is automatically set to your current project directory.
Development
# Install dependencies
npm install
# Build
npm run build
# Run in development mode
npm run devConfiguration Options
Command Properties
name: Tool name (used asexec_<name>)description: Description shown in Claudecommand: Shell command to executeargs: Optional array of default arguments
DangerZone Properties
name: Tool name (used asdanger_<name>)description: Description shown in Claudecommand: Shell command to executepreAuthorized: Skip confirmation dialog if true (optional, defaults to false)
Safety Features
Dangerous commands show native macOS confirmation dialog by default
Pre-authorized commands can skip confirmation when explicitly configured
Commands are sandboxed to configured list
Clear separation between safe and dangerous operations
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceA secure terminal execution server that enables controlled command execution with security features and resource limits via the Model Context Protocol (MCP).Last updated17910MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that allows secure execution of pre-approved commands, enabling AI assistants to safely interact with the user's system.Last updated1822ISC
- AlicenseBqualityCmaintenanceA secure Model Context Protocol server that allows AI assistants to execute terminal commands with controlled directory access and command permissions. It features a robust security architecture including whitelisting, session IDs, and categorized command levels to ensure safe system interaction.Last updated8MIT
- Alicense-qualityFmaintenanceA Model Context Protocol (MCP) server that enables secure execution of shell commands with a dynamic approval system, audit logging, and command revocation.Last updated41Apache 2.0
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
MCP (Model Context Protocol) server for Appwrite
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/koinunopochi/danger-zone-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server