Reference documentation and code samples for the Agent Registry V1 API class Google::Cloud::AgentRegistry::V1::McpServer.
Represents an MCP (Model Context Protocol) Server.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#attributes
def attributes() -> ::Google::Protobuf::Map{::String => ::Google::Protobuf::Struct}
Returns
-
(::Google::Protobuf::Map{::String => ::Google::Protobuf::Struct}) —
Output only. Attributes of the MCP Server. Valid values:
agentregistry.googleapis.com/system/RuntimeIdentity: "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.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Create time.
#description
def description() -> ::String
Returns
- (::String) — Output only. The description of the MCP Server.
#display_name
def display_name() -> ::String
Returns
- (::String) — Output only. The display name of the MCP Server.
#interfaces
def interfaces() -> ::Array<::Google::Cloud::AgentRegistry::V1::Interface>
Returns
- (::Array<::Google::Cloud::AgentRegistry::V1::Interface>) — Output only. The connection details for the MCP Server.
#mcp_server_id
def mcp_server_id() -> ::String
Returns
- (::String) — Output only. A stable, globally unique identifier for MCP Servers.
#name
def name() -> ::String
Returns
-
(::String) — Identifier. The resource name of the MCP Server.
Format:
projects/{project}/locations/{location}/mcpServers/{mcp_server}.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Identifier. The resource name of the MCP Server.
Format:
projects/{project}/locations/{location}/mcpServers/{mcp_server}.
Returns
-
(::String) — Identifier. The resource name of the MCP Server.
Format:
projects/{project}/locations/{location}/mcpServers/{mcp_server}.
#tools
def tools() -> ::Array<::Google::Cloud::AgentRegistry::V1::McpServer::Tool>
Returns
- (::Array<::Google::Cloud::AgentRegistry::V1::McpServer::Tool>) — Output only. Tools provided by the MCP Server.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Update time.