К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/mcp-integrations.mdиндекс документации — /llms.txt

MCP: integrations

Обновлено

Определения инструментов. Обновляйте tools/list после изменения прав. required_scopes: ALL.

configure_integration

Configure (upsert) a CRM connector for the tenant. Provide `credentials` — bitrix24 {type,webhookUrl} or getcourse {type,account,apiKey} — plus optional settings, subscribed_events, is_active. Credentials are encrypted at rest and never returned. Idempotent: reconfiguring reactivates a deleted connector. OWNER-ONLY (data-egress).

Scopes (ALL): ["integrations:write"]. Risk: "write".

Вход, результат и права

delete_integration

Soft-delete (disconnect) a CRM connector by `crm_type` (bitrix24 / getcourse). Idempotent — deleting an absent/already-deleted connector returns deleted:true. OWNER-ONLY.

Scopes (ALL): ["integrations:write"]. Risk: "destructive".

Вход, результат и права

list_integrations

List the tenant CRM connectors (bitrix24 / getcourse / amocrm): each with `crmType`, `isActive`, `hasCredentials` (the secret itself is never returned), subscribed events, non-secret settings (pipeline/stage/offer), auto-disable status and push stats. OWNER-ONLY. 0-cost read.

Scopes (ALL): ["integrations:read"]. Risk: "read".

Вход, результат и права