Skip to content

fix: discover catalogs from empty MCP capabilities - #6758

Open
lucarlig wants to merge 1 commit into
chore/mcp-sdk-v2from
user/luca/sdk-v2-capability-discovery
Open

fix: discover catalogs from empty MCP capabilities#6758
lucarlig wants to merge 1 commit into
chore/mcp-sdk-v2from
user/luca/sdk-v2-capability-discovery

Conversation

@lucarlig

@lucarlig lucarlig commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

Treat advertised resources: {} and prompts: {} capabilities as supported when discovering upstream catalogs. Apply the same presence check to SSE, Streamable HTTP, and OAuth SSE discovery so the official fixture resource test://static-text is imported.

Adds regression coverage for empty and omitted capabilities across all three paths. This is the prerequisite for #6512 on chore/mcp-sdk-v2.

Closes #6614

Signed-off-by: lucarlig <luca.carlig@ibm.com>

@madhu-mohan-jaishankar madhu-mohan-jaishankar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

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