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

Patch Agent Mcp Connection

Partial-update one external MCP connection by name.

name is URL-encoded by the FE so quirks like spaces survive. Switching authMode mid-patch swaps the discriminated-union variant; the merged row re-validates fully so the FE can’t end up with an “unknown” auth mode mid-flight.

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 'Content-Type: application/json' \
  -d '{}'
Response
{}