|
|
@@ -1,21 +1,8 @@
|
|
|
-//#r "nuget: ModelContextProtocol, *-*"
|
|
|
-//#r "nuget: Microsoft.Extensions.DependencyInjection"
|
|
|
-//#r "nuget: Microsoft.Extensions.Hosting"
|
|
|
-
|
|
|
-using Microsoft.Extensions.DependencyInjection;
|
|
|
-using Microsoft.Extensions.Hosting;
|
|
|
-using Microsoft.Extensions.Logging;
|
|
|
-using ModelContextProtocol;
|
|
|
using ModelContextProtocol.Client;
|
|
|
-using ModelContextProtocol.Server;
|
|
|
using ModelContextProtocol.Protocol;
|
|
|
-using System;
|
|
|
-using System.Collections.Generic;
|
|
|
-using System.Threading.Tasks;
|
|
|
-
|
|
|
+using ModelContextProtocol.Server;
|
|
|
using System.IO.Pipelines;
|
|
|
using System.Reflection;
|
|
|
-using System.Threading.Channels;
|
|
|
|
|
|
/// <summary>
|
|
|
/// Model Context Protocol (MCP) 相关的帮助方法
|