32 lines
716 B
C#
32 lines
716 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using System.Threading.Tasks;
|
|
using MCPClient.Samples;
|
|
|
|
namespace MCPClient;
|
|
|
|
internal sealed class Program
|
|
{
|
|
/// <summary>
|
|
/// Main method to run all the samples.
|
|
/// </summary>
|
|
public static async Task Main(string[] args)
|
|
{
|
|
await MCPToolsSample.RunAsync();
|
|
|
|
await MCPPromptSample.RunAsync();
|
|
|
|
await MCPResourcesSample.RunAsync();
|
|
|
|
await MCPResourceTemplatesSample.RunAsync();
|
|
|
|
await MCPSamplingSample.RunAsync();
|
|
|
|
await ChatCompletionAgentWithMCPToolsSample.RunAsync();
|
|
|
|
await AzureAIAgentWithMCPToolsSample.RunAsync();
|
|
|
|
await AgentAvailableAsMCPToolSample.RunAsync();
|
|
}
|
|
}
|