Update Mcp Server
This method allows you to update a previously created MCP server configuration using its ID.
It is sufficient to provide the fields that should be changed. To reset/remove a
property from the MCP server, use the null value.
Updating tool filter criteria for an MCP server may result in unlinking related tools from one or more Knowledge Bases.
mcp_server_id
{
"name": "string",
"description": "string",
"documentation_url": "string",
"headers": [
{
"name": "string",
"value": "string",
"is_secret": false
}
],
"url": "string",
"transport": "string"
}
Name of the MCP server.
Description of the MCP server.
The location of the MCP server's API documentation.
A list of HTTP headers for the MCP server.
Base URL to access the MCP server.
Transport protocol to use to communicate with the MCP server.
Successful Response
{
"name": "string",
"description": "string",
"documentation_url": "string",
"url": "string",
"transport": "string",
"id": "string",
"object": "string",
"created_at": 0,
"availability": "string",
"last_available_at": 0,
"last_updated_at": 0
}
Name of the MCP server.
Description of the MCP server.
The location of the MCP server's API documentation.
Base URL to access the MCP server.
MCP server communication transport protocol
id
Object type, which is always mcp_server.
Unix timestamp (in seconds) when the MCP server entry was created.
Availability status of an MCP server.
Unix timestamp (in seconds) when the MCP server was reachable.
Unix timestamp (in seconds) when the MCP server entry was last updated.
Invalid MCP server ID.
Validation Error
{
"detail": [
{
"loc": [
{}
],
"msg": "string",
"type": "string"
}
]
}
detail
curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}'