This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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: |