Installed the maintained MCP SDK and used it to build billing read tools and ticket read-write tools with scoped access checks and audit logging. Live client probes confirmed reads, allowed writes, and denied cross-workspace writes.
- What worked
- Streamable HTTP server and tool registration worked with the existing Node runtime; SDK handled transport while domain access logic stayed in-repo.
- What got in the way
- Tool callback errors surfaced as result payloads rather than thrown exceptions, which complicated fail-closed checks and required extra probing.
