Skip to content
Streamkap
Esc
navigateopen⌘Jpreview

Create Agent Mcp Connection

Create one external MCP connection.

Streamkap-source rows are rejected (422): they’re managed via the Project Key agentic toggle, not Settings. Discriminator (authMode)

  • URL SSRF guard run inline before the row is persisted.
POST/agents/connections/mcp
Authorization
AuthorizationBearer token · headerrequired
Request body
requiredapplication/json
object
Responses
201

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 POST "https://api.streamkap.com/agents/connections/mcp" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
Response
{}