Re-sync an organization MCP server's tool catalog (org admin)
import requests
url = "https://eu.app.clarifeye.ai/api/v1/organizations/{organization_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/organizations/{organization_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/organizations/{organization_id}/mcp-servers/{id}/sync_tools/ \
--header 'Authorization: Bearer <token>'{
"enabled": true,
"all_stores": true,
"store_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"url": "<string>",
"normalized_url": "<string>",
"auth_mode": "oauth",
"version": 123,
"linked_store_count": 123,
"tool_catalog": [
{}
],
"enabled_tools": [
"<string>"
],
"enabled_with_approval_tools": [
"<string>"
],
"oauth_client_id": "<string>",
"last_synced_at": "2023-11-07T05:31:56Z",
"last_sync_error": "<string>"
}Organization items
Re-sync an organization MCP server's tool catalog (org admin)
POST
/
organizations
/
{organization_id}
/
mcp-servers
/
{id}
/
sync_tools
/
Re-sync an organization MCP server's tool catalog (org admin)
import requests
url = "https://eu.app.clarifeye.ai/api/v1/organizations/{organization_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/organizations/{organization_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/organizations/{organization_id}/mcp-servers/{id}/sync_tools/ \
--header 'Authorization: Bearer <token>'{
"enabled": true,
"all_stores": true,
"store_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"url": "<string>",
"normalized_url": "<string>",
"auth_mode": "oauth",
"version": 123,
"linked_store_count": 123,
"tool_catalog": [
{}
],
"enabled_tools": [
"<string>"
],
"enabled_with_approval_tools": [
"<string>"
],
"oauth_client_id": "<string>",
"last_synced_at": "2023-11-07T05:31:56Z",
"last_sync_error": "<string>"
}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
200 - application/json
Updated server