Share via


McpToolRegistrationService Class

Definition

Provides services related to tools in the Semantic Kernel.

public class McpToolRegistrationService : Microsoft.Agents.A365.Tooling.Extensions.SemanticKernel.Services.IMcpToolRegistrationService
type McpToolRegistrationService = class
    interface IMcpToolRegistrationService
Public Class McpToolRegistrationService
Implements IMcpToolRegistrationService
Inheritance
McpToolRegistrationService
Implements

Constructors

Name Description
McpToolRegistrationService(ILogger<IMcpToolRegistrationService>, IServiceProvider, IMcpToolServerConfigurationService, IConfiguration)

Initializes a new instance of the IMcpToolRegistrationService class.

Methods

Name Description
AddToolServersToAgentAsync(Kernel, UserAuthorization, String, ITurnContext, String)

Adds the A365 MCP Tool Servers

SendChatHistoryAsync(ITurnContext, ChatHistory, CancellationToken)

Sends chat history to the MCP platform for real-time threat protection.

SendChatHistoryAsync(ITurnContext, ChatHistory, ToolOptions, CancellationToken)

Sends chat history to the MCP platform for real-time threat protection.

Applies to