1 write to _mcpClient
Aspire.Cli.Tests (1)
Commands\AgentMcpCommandTests.cs (1)
81_mcpClient = await _testTransport.CreateClientAsync(_loggerFactory, _cts.Token);
11 references to _mcpClient
Aspire.Cli.Tests (11)
Commands\AgentMcpCommandTests.cs (11)
86if (_mcpClient is not null) 88await _mcpClient.DisposeAsync(); 123var tools = await _mcpClient.ListToolsAsync(cancellationToken: _cts.Token).DefaultTimeout(); 197await _mcpClient.CallToolAsync(KnownMcpTools.RefreshTools, cancellationToken: _cts.Token).DefaultTimeout(); 200var tools = await _mcpClient.ListToolsAsync(cancellationToken: _cts.Token).DefaultTimeout(); 272await _mcpClient.CallToolAsync(KnownMcpTools.RefreshTools, cancellationToken: _cts.Token).DefaultTimeout(); 275var result = await _mcpClient.CallToolAsync( 298var result = await _mcpClient.CallToolAsync( 318await using var notificationHandler = _mcpClient.RegisterNotificationHandler( 327var result = await _mcpClient.CallToolAsync( 355await _mcpClient.CallToolAsync(