Add an organization MCP server to this store as a linked copy (technical_setup write)
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-mcp-servers/{id}/pull/"
payload = { "replace": True }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({replace: true})
};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-mcp-servers/{id}/pull/', 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}/organization-mcp-servers/{id}/pull/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"replace": true
}
'{
"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"
}{
"code": "<string>",
"detail": "<string>"
}Organization items
Add an organization MCP server to this store as a linked copy (technical_setup write)
id is the organization server. A clash by name or URL returns 409 listing the clashing servers; retry with replace: true to replace them (their store switches carry over).
POST
/
projects
/
{project_id}
/
organization-mcp-servers
/
{id}
/
pull
/
Add an organization MCP server to this store as a linked copy (technical_setup write)
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-mcp-servers/{id}/pull/"
payload = { "replace": True }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({replace: true})
};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-mcp-servers/{id}/pull/', 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}/organization-mcp-servers/{id}/pull/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"replace": true
}
'{
"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"
}{
"code": "<string>",
"detail": "<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
The store's linked copy
A knowledge-store-level external MCP server registration. Secrets are never returned.