T402 API Reference - v2.8.0
    Preparing search index...

    Interface McpServerConfig

    MCP Server configuration

    interface McpServerConfig {
        privateKey?: string;
        rpcUrls?: Partial<Record<SupportedNetwork, string>>;
        demoMode?: boolean;
        paymasterUrl?: string;
        bundlerUrl?: string;
        seedPhrase?: string;
        wdkChains?: string[];
        unifiedMode?: boolean;
        tonMcpEndpoint?: string;
        tonApiKey?: string;
    }
    Index

    Properties

    privateKey?: string

    Private key for signing transactions (hex string)

    rpcUrls?: Partial<Record<SupportedNetwork, string>>

    RPC URLs by network

    demoMode?: boolean

    Enable demo mode (simulates transactions without executing)

    paymasterUrl?: string

    Paymaster URL for gasless transactions

    bundlerUrl?: string

    Bundler URL for ERC-4337

    seedPhrase?: string

    WDK seed phrase (enables WDK wallet tools when set)

    wdkChains?: string[]

    WDK chains to support (e.g., ['ethereum', 'arbitrum'])

    unifiedMode?: boolean

    Enable unified mode (base + WDK + unified tools)

    tonMcpEndpoint?: string

    @ton/mcp server URL for TON bridge tools

    tonApiKey?: string

    TON API key for direct TON bridge tool execution