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>",
"source_org_server": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source_status": {
"status": "linked",
"forked": true,
"source_version": 123,
"org_version": 123,
"org_template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source_exists": true
},
"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>",
"source_org_server": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source_status": {
"status": "linked",
"forked": true,
"source_version": 123,
"org_version": 123,
"org_template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source_exists": true
},
"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 <token>. The token is either a user token / OAuth access
token, or a service-account API key (cfk_...). A key is valid on every endpoint and
acts as its service account, an organization member with per-store permissions.
Refused keys answer 403 with Invalid API key., API key revoked.,
API key expired. or API key disabled..
Response
Updated server with refreshed catalog
A knowledge-store-level external MCP server registration. Secrets are never returned.