Update MCP server
/integrated-account/{integrated_account_id}/mcp/{id}
Path Parameters
The ID of the integrated account.
1ba1f401-7183-47c5-9e39-e8e257e3c795The ID of the MCP server to update.
2ba1f401-7183-47c5-9e39-e8e257e3c796Request Body
Updated configuration settings for the MCP server
The methods allowed for this server.
["GET","POST","READ","DOWNLAOD"]The tags associated with this server.
["api","webhook","custom"]The new name for the MCP server.
Updated MCP serverResponse Body
Updated configuration settings for the MCP server
Updated list of HTTP methods allowed for this server
Updated List of tags associated with this server
Timestamp when the MCP server was created
Unique identifier for the MCP server
Updated name of the MCP server
Timestamp when the MCP server was last updated
curl -X PATCH 'https://api.truto.one/integrated-account/{integrated_account_id}/mcp/{id}' \
-H 'Authorization: Bearer <your_api_token>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Updated MCP server",
"config": {}
}'const body = {
"name": "Updated MCP server",
"config": {}
};
const response = await fetch('https://api.truto.one/integrated-account/{integrated_account_id}/mcp/{id}', {
method: 'PATCH',
headers: {
'Authorization': 'Bearer <your_api_token>',
'Content-Type': 'application/json',
},
body: JSON.stringify(body),
});
const data = await response.json();
console.log(data);import requests
url = "https://api.truto.one/integrated-account/{integrated_account_id}/mcp/{id}"
headers = {
"Authorization": "Bearer <your_api_token>",
"Content-Type": "application/json",
}
params = {
}
payload = {
"name": "Updated MCP server",
"config": {}
}
response = requests.patch(url, headers=headers, params=params, json=payload)
print(response.json())