Go SDK
Enables bidirectional communication between clients and servers for tool execution, resource access, and prompt handling using the Machine Control Protocol.
概要
The Go SDK provides a Go implementation of the Machine Control Protocol (MCP), facilitating bidirectional communication between clients and servers. It offers features such as multiple transport options (stdio, SSE, WebSocket), server-side tool registration and execution, resource pattern matching, prompt template rendering, and session management. It is designed to streamline tool execution, resource access, and prompt handling within a Go environment.
主な機能
- Provides resource pattern matching and access
- Supports multiple transport options (stdio, SSE, WebSocket)
- 1 GitHub stars
- Offers server-side tool registration and execution
- Enables bidirectional communication
- Includes prompt template rendering
ユースケース
- Implementing WebSocket-based communication for interactive tools
- Creating web applications that use Server-Sent Events for real-time updates
- Building CLI applications with bidirectional communication