Add a new protocol message type
- Define the message type interface in core types
- Add codec serialization/deserialization in wire module
- Implement handler in client-side message routing
- Implement handler in server-side message routing
How modelcontextprotocol/typescript-sdk is laid out, and where to start for common changes.
From the map of which files import which, built when the code was last read in full. It shows what depends on what, not a reading order.
RepoPilot lists up to 500 files, so a file missing here may still exist.
Static checks on the 15 largest source files.
Test folders: packages/client/test/client · examples/cli-client/test · examples/shared/test
Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.