# Class McpServer (0.3.0)

0.3.0 (latest) 0.2.0

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

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` 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 |
| `display_name` | `str` Optional. A human readable name for the MCP server. |
| `description` | `str` Optional. A human-readable description of the MCP Server's functionality. |
| `urls` | `MutableSequence[str]` The base URL of the MCP server. Example: \[geolocation.googleapis.com/mcp\]. |
| `capabilities` | `google.protobuf.struct_pb2.Struct` 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. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-apiregistry/latest/google.cloud.apiregistry_v1beta.types.State` Output only. The state of the MCP Server. |