Improve how to host McpServer (#30)

This commit is contained in:
Toni Wenzel 2025-03-05 21:15:22 +01:00 • committed by GitHub
commit 257a97a659
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,15 @@
using McpDotNet.Server;
using Microsoft.Extensions.DependencyInjection;
namespace McpDotNet.Configuration;
/// <summary>
/// Builder for configuring <see cref="IMcpServer"/> instances.
/// </summary>
public interface IMcpServerBuilder
{
/// <summary>
/// Gets the service collection.
/// </summary>
IServiceCollection Services { get; }
}