@adcp/client API Reference - v3.11.2
    Preparing search index...

    Interface AgentConfig

    interface AgentConfig {
        id: string;
        name: string;
        agent_uri: string;
        protocol: "mcp" | "a2a";
        auth_token?: string;
        oauth_tokens?: AgentOAuthTokens;
        oauth_client?: AgentOAuthClient;
    }
    Index

    Properties

    id: string
    name: string
    agent_uri: string
    protocol: "mcp" | "a2a"
    auth_token?: string

    Static authentication token Use this for API keys or pre-issued bearer tokens

    oauth_tokens?: AgentOAuthTokens

    OAuth tokens for dynamic authentication The client will automatically refresh tokens when they expire

    oauth_client?: AgentOAuthClient

    OAuth client registration info Stored after dynamic client registration