Skip to content

AIDK API Reference / aidk/mcp / MCPConfig

Interface: MCPConfig ​

Defined in: packages/core/src/mcp/types.ts:26

MCP server configuration

Properties ​

PropertyTypeDescriptionDefined in
auth?{ [key: string]: any; token?: string; type: "custom" | "bearer" | "api_key"; }Optional authenticationpackages/core/src/mcp/types.ts:61
auth.token?string-packages/core/src/mcp/types.ts:63
auth.type"custom" | "bearer" | "api_key"-packages/core/src/mcp/types.ts:62
connection{ [key: string]: any; args?: string[]; command?: string; url?: string; }Connection details (transport-specific)packages/core/src/mcp/types.ts:40
connection.args?string[]-packages/core/src/mcp/types.ts:45
connection.command?stringFor stdio: command and args to spawnpackages/core/src/mcp/types.ts:44
connection.url?stringFor SSE/StreamableHTTP: server URLpackages/core/src/mcp/types.ts:50
serverNamestringUnique identifier for this MCP server connectionpackages/core/src/mcp/types.ts:30
transportMCPTransportTransport type for MCP communicationpackages/core/src/mcp/types.ts:35

Released under the MIT License.