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 URLhttps://api.replicas.dev
- URLhttps://api.replicas.dev/v1/environments/{environment_id}/mcps
- AuthHTTP 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
Response
MCP created
Changes
No recorded changes to this operation across all 1 revision of this API.