Skip to content

Instantly share code, notes, and snippets.

View zeus-12's full-sized avatar
🎯
Focusing

Vishnu zeus-12

🎯
Focusing
View GitHub Profile
@zeus-12
zeus-12 / unbound-mcp-diag.sh
Last active July 21, 2026 19:01
Unbound MCP resolution diagnostic (read-only) β€” replays the Claude Code hook's MCP server-config resolution to show why a sanctioned MCP is being blocked
#!/usr/bin/env bash
# Unbound MCP resolution diagnostic β€” READ-ONLY. v5
#
# Why: the Unbound Claude Code hook must resolve an MCP server's launch config
# (url / command) to identify the server. If it cannot, the gateway receives no
# fingerprint, the server resolves to no canonical group, and an org MCP
# allow-list blocks every tool on it. This script replays the hook's exact
# resolution logic locally and reports where and why it fails.
#
# Usage β€” run from anywhere: