Storyden
Robots

Update Robot MCP server

Update an external MCP server configuration. Bearer tokens are write-only and are redacted from responses.

PATCH
/robots/mcp-servers/{mcp_server_id}

Update an external MCP server configuration. Bearer tokens are write-only and are redacted from responses.

Authorization

cookiestoryden-session<token>

Path Parameters

mcp_server_id*string

Robot MCP server ID

Formatxid

Request Body

application/json
  1. body
name?string
description?string
endpoint_url?string
Formaturi
enabled?boolean
bearer_token?string

Write-only Bearer token. Omit to preserve the current token.

clear_bearer_token?boolean

Remove the stored Bearer token.

Response Body

Robot MCP server updated.

application/json
  1. response
id*Identifier

A unique identifier for this resource.

Formatxid
createdAt*string

The time the resource was created.

Formatdate-time
updatedAt*string

The time the resource was updated.

Formatdate-time
deletedAt?string

The time the resource was soft-deleted.

Formatdate-time
misc?

Arbitrary extra data stored with the resource.

name*string
slug*string

Immutable namespace used in MCP tool IDs.

description*string
endpoint_url*string
Formaturi
oauth_remote_connection_id?Identifier

A unique identifier for this resource.

Formatxid
enabled*boolean
toolset_id*string

Stable read-only Toolset ID that assigns all enabled tools from this MCP server to a Robot.

has_bearer_token*boolean

Whether this server has a stored Bearer token. The token value is never returned.

has_oauth_token*boolean

Whether this server is linked to a remote OAuth connection with a stored access token.

last_refreshed_at?string
Formatdate-time
last_error?string
tools*array<>
Example Request
curl -X PATCH 'https://example.com/api/robots/mcp-servers/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "deletedAt": "2019-08-24T14:15:22Z",  "misc": {},  "name": "string",  "slug": "string",  "description": "string",  "endpoint_url": "http://example.com",  "oauth_remote_connection_id": "string",  "enabled": true,  "toolset_id": "string",  "has_bearer_token": true,  "has_oauth_token": true,  "last_refreshed_at": "2019-08-24T14:15:22Z",  "last_error": "string",  "tools": [    {      "id": "string",      "remote_name": "string",      "callable_name": "string",      "title": "string",      "description": "string",      "enabled": true,      "available": true,      "last_seen_at": "2019-08-24T14:15:22Z"    }  ]}