
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
toad-tunnel-mcp
Advanced tools
Multi-environment PostgreSQL MCP router with SSH tunnel management.
One MCP server, all your environments, auto-managed SSH tunnels.
dev, stage, prod as first-class parameternpm install -g toad-tunnel-mcp
# Create a config from the example
curl -o toad-tunnel.yaml https://raw.githubusercontent.com/vola-trebla/toad-tunnel-mcp/main/config/toad-tunnel.example.yaml
# Edit for your setup, then validate
toad-tunnel-mcp validate --config toad-tunnel.yaml
# Run (stdio MCP server)
toad-tunnel-mcp --config toad-tunnel.yaml
# config/toad-tunnel.yaml
project: my-project
environments:
dev:
host: localhost
port: 5432
database: app_dev
user: dev_user
password: dev_secret
permissions: read-write # read-write | read-only
approval: auto # auto | hitl
prod:
host: prod-db.internal
port: 5432
database: app_prod
user: prod_reader
password: prod_secret
permissions: read-only
approval: hitl # requires human confirmation
tunnel:
bastion: bastion.company.com
username: deploy
key_path: ~/.ssh/prod_key
local_port: 5434
# Optional
safety:
blocked_keywords: [DROP, DELETE, ALTER, TRUNCATE]
max_rows: 100
hitl_timeout_ms: 60000
Full annotated example: config/toad-tunnel.example.yaml
| Tool | Description |
|---|---|
toad_tunnel__list_nodes | Discover environments, permissions, approval mode |
toad_tunnel__get_overview | Tables + estimated row counts (cached 5min) |
toad_tunnel__describe_columns | Compact column schema for a table (cached 5min) |
toad_tunnel__execute_query | Run SQL with blocklist, HITL, row budget |
toad_tunnel__tunnel_status | SSH tunnel state per environment |
Add to Claude Desktop claude_desktop_config.json or Claude Code .mcp.json:
{
"mcpServers": {
"toad-tunnel": {
"command": "npx",
"args": ["toad-tunnel-mcp", "--config", "/path/to/toad-tunnel.yaml"]
}
}
}
toad-tunnel-mcp --version
toad-tunnel-mcp --help
toad-tunnel-mcp validate [--config <path>]
toad-tunnel-mcp [--config <path>] # start MCP server
Defense-in-depth with four layers:
DROP, DELETE, etc.) before reaching the DBLIMIT max_rows+1approval: hitl require human confirmationThe blocklist operates on normalized SQL text, not a parsed AST. This means:
WHERE msg = 'Please DELETE this')When blocked_keywords is omitted from config, the following defaults are used:
DROP, DELETE, ALTER, TRUNCATE, GRANT, REVOKE, CREATE, UPDATE, INSERT.
Passwords in config support ${ENV_VAR} interpolation to avoid plaintext secrets.
MIT
FAQs
Multi-environment PostgreSQL MCP router with SSH tunnel management
We found that toad-tunnel-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.