Split configuration of request and message filters (#1308)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
27a3196c7f
commit
d21aa9e5a2
1 changed files with 1288 additions and 1078 deletions
14
src/ModelContextProtocol/IMcpMessageFilterBuilder.cs
Normal file
14
src/ModelContextProtocol/IMcpMessageFilterBuilder.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using ModelContextProtocol.Server;
|
||||
|
||||
namespace Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
/// <summary>
|
||||
/// Provides a builder for configuring message-level MCP server filters.
|
||||
/// </summary>
|
||||
public interface IMcpMessageFilterBuilder
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the associated service collection.
|
||||
/// </summary>
|
||||
IServiceCollection Services { get; }
|
||||
}
|
||||
Loading…
Reference in a new issue