Current user's connection status per enabled server
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/mcp-servers/connection-status/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/mcp-servers/connection-status/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/mcp-servers/connection-status/ \
--header 'Authorization: Bearer <token>'[
{
"server_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"url": "<string>",
"auth_mode": "oauth",
"requires_user_connection": true,
"user_connection_status": "connected"
}
]{
"error": "Authentication credentials were not provided."
}External MCP
Current user's connection status per enabled server
Drives the connect banner and empty-state connector prompt. Separate from the job-execution poll path.
GET
/
projects
/
{project_id}
/
mcp-servers
/
connection-status
/
Current user's connection status per enabled server
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/mcp-servers/connection-status/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/mcp-servers/connection-status/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/mcp-servers/connection-status/ \
--header 'Authorization: Bearer <token>'[
{
"server_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"url": "<string>",
"auth_mode": "oauth",
"requires_user_connection": true,
"user_connection_status": "connected"
}
]{
"error": "Authentication credentials were not provided."
}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..