public sealed class McpServer : IMessage<McpServer>, IEquatable<McpServer>, IDeepCloneable<McpServer>, IBufferMessage, IMessageReference documentation and code samples for the Agent Registry v1 API class McpServer.
Represents an MCP (Model Context Protocol) Server.
Implements
IMessageMcpServer, IEquatableMcpServer, IDeepCloneableMcpServer, IBufferMessage, IMessageNamespace
Google.Cloud.AgentRegistry.V1Assembly
Google.Cloud.AgentRegistry.V1.dll
Constructors
McpServer()
public McpServer()McpServer(McpServer)
public McpServer(McpServer other)| Parameter | |
|---|---|
| Name | Description |
other |
McpServer |
Properties
Attributes
public MapField<string, Struct> Attributes { get; }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.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringStruct |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. Create time.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Description
public string Description { get; set; }Output only. The description of the MCP Server.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DisplayName
public string DisplayName { get; set; }Output only. The display name of the MCP Server.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Interfaces
public RepeatedField<Interface> Interfaces { get; }Output only. The connection details for the MCP Server.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldInterface |
|
McpServerId
public string McpServerId { get; set; }Output only. A stable, globally unique identifier for MCP Servers.
| 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}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Tools
public RepeatedField<McpServer.Types.Tool> Tools { get; }Output only. Tools provided by the MCP Server.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldMcpServerTypesTool |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. Update time.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|