Theia API Documentation v1.66.0
    Preparing search index...
    interface BaseMCPServerDescription {
        autostart?: boolean;
        error?: string;
        name: string;
        resolve?: (
            description: MCPServerDescription,
        ) => Promise<MCPServerDescription>;
        status?: MCPServerStatus;
        tools?: ToolInformation[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    autostart?: boolean

    Flag indicating whether the server should automatically start when the application starts.

    error?: string

    Last error message that the server has returned.

    name: string

    The unique name of the MCP server.

    resolve?: (description: MCPServerDescription) => Promise<MCPServerDescription>

    Optional resolve function that gets called during server definition resolution. This function can be used to dynamically modify server configurations, resolve environment variables, validate configurations, or perform any necessary preprocessing before the server starts.

    Type Declaration

    The current status of the server. Optional because only set by the server.

    tools?: ToolInformation[]

    List of available tools for the server. Returns the name and description if available.