> ## Documentation Index
> Fetch the complete documentation index at: https://cognitio-agent.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# McpRemoteConfig

> Exact type definition referenced by the public SDK.

This definition is generated from the same source as the SDK. Protocol types describe the runtime HTTP API; prefer the high-level SDK for session ownership and callbacks.

```ts theme={null}
export type McpRemoteConfig = {
  /**
   * Type of MCP server connection
   */
  type: "remote"
  /**
   * URL of the remote MCP server
   */
  url: string
  /**
   * Explicit transport; omitted tries HTTP then SSE
   */
  transport?: "http" | "sse"
  /**
   * Enable or disable the MCP server on startup
   */
  enabled?: boolean
  /**
   * Headers to send with the request
   */
  headers?: {
    [key: string]: string
  }
  /**
   * OAuth authentication configuration for the MCP server. Set to false to disable OAuth auto-detection.
   */
  oauth?: McpOAuthConfig | false
  /**
   * Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified.
   */
  timeout?: number
}
```

Related types: [McpOAuthConfig](https://cognitio-agent.mintlify.site/api-reference/protocol/McpOAuthConfig.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.