AIDK API Reference / aidk/mcp / MCPConfig
Interface: MCPConfig ​
Defined in: packages/core/src/mcp/types.ts:26
MCP server configuration
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
auth? | { [key: string]: any; token?: string; type: "custom" | "bearer" | "api_key"; } | Optional authentication | packages/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? | string | For stdio: command and args to spawn | packages/core/src/mcp/types.ts:44 |
connection.url? | string | For SSE/StreamableHTTP: server URL | packages/core/src/mcp/types.ts:50 |
serverName | string | Unique identifier for this MCP server connection | packages/core/src/mcp/types.ts:30 |
transport | MCPTransport | Transport type for MCP communication | packages/core/src/mcp/types.ts:35 |