Skip to content

Conversation

@findleyr
Copy link
Contributor

@findleyr findleyr commented Aug 7, 2025

Add unexported methods to the Params and Result interface, so that they're harder to implement outside the mcp package.

It looks like these are the only two interfaces we need to lock down: others are either intentionally open (Transport, Connection), or already closed (Session).

Fixes #263

@findleyr findleyr requested a review from jba August 7, 2025 19:29
Add unexported methods to the Params and Result interface, so that
they're harder to implement outside the mcp package.

It looks like these are the only two interfaces we need to lock down:
others are either intentionally open (Transport, Connection), or already
closed (Session).

Fixes modelcontextprotocol#263
@findleyr findleyr merged commit 8186bf3 into modelcontextprotocol:main Aug 7, 2025
5 checks passed
@findleyr findleyr deleted the smallthings branch August 7, 2025 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"lock down" interfaces that we control

2 participants