Skip to main content
PATCH
Update Environment MCP

Authorizations

Authorization
string
header
required

API key authentication. Obtain your API key from the Replicas dashboard under Organization → Settings → API Keys. User-session JWTs are not accepted by /v1/replica endpoints.

Path Parameters

environmentId
string
required

Environment UUID, or the literal string global.

id
string<uuid>
required

MCP UUID

Body

application/json

Request body for updating an MCP. Only provided fields are changed. When transport is changed, config is required and must match the new transport's shape.

name
string
transport
enum<string>
Available options:
stdio,
http,
sse
config
object

MCP transport-specific configuration. Discriminate by the parent transport field.

Response

MCP updated

environment_mcp
object
required

An MCP (Model Context Protocol) server attached to an environment.