using ModelContextProtocol.Server; namespace Microsoft.Extensions.DependencyInjection; /// /// Provides a builder for configuring instances. /// /// /// /// The interface provides a fluent API for configuring Model Context Protocol (MCP) servers /// when using dependency injection. It exposes methods for registering tools, prompts, custom request handlers, /// and server transports, allowing for comprehensive server configuration through a chain of method calls. /// /// /// The builder is obtained from the extension /// method and provides access to the underlying service collection via the property. /// /// public interface IMcpServerBuilder { /// /// Gets the associated service collection. /// IServiceCollection Services { get; } }