Skip to content

Commit 997482c

Browse files
committed
fix null error
1 parent 7389709 commit 997482c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MCPSharp/Core/ServerRpcTarget.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace MCPSharp
1010
class ServerRpcTarget(ToolManager toolManager, ResourceManager resourceManager, Implementation implementation)
1111
{
1212
private Implementation _clientInfo;
13-
private ClientCapabilities _clientCapabilities;
13+
private ClientCapabilities _clientCapabilities = new();
1414

1515
/// <summary>
1616
/// Initializes the server with the specified protocol version, client capabilities, and client information.

0 commit comments

Comments
 (0)