Skip to main content
PATCH
/
admin
/
api
/
v1
/
mcp-servers
/
{mcp_id}
Patch Mcp Server
curl --request PATCH \
  --url https://api.example.com/admin/api/v1/mcp-servers/{mcp_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "enabled": true,
  "mcpServer": {
    "name": "<string>",
    "transport": "streamable_http",
    "url": "<string>",
    "command": "<string>",
    "args": [
      "<string>"
    ],
    "headers": {},
    "env": {},
    "cwd": "<string>",
    "encoding": "<string>",
    "timeoutSeconds": 123,
    "sseReadTimeoutSeconds": 123,
    "terminateOnClose": true,
    "sessionKwargs": {}
  }
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "slug": "<string>",
    "name": "<string>",
    "enabled": true,
    "mcpServer": {
      "name": "<string>",
      "transport": "streamable_http",
      "url": "<string>",
      "command": "<string>",
      "args": [
        "<string>"
      ],
      "headers": {},
      "env": {},
      "cwd": "<string>",
      "encoding": "<string>",
      "timeoutSeconds": 123,
      "sseReadTimeoutSeconds": 123,
      "terminateOnClose": true,
      "sessionKwargs": {}
    },
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "reload": {
    "message": "<string>",
    "error": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.idun-group.com/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

mcp_id
string<uuid>
required

Body

application/json

Body for PATCH /admin/api/v1/mcp-servers/{id}.

name
string | null
enabled
boolean | null
mcpServer
MCPServer · object

Configuration for a single MCP server connection.

Response

Successful Response

data
StandaloneMCPServerRead · object
required

GET response and the data payload of POST/PATCH/DELETE responses.

reload
StandaloneReloadResult · object
required

Reload outcome attached to every admin mutation response.

reloaded means DB committed and runtime now uses the new config. restart_required means DB committed and process restart is needed. reload_failed means DB rolled back and runtime is unchanged.

Last modified on May 22, 2026