Lenguaje

IMcpTokenProvider Interface

Definition

Acquires OAuth tokens for MCP servers, routing V1 servers to the shared ATG token and V2 servers to per-audience tokens.

public interface IMcpTokenProvider
type IMcpTokenProvider = interface
Public Interface IMcpTokenProvider

Methods

Name Description
GetTokenAsync(MCPServerConfig, CancellationToken)

Returns a Bearer token for the specified MCP server. The scope is determined by ResolveTokenScopeForServer(MCPServerConfig, IConfiguration).

Applies to