Skip to content
Streamkap
Esc
↑↓navigate↵open⌘Jpreview

Patch Agent Mcp Connection

Partial-update one external MCP connection by name.

URL-encode name in the path so characters such as spaces survive. Changing authMode in a patch switches the connection to that auth variant; the merged connection is re-validated in full, so a patch can never leave it with an unknown or incomplete auth mode.

PATCH/agents/connections/mcp/{name}
Authorization
AuthorizationBearer token · headerrequired
Path parameters
namestringrequired
Request body
requiredapplication/json
object
Responses
200

Successful Response

object
422

Validation Error

detailValidationError[]
Show properties
Array of ValidationError
locstring | integer[]required
Show properties
Array of string | integer
Any of:
string
string
integer
integer
msgstringrequired
typestringrequired
inputany
ctxobject
Request
curl -X PATCH 'https://api.streamkap.com/agents/connections/mcp/string' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{}'
Response
{}