Skip to main content
PUT
/
api
/
admin
/
mcpserver
/
{id}
Update MCP server
curl --request PUT \
  --url https://pria.praxislxp.com/api/admin/mcpserver/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "name": "<string>",
  "server_url": "<string>",
  "server_type": "url",
  "institution": "<string>",
  "require_approval": {
    "enabled": true,
    "skip_approval_tools": [
      "<string>"
    ]
  },
  "authorization_header": "<string>",
  "tool_configuration": {
    "enabled": true,
    "allowed_tools": [
      "<string>"
    ]
  },
  "description": "<string>",
  "status": "active"
}
'
{
  "success": true,
  "message": "User institution deleted successfully"
}

Documentation Index

Fetch the complete documentation index at: https://docs.praxis-ai.com/llms.txt

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

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Path Parameters

id
string
required

MCP Server ID

Body

application/json
name
string
required

Server name (unique per institution).

server_url
string
required

MCP server URL endpoint.

server_type
string
default:url
institution
string

Institution ObjectId.

require_approval
object
authorization_header
string
tool_configuration
object
description
string
status
enum<string>
default:active
Available options:
active,
inactive,
deleted

Response

MCP server updated successfully

success
boolean
Example:

true

message
string

Success message

Example:

"User institution deleted successfully"