Pinter
ENID
MCP Servers
View as Markdown

Update Mcp Server

PUT/api/integrations/mcp-servers/{server_id}

Update MCP server configuration.

Parameters

Path

server_idstringrequired
Unique identifier of the registered Model Context Protocol (MCP) server.

Request body

application/json

namestring | null
descriptionstring | null
transportstring | null
connection_configobject | null
tool_filterobject[] | null
timeoutinteger | null
is_activeboolean | null
categorystring | null
tagsobject[] | null
icon_urlstring | null
is_publicboolean | null
{
  "name": "string",
  "description": "string",
  "transport": "string",
  "connection_config": {},
  "tool_filter": [
    null
  ],
  "timeout": 0,
  "is_active": true,
  "category": "string",
  "tags": [
    null
  ],
  "icon_url": "string",
  "is_public": true
}

Responses

200 Successful Response

400 Bad Request - The request parameters or headers are invalid (e.g. unsupported API-Version).

401 Unauthorized - Missing, invalid, or expired JWT Bearer token.

403 Forbidden - Insufficient role permissions or resource access denied by RBAC policy.

404 Not Found - The requested resource ID was not found.

422 Validation Error

detailobject[]
detail[].locstring | integer[]required
detail[].msgstringrequired
detail[].typestringrequired
detail[].inputobject
detail[].ctxobject
{
  "detail": [
    {
      "loc": [
        null
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}

Example

curl -X PUT "$PINTER_URL/api/integrations/mcp-servers/mcp_pg_analytics_srv" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"string","description":"string","transport":"string","connection_config":{},"tool_filter":[null],"timeout":0,"is_active":true,"category":"string","tags":[null],"icon_url":"string","is_public":true}'