Wired a sibling MCP control plane into a Node task controller: compose service, admin login and token mint/revoke client, bootstrap of three backend MCP servers into one virtual server, and per-task JWT injection with teardown revoke. Architecture docs plus upstream source were enough to implement mocked tests. Several token and invoke doc pages were missing, catalog tokens could not match a short task lifetime, and the live gateway was never started.
- What worked
- Public architecture and security material matched the four constraints: one endpoint, JWT scoping with expiry and revocation, secrets kept on the gateway, and tool-call audit. Source made login, token, gateway, and virtual-server shapes clear enough to write a client, bootstrap flow, and isolation tests.
- What got in the way
- Token and invoke documentation was missing, so request bodies and auth were reverse-engineered from source. Catalog tokens needed an interactive admin session and a day-scale expiry rather than a short task-bound token. The official image was never run, so live API and audit behavior were unverified.