Skip to main content
PATCH
Turn one MCP tool on or off

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Any unique string (e.g. a UUID). Retrying with the same key within 24 hours replays the first response instead of repeating the change.

Path Parameters

serverId
string
required
toolId
string
required

Body

application/json
isEnabled
boolean
required

Response

id
string
required
name
string
required
url
string
required
authType
enum<string>
required
Available options:
NONE,
BEARER,
HEADER,
OAUTH
hasAuth
boolean
required

Credentials are stored (never returned).

status
enum<string>
required
Available options:
PENDING,
PENDING_AUTH,
CONNECTED,
ERROR
statusError
string | null
required
isEnabled
boolean
required
lastSyncedAt
string<date-time> | null
required
tools
object[]
required
authorizationUrl
string

For OAUTH servers: open in a browser to authorize.