Skip to content

agents / Exports / MCPToolConfig

Interface: MCPToolConfig

MCP (Model Context Protocol) configuration

Table of contents

Properties

Properties

endpoint

endpoint: string

MCP server endpoint

Defined in

packages/agents/src/interfaces/tool.ts:143


version

Optional version: string

Protocol version

Defined in

packages/agents/src/interfaces/tool.ts:145


auth

Optional auth: Object

Authentication configuration

Type declaration

NameType
type"bearer" | "apiKey"
tokenstring

Defined in

packages/agents/src/interfaces/tool.ts:147


toolConfig

Optional toolConfig: Record<string, string | number | boolean>

Tool-specific configuration

Defined in

packages/agents/src/interfaces/tool.ts:152


timeout

Optional timeout: number

Timeout in milliseconds

Defined in

packages/agents/src/interfaces/tool.ts:154

Released under the MIT License.