Environment MCPs

Create environment MCP

name must match ^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$ and cannot start with relay-, replicas-, or subagents. stdio takes { command, args, env }; http and sse take { url, headers }, or auth for workspace identity.

post/v1/environments/{environment_id}/mcps

Request

  • Base URL
    https://api.replicas.dev
  • URL
    https://api.replicas.dev/v1/environments/{environment_id}/mcps
  • Auth
    HTTP bearer

Path parameters

environment_idstring required

Environment UUID.

Headers

X-Replicas-Api-Version'2026-10-07'

API version. 2026-10-07 returns snake_case responses. See versioning.

Request body

namestring required

1–64 chars, ^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$; reserved prefixes relay-, replicas-, and subagents are rejected.

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

Response

MCP created

Changes

No recorded changes to this operation across all 1 revision of this API.