Skip to main content
PATCH
Python

Authorizations

Authorization
string
header
required

Enter your JWT token

Path Parameters

mcpServerToken
string
required

The token identifying the MCP server to update.

Body

application/json

The fields to update on the MCP server.

Request body for updating an MCP server; null members are left unchanged, and a non-null Connections or Workflows replaces the whole set rather than merging into it.

name
string | null

New display name; null leaves it unchanged.

isActive
boolean | null

New active state; null leaves it unchanged.

connections
object[] | null

Replacement connection set; null leaves it unchanged.

workflows
object[] | null

Replacement workflow set; null leaves it unchanged.

Response

The updated MCP server.

Public-shape DTO for an MCP server — an account-wide endpoint that exposes a chosen set of Engini tools and workflows over the Model Context Protocol.

Not to be confused with the MCPClient connection kind, which is Engini consuming a third-party MCP server. This resource is Engini exposing one.

The internal UI shape is McpServerDTO; that type carries the account token and the raw tool-catalog blob and is deliberately not reused here.

mcpServerToken
string
required

Unique identifier of the MCP server (its token); also the component of the server's SSE URL.

name
string
required

Display name of the MCP server.

isActive
boolean
required

Whether the server is currently serving requests. Unlike a toolset, this is a real on/off toggle rather than a deletion tombstone — a deactivated server still appears in list and get.

isAnonymousAllowed
boolean
required

Whether the server accepts unauthenticated callers. Read-only on this API: it is configured from the engini.io UI and is preserved unchanged by every update here.

connections
object[]
required

Connections exposed by this server and their permitted tools.

workflows
object[]
required

Workflows exposed by this server as MCP tools.

createdDate
string<date-time>
required

When the MCP server was created.

url
string | null

Public SSE endpoint URL of the MCP server.

updatedDate
string<date-time> | null

When the MCP server was last updated; null if never updated.

createdByAccountUserId
integer<int32> | null

Account-user ID that created the MCP server.

updatedByAccountUserId
integer<int32> | null

Account-user ID that last updated the MCP server; null until first updated.