Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion test/SeqCli.EndToEnd/Mcp/McpToolTestCase.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Linq;
using System.Text.Json;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using JetBrains.Annotations;
using ModelContextProtocol.Client;
Expand Down Expand Up @@ -28,7 +29,14 @@ public async Task ExecuteAsync(SeqConnection connection, ILogger logger, CliComm
Arguments = [TestConfiguration.TestedBinary, "mcp", "run", $"--server={connection.Client.ServerUrl}"]
});

await using var client = await McpClient.CreateAsync(transport);
await using var client = await McpClient.CreateAsync(
transport,
new McpClientOptions
{
// The MCP client needs to wait for the MCP server to start,
// which takes ~5s on Github actions.
DiscoverProbeTimeout = Timeout.InfiniteTimeSpan
});

await ExecuteAsync(connection, logger, client);
}
Expand Down