v1

latestOpenAPI 3.1.02026-07-22100167210.7 KB
Environments

Create Environment MCP

Adds a new MCP server to the environment. name must match ^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$ and cannot start with reserved prefix replicas-. The config shape depends on the transport: stdio uses { command, args, env }; http and sse use { url, headers }.

post/v1/environments/{environmentId}/mcps

Path parameters

environmentIdstring required

Environment UUID, or the literal string global.

Request body

namestring required

1–64 chars, ^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$; reserved prefix replicas- is rejected.

transport'stdio' | 'http' | 'sse' required

Response

MCP created