NAME

Google::Cloud::Agentregistry::V1::McpServer - Compiled Protocol Buffers messages for google/cloud/agentregistry/v1/mcp_server.proto

SYNOPSIS

use Google::Cloud::Agentregistry::V1::McpServer;

my $msg = Google::Cloud::Agentregistry::V1::McpServer::McpServer->new({
    name => $name,
    mcp_server_id => $mcp_server_id,
    display_name => $display_name,
    description => $description,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Agentregistry::V1::McpServer::McpServer->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/agentregistry/v1/mcp_server.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Agentregistry::V1::McpServer::McpServer

Represents an MCP (Model Context Protocol) Server.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

  • $msg->mcp_server_id() / $msg->mcp_server_id($value)

    Type: String

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

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Output only. The display name of the MCP Server.

  • $msg->description() / $msg->description($value)

    Type: String

    Output only. The description of the MCP Server.

  • $msg->interfaces() / $msg->interfaces($value)

    Type: Message (Google::Cloud::Agentregistry::V1::Properties::Interface)

    Output only. The connection details for the MCP Server.

  • $msg->tools() / $msg->tools($value)

    Type: Message (Google::Cloud::Agentregistry::V1::McpServer::McpServer::Tool)

    Output only. Tools provided by the MCP Server.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Create time.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Update time.

  • $msg->attributes() / $msg->attributes($value)

    Type: Message (Google::Cloud::Agentregistry::V1::McpServer::McpServer::AttributesEntry)

    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.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Agentregistry::V1::McpServer::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.