modelcontextprotocol / modelcontextprotocol/typescript-sdk
Refactor Protocol.ts to eliminate client/server conditionals
Open
@KKonstantinov is already working on this.
Since Jan 21, 2026.
breaking change
enhancement
P3
ready for work
v2
- Dominant language
- TypeScript
- Stars
- 13.4k
- Forks
- 2.2k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 4
Description
Protocol.ts contains conditionals that can only be executed by client or server, but not both, defeating the purpose of an abstract class. Refactor to make the file easier to read and extend.
Part of v2 SDK work.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.