Update MCP server
Update an MCP server’s configuration. Omit a field to leave it unchanged.
Restrictions
Usage
- Masked secret values in
env/headersare preserved — sending the masked value back does not overwrite the stored secret. environment_kind/environment_idare independent partial-update fields: omit both to leave the runner binding unchanged; set either to change it, subject to the samebyoc-or-empty constraint as create.- Changing
team_idrequires reassignment permission on the destination team; if the runner binding is left unchanged, it must still be selectable by the caller under the new team or the update is rejected. - Every call is recorded in the account audit log.
Authorizations
App key issued from the Flashduty console. Required on every public API call. Keep it secret — it grants the same access as the owning account.
Body
Partial update of an MCP server. Omit a field to leave it unchanged.
Target MCP server ID.
New name.
1 - 255New description.
1 - 1024Transport protocol.
stdio, sse, streamable-http Executable command (stdio transport).
Command arguments (stdio transport).
Environment variables (stdio transport).
Server URL (sse / streamable-http transport).
HTTP headers (sse / streamable-http).
Connection timeout in seconds. 0 = default (10s).
Tool-call timeout in seconds. 0 = default (60s).
Authentication mode: shared (default), per_user_secret, or per_user_oauth.
JSON secret schema; required when auth_mode=per_user_secret.
JSON OAuth metadata; reserved for per_user_oauth.
Reassign team scope: 0 = account-wide; >0 = team. Omit to leave unchanged.
Reassign the runner binding: byoc (with environment_id) or empty string to reset to automatic selection. Omit (null) to leave the current binding unchanged.
Runner ID paired with environment_kind=byoc. Omit (null) to leave the current binding unchanged.
Allow OAuth token exchange over plaintext HTTP. Omit to leave unchanged.
Skip TLS certificate verification. Omit to leave unchanged.
Response
Success
Standard response envelope used by every Flashduty public API. On success data contains the endpoint-specific payload and error is absent. On failure error is present and data is absent. request_id is always present and is also mirrored in the Flashcat-Request-Id response header.
Unique ID for this request. Mirrored in the Flashcat-Request-Id header. Include it when reporting issues.
"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
Error payload inside the response envelope. Present only on non-2xx responses.
An MCP server (connector) registered on the account.