You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/openapi-v2-resources.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -275,7 +275,7 @@
275
275
"patch": {
276
276
"operationId": "updateMcpServer",
277
277
"summary": "Update MCP Server",
278
-
"description": "Update an MCP server's configuration. Only the fields you send are changed. Requires `write` permission on the workspace.\n\nChanging `url`, the auth type, or the OAuth client credentials invalidates any existing OAuth grant for the server and resets its connection state.",
278
+
"description": "Update an MCP server's configuration. Only the fields you send are changed. Requires `write` permission on the workspace.\n\n`url` is immutable: a server's id is derived from its URL, so re-pointing it would leave the id hashing an address the server no longer uses and allow two servers on one URL. Sending a different `url` returns `400` — delete the server and create one at the new address. Sending the URL it already has is accepted, so a full-object PATCH still works.\n\nChanging the auth type or the OAuth client credentials invalidates any existing OAuth grant for the server and resets its connection state.",
279
279
"tags": ["MCP Servers"],
280
280
"x-codeSamples": [
281
281
{
@@ -2173,7 +2173,7 @@
2173
2173
"type": "string",
2174
2174
"minLength": 1,
2175
2175
"maxLength": 2048,
2176
-
"description": "Absolute http or https endpoint URL. May not contain `{{ENV_VAR}}` references."
2176
+
"description": "Immutable. Must equal the server's current URL — a different value returns `400`, because the server's id is derived from its URL."
0 commit comments