+When APM configures a GitHub MCP server for a client adapter, it automatically injects a GitHub authentication token into the request headers. To prevent token exfiltration via a poisoned registry entry (a server that uses a recognised GitHub name but points at a non-GitHub URL), APM requires **both** a name-allowlist match **and** a verified GitHub hostname before injecting a token. A name match alone is never sufficient. Recognised hostnames include `github.com`, `*.ghe.com` (GitHub Enterprise), and `*.githubcopilot.com` (Copilot API).
0 commit comments