Skip to content

Commit 3ae3a40

Browse files
committed
fix: actually initialize server
1 parent 6b1e3a5 commit 3ae3a40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mcp.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -840,6 +840,8 @@ func (s *MCPServer) handleInitialize(req JSONRPC2Request) {
840840
Capabilities: capabilities,
841841
}
842842

843+
s.initialized = true
844+
843845
// Send the response
844846
s.sendSuccessResponse(req.ID, result)
845847
}

0 commit comments

Comments
 (0)