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

McpServer

import type { McpServer } from "https://googleapis.deno.dev/v1/agentregistry:v1alpha.ts";

Represents an MCP (Model Context Protocol) Server.

interface McpServer {
readonly attributes?: {
[key: string]: {
[key: string]: any;
}
;
}
;
readonly createTime?: Date;
readonly description?: string;
readonly displayName?: string;
readonly interfaces?: Interface[];
readonly mcpServerId?: string;
name?: string;
readonly tools?: Tool[];
readonly updateTime?: Date;
}

§Properties

§
readonly attributes?: {
[key: string]: {
[key: string]: any;
}
;
}
[src]

Output only. Attributes of the MCP Server. Valid values: * agentregistry.googleapis.com/system/RuntimeIdentity: {"principal": "principal://..."} - the runtime identity associated with the MCP Server. * agentregistry.googleapis.com/system/RuntimeReference: {"uri": "//..."} - the URI of the underlying resource hosting the MCP Server, for example, the GKE Deployment.

§
readonly createTime?: Date
[src]

Output only. Create time.

§
readonly description?: string
[src]

Output only. The description of the MCP Server.

§
readonly displayName?: string
[src]

Output only. The display name of the MCP Server.

§
readonly interfaces?: Interface[]
[src]

Output only. The connection details for the MCP Server.

§
readonly mcpServerId?: string
[src]

Output only. A stable, globally unique identifier for MCP Servers.

§
name?: string
[src]

Identifier. The resource name of the MCP Server. Format: projects/{project}/locations/{location}/mcpServers/{mcp_server}.

§
readonly tools?: Tool[]
[src]

Output only. Tools provided by the MCP Server.

§
readonly updateTime?: Date
[src]

Output only. Update time.