Skip to content

Commit fcef869

Browse files
committed
hotfix: mcp server
1 parent 213d329 commit fcef869

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

mcp/server.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,12 @@ func (s *Server) handleInitialize(req *Request) *Response {
135135
Name: "protolint-mcp",
136136
Version: "1.0.0",
137137
},
138-
Capabilities: ServerCapabilities{},
138+
Capabilities: ServerCapabilities{
139+
// We only support tools with listChanged capability
140+
Tools: map[string]interface{}{
141+
"listChanged": true,
142+
},
143+
},
139144
Instructions: "protolint: Protocol Buffer linter and fixer for enforcing proto style guide rules",
140145
}
141146

0 commit comments

Comments
 (0)