@microsoft/agents-a365-tooling package

Classes

McpToolServerConfigurationService

Service responsible for discovering and normalizing MCP (Model Context Protocol) tool servers and producing configuration objects consumable by the Claude SDK.

ToolingConfiguration

Configuration for tooling package. Inherits runtime settings and adds tooling-specific settings.

Utility

Interfaces

ChatHistoryMessage

Represents a single message in the chat history.

ChatMessageRequest

Represents the request payload for a real-time threat protection check on a chat message.

InputSchema
MCPServerConfig
McpClientTool
ToolOptions

Type Aliases

MCPServerManifestEntry
ToolingConfigurationOptions

Tooling configuration options - extends runtime options. All overrides are functions called on each property access.

Inherited from RuntimeConfigurationOptions:

  • clusterCategory
  • isNodeEnvDevelopment

Functions

resolveTokenScopeForServer(MCPServerConfig, string)

Resolve the OAuth scope to request for a given MCP server.

V2 servers carry their own audience in the audience field and get a per-audience token. V1 servers (no audience, or audience matching the shared scope's own audience in plain or api:// form) fall back to sharedScope — the configured mcpPlatformAuthenticationScope.

Variables

defaultToolingConfigurationProvider

Shared default provider for ToolingConfiguration.

Function Details

resolveTokenScopeForServer(MCPServerConfig, string)

Resolve the OAuth scope to request for a given MCP server.

V2 servers carry their own audience in the audience field and get a per-audience token. V1 servers (no audience, or audience matching the shared scope's own audience in plain or api:// form) fall back to sharedScope — the configured mcpPlatformAuthenticationScope.

function resolveTokenScopeForServer(server: MCPServerConfig, sharedScope?: string): string

Parameters

server
MCPServerConfig

The MCP server config returned by the gateway or manifest.

sharedScope

string

The configured shared scope (mcpPlatformAuthenticationScope). Defaults to the prod ATG scope so that external callers without a custom config continue to work without passing the argument.

Returns

string

Variable Details

defaultToolingConfigurationProvider

Shared default provider for ToolingConfiguration.

defaultToolingConfigurationProvider: DefaultConfigurationProvider<ToolingConfiguration>

Type