Skip to content

Conversation

faik
Copy link
Contributor

@faik faik commented Apr 9, 2025

This commit fixes issue #67 where the Client's ReadResource method was incorrectly attempting to parse server responses. The bug occurred because the response type returned by the server (ResourceResponse) differed from what the client expected (resourceResponseSent).

This commit fixes issue metoro-io#67 where the Client's ReadResource method was incorrectly attempting to parse server responses. The bug
occurred because the response type returned by the server (ResourceResponse) differed from what the client expected (resourceResponseSent).
@Degfy
Copy link

Degfy commented Apr 16, 2025

I hit this obstacle while building an LLM tool...

@Degfy
Copy link

Degfy commented Apr 16, 2025

could you merge it? @Chrisbattarbee

@ecekyn
Copy link
Contributor

ecekyn commented May 22, 2025

Yep you are right, thanks for the contribution. resourceResponseSent marshalled as ResourceResponsein: https://github.com/robomotionio/mcp-golang/blob/fix-client-read-resource/server.go#L48-L54

Merging it.

@ecekyn ecekyn merged commit 6598b3d into metoro-io:main May 22, 2025
1 check passed
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.

3 participants