AI seeded comments from robch and then edited by stephentoub (#238)
* AI generated `///` comment updates * Fix compilation issues * Fix incorrect XML comment structure * Update all Client comments * Update all Configuration comments * Update all Messages comments * Update all Transport comments * Update all Types comments * Update all Server comments * Undo some commenting --------- Co-authored-by: Stephen Toub <stoub@microsoft.com>
This commit is contained in:
parent
07300389ee
commit
77871c5aac
1 changed files with 4017 additions and 1066 deletions
|
|
@ -1,14 +1,25 @@
|
|||
using ModelContextProtocol.Server;
|
||||
using ModelContextProtocol.Server;
|
||||
|
||||
namespace Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
/// <summary>
|
||||
/// Builder for configuring <see cref="IMcpServer"/> instances.
|
||||
/// Provides a builder for configuring <see cref="IMcpServer"/> instances.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The <see cref="IMcpServerBuilder"/> 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.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// The builder is obtained from the <see cref="McpServerServiceCollectionExtensions.AddMcpServer"/> extension
|
||||
/// method and provides access to the underlying service collection via the <see cref="Services"/> property.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public interface IMcpServerBuilder
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the service collection.
|
||||
/// Gets the associated service collection.
|
||||
/// </summary>
|
||||
IServiceCollection Services { get; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue