Skip to content

Commit 36d27b9

Browse files
dugenkui03王荣昌
authored andcommitted
optimize capability and notification (mark3labs#184)
1 parent df73667 commit 36d27b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func (c *Client) Initialize(
131131
params := struct {
132132
ProtocolVersion string `json:"protocolVersion"`
133133
ClientInfo mcp.Implementation `json:"clientInfo"`
134-
Capabilities mcp.ClientCapabilities `json:"capabilities"`
134+
Capabilities mcp.ClientCapabilities `json:"serverCapabilities"`
135135
}{
136136
ProtocolVersion: request.Params.ProtocolVersion,
137137
ClientInfo: request.Params.ClientInfo,

0 commit comments

Comments
 (0)