Skip to content

Conversation

@manmartgarc
Copy link
Contributor

The HTTP example was using incorrect CallToolParamsFor and CallToolResultFor types that don't exist in the current API. Updated to use standard MCP tool pattern with CallToolRequest, CallToolResult, and proper return values. Also fixed client.Connect call to include missing ClientSessionOptions parameter.

Fixes the build errors introduced in the previous commit.

Fixes #383

The HTTP example was using incorrect CallToolParamsFor and CallToolResultFor
types that don't exist in the current API. Updated to use standard MCP tool
pattern with CallToolRequest, CallToolResult, and proper return values.
Also fixed client.Connect call to include missing ClientSessionOptions parameter.

Fixes the build errors introduced in the previous commit.
@manmartgarc manmartgarc closed this Sep 1, 2025
@manmartgarc manmartgarc deleted the fix-https-example branch September 1, 2025 03:05
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.

broken compile from http example

1 participant