mcp-integrations

Update Mcp Integration

Update an MCP integration.

put/workspaces/{workspace_id}/mcp-integrations/{mcp_integration_id}

Request

  • Base URL
    https://platform.tracecat.com/api
  • Auth
    • API key in cookie fastapiusersauth
    • or HTTP bearer

Path parameters

mcp_integration_idstring uuid required
workspace_idstring uuid required

Request body

namestring nullable
descriptionstring nullable
server_type'http' | 'stdio'
server_uristring nullable
auth_type'OAUTH2' | 'CUSTOM' | 'NONE'

Authentication type for MCP integrations.

oauth_integration_idstring uuid nullable
tunnel_idstring uuid nullable

Workspace tunnel for this HTTP server. Send null to stop using one.

custom_credentialsstring password nullable

Custom credentials as JSON headers. Required for custom auth type; optional additional headers for OAuth2 auth type.

stdio_commandstring nullable

Stdio command to run for stdio-type servers (e.g., 'npx')

stdio_argsstring[] nullable

Arguments for the stdio command

stdio_envobject nullable

Environment variables for stdio-type servers

timeoutinteger nullable

Timeout in seconds

Response

Successful Response

idstring uuid4 required
workspace_idstring uuid required
namestring required
descriptionstring nullable required
slugstring required
server_type'http' | 'stdio' required
server_uristring nullable required
auth_type'OAUTH2' | 'CUSTOM' | 'NONE' required

Authentication type for MCP integrations.

oauth_integration_idstring uuid4 nullable required
tunnel_idstring uuid4 nullable
state'not_configured' | 'configured' | 'connected' | 'reauth_required' | 'error' required
stdio_commandstring nullable required
stdio_argsstring[] nullable required
has_stdio_envboolean
timeoutinteger nullable required
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.