Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

McpToolset

import type { McpToolset } from "https://googleapis.deno.dev/v1/ces:v1.ts";

A toolset that contains a list of tools that are offered by the MCP server.

interface McpToolset {
apiAuthentication?: ApiAuthentication;
serverAddress?: string;
serviceDirectoryConfig?: ServiceDirectoryConfig;
tlsConfig?: TlsConfig;
}

§Properties

§
apiAuthentication?: ApiAuthentication
[src]

Optional. Authentication information required to access tools and execute a tool against the MCP server. For bearer token authentication, the token applies only to tool execution, not to listing tools. This requires that tools can be listed without authentication.

§
serverAddress?: string
[src]

Required. The address of the MCP server, for example, "https://example.com/mcp/". If the server is built with the MCP SDK, the url should be suffixed with "/mcp/". Only Streamable HTTP transport based servers are supported. See https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http for more details.

§
serviceDirectoryConfig?: ServiceDirectoryConfig
[src]

Optional. Service Directory configuration for VPC-SC, used to resolve service names within a perimeter.

§
tlsConfig?: TlsConfig
[src]

Optional. The TLS configuration. Includes the custom server certificates that the client should trust.