Co-authored-by: Stephen Halter <halter73@gmail.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: tarekgh <tarek.mahmoud.sayed@gmail.com>
This commit is contained in:
parent
6787c0cc19
commit
26f60ab7f4
1 changed files with 894 additions and 101 deletions
|
|
@ -4,6 +4,7 @@ using ModelContextProtocol.Protocol;
|
|||
using ModelContextProtocol.Tests.Utils;
|
||||
using System.IO.Pipelines;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Nodes;
|
||||
using System.Threading.Channels;
|
||||
|
||||
namespace ModelContextProtocol.Tests.Client;
|
||||
|
|
@ -179,10 +180,13 @@ public class McpClientCreationTests(ITestOutputHelper testOutputHelper) : Logged
|
|||
{
|
||||
Capabilities = new ServerCapabilities(),
|
||||
SupportedVersions = [McpProtocolVersions.July2026ProtocolVersion],
|
||||
ServerInfo = new Implementation
|
||||
Meta = new JsonObject
|
||||
{
|
||||
Name = "NopTransport",
|
||||
Version = "1.0.0"
|
||||
[MetaKeys.ServerInfo] = JsonSerializer.SerializeToNode(new Implementation
|
||||
{
|
||||
Name = "NopTransport",
|
||||
Version = "1.0.0"
|
||||
}, McpJsonUtilities.DefaultOptions),
|
||||
},
|
||||
}, McpJsonUtilities.DefaultOptions),
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue