1 write to _mcpClient
Aspire.Cli.Tests (1)
Mcp\E2E\McpDocsE2ETests.cs (1)
38_mcpClient = await McpClient.CreateAsync(transport);
27 references to _mcpClient
Aspire.Cli.Tests (27)
Mcp\E2E\McpDocsE2ETests.cs (27)
43if (_mcpClient is not null) 45await _mcpClient.DisposeAsync(); 52Assert.NotNull(_mcpClient); 54var tools = await _mcpClient.ListToolsAsync(); 64Assert.NotNull(_mcpClient); 66var result = await _mcpClient.CallToolAsync("list_docs"); 79Assert.NotNull(_mcpClient); 81var result = await _mcpClient.CallToolAsync( 98Assert.NotNull(_mcpClient); 100var result = await _mcpClient.CallToolAsync( 115Assert.NotNull(_mcpClient); 118var searchResult = await _mcpClient.CallToolAsync( 134var docResult = await _mcpClient.CallToolAsync( 148Assert.NotNull(_mcpClient); 150var result = await _mcpClient.CallToolAsync( 161Assert.NotNull(_mcpClient); 164var listResult = await _mcpClient.CallToolAsync("list_docs"); 178var result = await _mcpClient.CallToolAsync( 192Assert.NotNull(_mcpClient); 194var result = await _mcpClient.CallToolAsync( 206Assert.NotNull(_mcpClient); 209var listResult = await _mcpClient.CallToolAsync("list_docs"); 222var result = await _mcpClient.CallToolAsync( 238Assert.NotNull(_mcpClient); 240var tools = await _mcpClient.ListToolsAsync(); 259Assert.NotNull(_mcpClient); 261var tools = await _mcpClient.ListToolsAsync();