Re-sync an MCP server's tool catalog (admin)
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/mcp-servers/{id}/sync_tools/"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/mcp-servers/{id}/sync_tools/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/mcp-servers/{id}/sync_tools/ \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"url": "<string>",
"auth_mode": "oauth",
"is_enabled": true,
"enabled_for_chat": true,
"enabled_for_tasks": true,
"enabled_for_work_with_clara": true,
"tool_catalog": [
{}
],
"enabled_tools": [
"<string>"
],
"oauth_client_id": "<string>",
"last_synced_at": "2023-11-07T05:31:56Z",
"last_sync_error": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": "User not found"
}{
"error": "You do not have permission to perform this action."
}External MCP
Re-sync an MCP server's tool catalog (admin)
Re-fetches the server’s tools using the admin’s own credential (OAuth) or the shared API key. Newly discovered tools start disabled; removed tools drop out of the allowlist. Rate limited.
POST
/
projects
/
{project_id}
/
mcp-servers
/
{id}
/
sync_tools
/
Re-sync an MCP server's tool catalog (admin)
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/mcp-servers/{id}/sync_tools/"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/mcp-servers/{id}/sync_tools/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/mcp-servers/{id}/sync_tools/ \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"url": "<string>",
"auth_mode": "oauth",
"is_enabled": true,
"enabled_for_chat": true,
"enabled_for_tasks": true,
"enabled_for_work_with_clara": true,
"tool_catalog": [
{}
],
"enabled_tools": [
"<string>"
],
"oauth_client_id": "<string>",
"last_synced_at": "2023-11-07T05:31:56Z",
"last_sync_error": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": "User not found"
}{
"error": "You do not have permission to perform this action."
}Authorizations
BearerAuthTokenAuth
Use Authorization: Bearer
Response
Updated server with refreshed catalog
A knowledge-store-level external MCP server registration. Secrets are never returned.
Immutable after creation.
Available options:
oauth, api_key, none Available to internal playground chat agents (default true).
Available to CMA Task agents (default true).
Available to Work-with-Clara agents (default true).
Synced tools; each is {name, description, annotations, input_schema}.
Allowlist of tool names exposed to agents (all disabled by default).