Skip to content

mcp: advertise a capability if and only if added #93

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jba
Copy link
Contributor

@jba jba commented Jul 3, 2025

If tools are added to a Server when Run is called, it will send toolCapabilities to the client. Otherwise it won't. Ditto for prompts and resources.

For #56.

If tools are added to a Server when Run is called, it will
send toolCapabilities to the client. Otherwise it won't.
Ditto for prompts and resources.
@jba jba requested review from findleyr and samthanawalla July 3, 2025 11:57
Copy link
Contributor

@findleyr findleyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. This should probably have more test coverage. A dedicated test seems appropriate.

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.

2 participants