Cloud API Registry v1 API - Class McpServer (1.0.0-beta01)

public sealed class McpServer : IMessage<McpServer>, IEquatable<McpServer>, IDeepCloneable<McpServer>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud API Registry v1 API class McpServer.

Represents an MCP Server. MCP Servers act as endpoints that expose a collection of tools that can be invoked by agents.

Inheritance

object > McpServer

Namespace

Google.Cloud.ApiRegistry.V1

Assembly

Google.Cloud.ApiRegistry.V1.dll

Constructors

McpServer()

public McpServer()

McpServer(McpServer)

public McpServer(McpServer other)
Parameter
Name Description
other McpServer

Properties

Capabilities

public Struct Capabilities { get; set; }

The capabilities that a server may support. Known capabilities defined in https://modelcontextprotocol.io/specification/2025-06-18/schema#servercapabilities and additional capabilities defined by the servers.

Property Value
Type Description
Struct

Description

public string Description { get; set; }

Optional. A human-readable description of the MCP Server's functionality.

Property Value
Type Description
string

DisplayName

public string DisplayName { get; set; }

Optional. A human readable name for the MCP server.

Property Value
Type Description
string

McpServerName

public McpServerName McpServerName { get; set; }

McpServerName-typed view over the Name resource name property.

Property Value
Type Description
McpServerName

Name

public string Name { get; set; }

Identifier. The resource name of the MCP Server. Format: projects/{project}/locations/{location}/mcpServers/{mcp_server}. Example: projects/12345/locations/us-central1/mcpServers/google:bigquery.googleapis.com:mcp for 1p projects/12345/locations/us-central1/mcpServers/apphub:starbucks for 2p

Property Value
Type Description
string

State

public State State { get; set; }

Output only. The state of the MCP Server.

Property Value
Type Description
State

Urls

public RepeatedField<string> Urls { get; }

The base URL of the MCP server. Example: [geolocation.googleapis.com/mcp].

Property Value
Type Description
RepeatedFieldstring