Skip to content
Français

McpClientCredentials

import type { McpClientCredentials } from "@elie-laloum/outpost";
  • clientIdVariableRequired
    string
    Declared variable holding the OAuth client ID.
  • clientSecretVariableRequired
    string
    Declared variable holding the OAuth client secret, sent with client_secret_basic or client_secret_post from the sandbox.
  • scopesOptional
    readonly string[] | undefined
    OAuth scopes requested with the token. Without it the bridge uses the scope of the server’s 401 challenge, if any.
export interface McpClientCredentials {
  readonly clientIdVariable: string;
  readonly clientSecretVariable: string;
  readonly scopes?: readonly string[];
}