Interface MCPServerDescription

interface MCPServerDescription {
    args?: string[];
    command: string;
    env?: {
        [key: string]: string;
    };
    name: string;
}

Properties

Properties

args?: string[]

An array of arguments to pass to the command.

command: string

The command to execute the MCP server.

env?: {
    [key: string]: string;
}

Optional environment variables to set when starting the server.

Type declaration

  • [key: string]: string
name: string

The unique name of the MCP server.