mcp-go
mcp-go copied to clipboard
A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Added the NewToolResultError method. In MCP, when an error occurs during a tool invocation, it is defined that the error message should be included in the contents of the Result...
If the client doesn't reconnect, it will freeze/stall. It's a bug?
what is the difference ?mark3labs/mcp-go metoro-io/mcp-golang
How does the mcp server using the SSE design scheme ensure client session stickiness in a distributed architecture?
append will handle nil slice. do not have to use if ## Summary by CodeRabbit - **Refactor** - Simplified the underlying logic for registering required properties in tool configurations, reducing...
Same with https://github.com/mark3labs/mcp-go/issues/78. ## Summary by CodeRabbit - **New Features** - Introduced a keep-alive mechanism for server-sent events that periodically sends ping messages to maintain active connections. - Added configurable...
write test cases in this repo for atleast one function
Hi I am trying to implement a SSE MCP server. Now this is behind a load-balancer, so in order to keep the connection alive, `ping` - `pong` is required otherwise...
If the HTTP SSE stream gets disconnected, future calls will fail due to a missing transport for response messages. This adds a `Connected() bool` method to verify the connection status,...
In #55, an option was added to set an sse read timeout. This timeout, however, applies to the entire `readSSE` function which is responsible for receiving messages from the server...