Debian Codegraph @

docs/dyn/agentregistry_v1alpha.projects.locations.mcpServers.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="agentregistry_v1alpha.html">Agent Registry API</a> . <a href="agentregistry_v1alpha.projects.html">projects</a> . <a href="agentregistry_v1alpha.projects.locations.html">locations</a> . <a href="agentregistry_v1alpha.projects.locations.mcpServers.html">mcpServers</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
82 <p class="firstline">Gets details of a single McpServer.</p>
83 <p class="toc_element">
84 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Lists McpServers in a given project and location.</p>
86 <p class="toc_element">
87 <code><a href="#list_next">list_next()</a></code></p>
88 <p class="firstline">Retrieves the next page of results.</p>
89 <p class="toc_element">
90 <code><a href="#search">search(parent, body=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Searches McpServers in a given project and location.</p>
92 <p class="toc_element">
93 <code><a href="#search_next">search_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="get">get(name, x__xgafv=None)</code>
103 <pre>Gets details of a single McpServer.
104
105 Args:
106 name: string, Required. Name of the resource (required)
107 x__xgafv: string, V1 error format.
108 Allowed values
109 1 - v1 error format
110 2 - v2 error format
111
112 Returns:
113 An object of the form:
114
115 { # Represents an MCP (Model Context Protocol) Server.
116 &quot;attributes&quot;: { # Output only. Attributes of the MCP Server. Valid values: * `agentregistry.googleapis.com/system/RuntimeIdentity`: {&quot;principal&quot;: &quot;principal://...&quot;} - the runtime identity associated with the MCP Server. * `agentregistry.googleapis.com/system/RuntimeReference`: {&quot;uri&quot;: &quot;//...&quot;} - the URI of the underlying resource hosting the MCP Server, for example, the GKE Deployment.
117 &quot;a_key&quot;: {
118 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
119 },
120 },
121 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time.
122 &quot;description&quot;: &quot;A String&quot;, # Output only. The description of the MCP Server.
123 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the MCP Server.
124 &quot;interfaces&quot;: [ # Output only. The connection details for the MCP Server.
125 { # Represents the connection details for an Agent or MCP Server.
126 &quot;protocolBinding&quot;: &quot;A String&quot;, # Required. The protocol binding of the interface.
127 &quot;url&quot;: &quot;A String&quot;, # Required. The destination URL.
128 },
129 ],
130 &quot;mcpServerId&quot;: &quot;A String&quot;, # Output only. A stable, globally unique identifier for MCP Servers.
131 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the MCP Server. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}`.
132 &quot;tools&quot;: [ # Output only. Tools provided by the MCP Server.
133 { # Represents a single tool provided by an MCP Server.
134 &quot;annotations&quot;: { # Annotations describing the characteristics and behavior of a tool or operation. # Output only. Annotations associated with the tool.
135 &quot;destructiveHint&quot;: True or False, # Output only. If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates. NOTE: This property is meaningful only when `read_only_hint == false` Default: true
136 &quot;idempotentHint&quot;: True or False, # Output only. If true, calling the tool repeatedly with the same arguments will have no additional effect on its environment. NOTE: This property is meaningful only when `read_only_hint == false` Default: false
137 &quot;openWorldHint&quot;: True or False, # Output only. If true, this tool may interact with an &quot;open world&quot; of external entities. If false, the tool&#x27;s domain of interaction is closed. For example, the world of a web search tool is open, whereas that of a memory tool is not. Default: true
138 &quot;readOnlyHint&quot;: True or False, # Output only. If true, the tool does not modify its environment. Default: false
139 &quot;title&quot;: &quot;A String&quot;, # Output only. A human-readable title for the tool.
140 },
141 &quot;description&quot;: &quot;A String&quot;, # Output only. Description of what the tool does.
142 &quot;name&quot;: &quot;A String&quot;, # Output only. Human-readable name of the tool.
143 },
144 ],
145 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time.
146 }</pre>
147 </div>
148
149 <div class="method">
150 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
151 <pre>Lists McpServers in a given project and location.
152
153 Args:
154 parent: string, Required. Parent value for ListMcpServersRequest. Format: `projects/{project}/locations/{location}`. (required)
155 filter: string, Optional. Filtering results
156 orderBy: string, Optional. Hint for how to order the results
157 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
158 pageToken: string, Optional. A token identifying a page of results the server should return.
159 x__xgafv: string, V1 error format.
160 Allowed values
161 1 - v1 error format
162 2 - v2 error format
163
164 Returns:
165 An object of the form:
166
167 { # Message for response to listing McpServers
168 &quot;mcpServers&quot;: [ # The list of McpServers.
169 { # Represents an MCP (Model Context Protocol) Server.
170 &quot;attributes&quot;: { # Output only. Attributes of the MCP Server. Valid values: * `agentregistry.googleapis.com/system/RuntimeIdentity`: {&quot;principal&quot;: &quot;principal://...&quot;} - the runtime identity associated with the MCP Server. * `agentregistry.googleapis.com/system/RuntimeReference`: {&quot;uri&quot;: &quot;//...&quot;} - the URI of the underlying resource hosting the MCP Server, for example, the GKE Deployment.
171 &quot;a_key&quot;: {
172 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
173 },
174 },
175 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time.
176 &quot;description&quot;: &quot;A String&quot;, # Output only. The description of the MCP Server.
177 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the MCP Server.
178 &quot;interfaces&quot;: [ # Output only. The connection details for the MCP Server.
179 { # Represents the connection details for an Agent or MCP Server.
180 &quot;protocolBinding&quot;: &quot;A String&quot;, # Required. The protocol binding of the interface.
181 &quot;url&quot;: &quot;A String&quot;, # Required. The destination URL.
182 },
183 ],
184 &quot;mcpServerId&quot;: &quot;A String&quot;, # Output only. A stable, globally unique identifier for MCP Servers.
185 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the MCP Server. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}`.
186 &quot;tools&quot;: [ # Output only. Tools provided by the MCP Server.
187 { # Represents a single tool provided by an MCP Server.
188 &quot;annotations&quot;: { # Annotations describing the characteristics and behavior of a tool or operation. # Output only. Annotations associated with the tool.
189 &quot;destructiveHint&quot;: True or False, # Output only. If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates. NOTE: This property is meaningful only when `read_only_hint == false` Default: true
190 &quot;idempotentHint&quot;: True or False, # Output only. If true, calling the tool repeatedly with the same arguments will have no additional effect on its environment. NOTE: This property is meaningful only when `read_only_hint == false` Default: false
191 &quot;openWorldHint&quot;: True or False, # Output only. If true, this tool may interact with an &quot;open world&quot; of external entities. If false, the tool&#x27;s domain of interaction is closed. For example, the world of a web search tool is open, whereas that of a memory tool is not. Default: true
192 &quot;readOnlyHint&quot;: True or False, # Output only. If true, the tool does not modify its environment. Default: false
193 &quot;title&quot;: &quot;A String&quot;, # Output only. A human-readable title for the tool.
194 },
195 &quot;description&quot;: &quot;A String&quot;, # Output only. Description of what the tool does.
196 &quot;name&quot;: &quot;A String&quot;, # Output only. Human-readable name of the tool.
197 },
198 ],
199 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time.
200 },
201 ],
202 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
203 }</pre>
204 </div>
205
206 <div class="method">
207 <code class="details" id="list_next">list_next()</code>
208 <pre>Retrieves the next page of results.
209
210 Args:
211 previous_request: The request for the previous page. (required)
212 previous_response: The response from the request for the previous page. (required)
213
214 Returns:
215 A request object that you can call &#x27;execute()&#x27; on to request the next
216 page. Returns None if there are no more items in the collection.
217 </pre>
218 </div>
219
220 <div class="method">
221 <code class="details" id="search">search(parent, body=None, x__xgafv=None)</code>
222 <pre>Searches McpServers in a given project and location.
223
224 Args:
225 parent: string, Required. Parent value for SearchMcpServersRequest. Format: `projects/{project}/locations/{location}`. (required)
226 body: object, The request body.
227 The object takes the form of:
228
229 { # Message for searching MCP Servers
230 &quot;pageSize&quot;: 42, # Optional. The maximum number of search results to return per page. The page size is capped at `100`, even if a larger value is specified. A negative value will result in an `INVALID_ARGUMENT` error. If unspecified or set to `0`, a default value of `20` will be used. The server may return fewer results than requested.
231 &quot;pageToken&quot;: &quot;A String&quot;, # Optional. If present, retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of all other method parameters, must be identical to those in the previous call.
232 &quot;searchString&quot;: &quot;A String&quot;, # Optional. Search criteria used to select the MCP Servers to return. If no search criteria is specified then all accessible MCP Servers will be returned. Search expressions can be used to restrict results based upon searchable fields, where the operators can be used along with the suffix wildcard symbol `*`. See [instructions](https://docs.cloud.google.com/agent-registry/search-agents-and-tools) for more details. Allowed operators: `=`, `:`, `NOT`, `AND`, `OR`, and `()`. Searchable fields: | Field | `=` | `:` | `*` | Keyword Search | |--------------------|-----|-----|-----|----------------| | mcpServerId | Yes | Yes | Yes | Included | | name | No | Yes | Yes | Included | | displayName | No | Yes | Yes | Included | Examples: * `mcpServerId=&quot;urn:mcp:projects-123:projects:123:locations:us-central1:agentregistry:services:service-id&quot;` to find the MCP Server with the specified MCP Server ID. * `name:important` to find MCP Servers whose name contains `important` as a word. * `displayName:works*` to find MCP Servers whose display name contains words that start with `works`. * `planner OR booking` to find MCP Servers whose metadata contains the words `planner` or `booking`. * `mcpServerId:service-id AND (displayName:planner OR displayName:booking)` to find MCP Servers whose MCP Server ID contains `service-id` and whose display name contains `planner` or `booking`.
233 }
234
235 x__xgafv: string, V1 error format.
236 Allowed values
237 1 - v1 error format
238 2 - v2 error format
239
240 Returns:
241 An object of the form:
242
243 { # Message for response to searching MCP Servers
244 &quot;mcpServers&quot;: [ # A list of McpServers that match the `search_string`.
245 { # Represents an MCP (Model Context Protocol) Server.
246 &quot;attributes&quot;: { # Output only. Attributes of the MCP Server. Valid values: * `agentregistry.googleapis.com/system/RuntimeIdentity`: {&quot;principal&quot;: &quot;principal://...&quot;} - the runtime identity associated with the MCP Server. * `agentregistry.googleapis.com/system/RuntimeReference`: {&quot;uri&quot;: &quot;//...&quot;} - the URI of the underlying resource hosting the MCP Server, for example, the GKE Deployment.
247 &quot;a_key&quot;: {
248 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
249 },
250 },
251 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time.
252 &quot;description&quot;: &quot;A String&quot;, # Output only. The description of the MCP Server.
253 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the MCP Server.
254 &quot;interfaces&quot;: [ # Output only. The connection details for the MCP Server.
255 { # Represents the connection details for an Agent or MCP Server.
256 &quot;protocolBinding&quot;: &quot;A String&quot;, # Required. The protocol binding of the interface.
257 &quot;url&quot;: &quot;A String&quot;, # Required. The destination URL.
258 },
259 ],
260 &quot;mcpServerId&quot;: &quot;A String&quot;, # Output only. A stable, globally unique identifier for MCP Servers.
261 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the MCP Server. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}`.
262 &quot;tools&quot;: [ # Output only. Tools provided by the MCP Server.
263 { # Represents a single tool provided by an MCP Server.
264 &quot;annotations&quot;: { # Annotations describing the characteristics and behavior of a tool or operation. # Output only. Annotations associated with the tool.
265 &quot;destructiveHint&quot;: True or False, # Output only. If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates. NOTE: This property is meaningful only when `read_only_hint == false` Default: true
266 &quot;idempotentHint&quot;: True or False, # Output only. If true, calling the tool repeatedly with the same arguments will have no additional effect on its environment. NOTE: This property is meaningful only when `read_only_hint == false` Default: false
267 &quot;openWorldHint&quot;: True or False, # Output only. If true, this tool may interact with an &quot;open world&quot; of external entities. If false, the tool&#x27;s domain of interaction is closed. For example, the world of a web search tool is open, whereas that of a memory tool is not. Default: true
268 &quot;readOnlyHint&quot;: True or False, # Output only. If true, the tool does not modify its environment. Default: false
269 &quot;title&quot;: &quot;A String&quot;, # Output only. A human-readable title for the tool.
270 },
271 &quot;description&quot;: &quot;A String&quot;, # Output only. Description of what the tool does.
272 &quot;name&quot;: &quot;A String&quot;, # Output only. Human-readable name of the tool.
273 },
274 ],
275 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time.
276 },
277 ],
278 &quot;nextPageToken&quot;: &quot;A String&quot;, # If there are more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
279 }</pre>
280 </div>
281
282 <div class="method">
283 <code class="details" id="search_next">search_next()</code>
284 <pre>Retrieves the next page of results.
285
286 Args:
287 previous_request: The request for the previous page. (required)
288 previous_response: The response from the request for the previous page. (required)
289
290 Returns:
291 A request object that you can call &#x27;execute()&#x27; on to request the next
292 page. Returns None if there are no more items in the collection.
293 </pre>
294 </div>
295
296 </body></html>