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 prefixes relay- or replicas-. The config shape depends on the transport: stdio uses { command, args, env }; http and sse use { url, headers }.
Documentation Index
Fetch the complete documentation index at: https://docs.replicas.dev/llms.txt
Use this file to discover all available pages before exploring further.
API key authentication. Obtain your API key from the Replicas dashboard under Settings > API Keys.
Environment UUID, or the literal string global.
Request body for creating an MCP. The config shape must match the chosen transport.
1–64 chars, ^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$; reserved prefixes relay- and replicas- are rejected.
stdio, http, sse MCP transport-specific configuration. Discriminate by the parent transport field.
MCP created
An MCP (Model Context Protocol) server attached to an environment.