Update MCP server
Update a registered MCP server.
- rotate endpoint URL (
base_url) - change display name
- set or clear server-level authorization (
authorizationorauthorization_secret_id)
authorization and authorization_secret_id are sent, authorization takes precedence.
Ownership note:
authorizationcreates or rotates a Datagrid-managed secret for this MCP server.authorization_secret_idswitches the server to an existing caller-managed secret reference.- Clearing auth removes the MCP server’s reference. Datagrid only auto-deletes secrets that it created from
authorization.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the MCP server.
Body
255The HTTPS URL of the MCP server.
http 64102432Secret ID containing the full Authorization header value to use when calling this MCP server. Set to null to clear.
Raw Authorization header value (for example, 'Bearer '). Datagrid stores it as a secret and links it to this server. Set to null to clear. If both authorization and authorization_secret_id are provided, authorization takes precedence.
64000Response
Updated MCP server
mcp_server Secret ID containing the full Authorization header value used for this registered MCP server.
Safe subset of server metadata exposed to API consumers.