FoundryVTT MCP Server Documentation - v0.9.2
    Preparing search index...

    Interface FoundryClientConfig

    Configuration interface for FoundryVTT client connection settings

    FoundryClientConfig

    const config: FoundryClientConfig = {
    baseUrl: 'http://localhost:30000',
    apiKey: 'your-api-key',
    timeout: 10000
    };
    interface FoundryClientConfig {
        baseUrl: string;
        apiKey?: string;
        username?: string;
        password?: string;
        timeout?: number;
        retryAttempts?: number;
        retryDelay?: number;
        socketPath?: string;
    }
    Index

    Properties

    baseUrl: string

    Base URL of the FoundryVTT server (e.g., 'http://localhost:30000')

    apiKey?: string

    API key for REST API module authentication (optional)

    username?: string

    Username for basic authentication (optional)

    password?: string

    Password for basic authentication (optional)

    timeout?: number

    Request timeout in milliseconds (default: 10000)

    retryAttempts?: number

    Number of retry attempts for failed requests (default: 3)

    retryDelay?: number

    Delay between retry attempts in milliseconds (default: 1000)

    socketPath?: string

    Custom WebSocket path (default: '/socket.io/')