Class McpServer (0.1.0)

McpServer(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents an MCP (Model Context Protocol) Server.

Attributes

Name Description
name str
Identifier. The resource name of the MCP Server. Format: projects/{project}/locations/{location}/mcpServers/{mcp_server}.
mcp_server_id str
Output only. A stable, globally unique identifier for MCP Servers.
display_name str
Output only. The display name of the MCP Server.
description str
Output only. The description of the MCP Server.
interfaces MutableSequence[google.cloud.agentregistry_v1.types.Interface]
Output only. The connection details for the MCP Server.
tools MutableSequence[google.cloud.agentregistry_v1.types.McpServer.Tool]
Output only. Tools provided by the MCP Server.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Create time.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Update time.
attributes MutableMapping[str, google.protobuf.struct_pb2.Struct]
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.

Classes

AttributesEntry

AttributesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

Tool

Tool(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a single tool provided by an MCP Server.