Documentation / @agentick/core / MCPConfig
Interface: MCPConfig
Defined in: core/src/mcp/types.ts:35
MCP server configuration.
Extends @agentick/mcp's MCPConnectionConfig with the 'websocket' transport alias and a broader transport union. Auth types are inherited — see MCPConnectionConfig.auth for bearer, api_key, oauth, none options.
Extends
Omit<MCPConnectionConfig,"transport">
Properties
auth?
optionalauth: {token:string;type:"bearer"; } | {token:string;type:"api_key"; } | {provider:OAuthProvider;type:"oauth"; } | {type:"none"; } | {[key:string]:any;type:"custom"; }
Defined in: mcp/src/client/types.ts:37
Authentication configuration.
bearer/api_key: static token, no OAuth flowoauth: custom OAuthProvider for full control over persistence and UXnone: explicitly disable auth (no 401 retry)- omitted: HTTP transports get automatic OAuth via DefaultOAuthProvider; stdio/in-process get no auth (trusted transports)
Inherited from
Omit.auth
connection
connection:
object
Defined in: mcp/src/client/types.ts:18
Index Signature
[key: string]: any
args?
optionalargs:string[]
command?
optionalcommand:string
For stdio: command to spawn
transport?
optionaltransport:Transport
For in-process: pre-created transport
url?
optionalurl:string
For SSE/HTTP: server URL
Inherited from
Omit.connection
serverName
serverName:
string
Defined in: mcp/src/client/types.ts:16
Inherited from
Omit.serverName
transport
transport:
MCPTransport
Defined in: core/src/mcp/types.ts:36