GC Command Center — API
Это адрес программного интерфейса платформы. Для людей — страница ниже; для ИИ-агентов — /llms.txt и /.well-known/mcp.json.
Подключить ИИ (MCP)
Сервер MCP: https://api.metaforge.godchain.dev/api/v1/mcp — транспорт Streamable HTTP, ключ в заголовке Authorization: Bearer <токен>.
Ключ: в GC Command Center — Настройки → Личный ИИ → MCP-доступ → Создать токен. Один ключ подходит для Claude Code, ChatGPT (Codex) и любого клиента с поддержкой MCP. ИИ действует с правами владельца ключа.
Claude Code
claude mcp add --transport http gc-command https://api.metaforge.godchain.dev/api/v1/mcp --header "Authorization: Bearer <токен>"
ChatGPT (Codex) — ключ в переменной окружения, затем сервер:
setx GC_COMMAND_TOKEN "<токен>" (Windows; macOS/Linux: export GC_COMMAND_TOKEN="<токен>") codex mcp add gc-command --url https://api.metaforge.godchain.dev/api/v1/mcp --bearer-token-env-var GC_COMMAND_TOKEN
Любой клиент MCP (JSON-настройка):
{"mcpServers": {"gc-command": {"type": "http", "url": "https://api.metaforge.godchain.dev/api/v1/mcp", "headers": {"Authorization": "Bearer <токен>"}}}}
«Мозг» компании на вашем ИИ
Программа gc-agent на вашем компьютере выполняет ИИ-функции GC через ваш Claude Code или ChatGPT (Codex) — по вашей подписке; какой установлен, найдёт сама. Код сопряжения — в Настройки → Личный ИИ → Подключить; подставьте его вместо GC-XXXX-XXXX.
Windows (PowerShell) — скачать, сопрячь:
$d="$env:LOCALAPPDATA\gc-agent"; New-Item -ItemType Directory -Force $d | Out-Null; $a = if ($env:PROCESSOR_ARCHITECTURE -eq 'ARM64') {'arm64'} else {'amd64'}; Invoke-WebRequest "https://api.metaforge.godchain.dev/downloads/gc-agent/windows-$a" -OutFile "$d\gc-agent.exe"; & "$d\gc-agent.exe" pair GC-XXXX-XXXX --server https://api.metaforge.godchain.dev --brain
и запустить (оставьте окно открытым):
& "$env:LOCALAPPDATA\gc-agent\gc-agent.exe" run
macOS / Linux — скачать, сопрячь:
mkdir -p ~/.local/bin && curl -fsSL "https://api.metaforge.godchain.dev/downloads/gc-agent/$(uname -s | tr A-Z a-z)-$(uname -m | sed -e s/x86_64/amd64/ -e s/aarch64/arm64/)" -o ~/.local/bin/gc-agent && chmod +x ~/.local/bin/gc-agent && ~/.local/bin/gc-agent pair GC-XXXX-XXXX --server https://api.metaforge.godchain.dev --brain
и запустить:
~/.local/bin/gc-agent run
Сменить ИИ без нового сопряжения: gc-agent engine codex или gc-agent engine claude. Все сборки и контрольные суммы: /downloads/gc-agent/.
REST API
Базовый адрес: https://api.metaforge.godchain.dev/api/v1. JSON, UTF-8. Вход — POST /api/v1/auth/login (email, пароль) → токен доступа в заголовке Authorization: Bearer …, продление — POST /api/v1/auth/refresh. Права и видимость — как у человека в интерфейсе: роль, модули, тенант компании.
Проверка доступности: GET /api/v1/health.
Разделы, к которым обращается ИИ-ассистент платформы (полный интерфейс шире):
| Раздел | Путь | Что внутри |
|---|---|---|
| Задачи | /api/v1/tasks | tasks, comments, checklists, time, dependencies, attachments |
| Спринты | /api/v1/task-cycles | task cycles / sprints and burndown |
| Эпики | /api/v1/task-modules | task modules / epics |
| Колонки доски | /api/v1/board-columns | kanban board columns |
| Метки задач | /api/v1/task-tags | task tags |
| Проекты | /api/v1/projects | projects, members, status |
| Программы | /api/v1/programs | portfolio programs grouping projects |
| Клиенты | /api/v1/clients | CRM clients (companies and people) |
| Сделки | /api/v1/crm/opportunities | CRM deals / opportunities and the pipeline |
| Автодействия стадий | /api/v1/crm/stage-actions | rules run when a deal enters a stage: a task, or a letter proposed for confirmation (#666) |
| amoCRM (чтение) | /api/v1/amocrm | the connected amoCRM (leads, pipelines) — read only |
| Bitrix24 (чтение) | /api/v1/bitrix24 | the connected Bitrix24 (deals) — read only |
| МойСклад (чтение) | /api/v1/moysklad | the connected МойСклад (counterparties, customer orders, shipments, products, stock) — read only |
| 1С (чтение) | /api/v1/onec | the connected 1C (counterparties, documents) — read only |
| ЮKassa (чтение) | /api/v1/yookassa | payments received through YooKassa — read only |
| Финансы | /api/v1/finance | budgets and finance registers |
| Закупки | /api/v1/procurement | suppliers and purchase orders |
| Логистика | /api/v1/logistics | delivery notes, delivery trips, warehouses |
| Производство | /api/v1/operations | work orders, workstations, quality inspections |
| Производство под заказ | /api/v1/production | production orders with the size × height matrix, cutting, handovers to executors, returns, shipping; models, executors |
| Тендеры | /api/v1/tenders | tenders: the card with the checklist of eight parameters, stages, the decision to take part, a deal from a won tender |
| Образцы | /api/v1/samples | samples for the customer to try: the card, the handover, the feedback, the decision (approved / rework / rejected), links to a deal, a client and a model |
| КП из сделки | /api/v1/deal-quotes | commercial offers made from a deal: a draft from the deal, saved versions (a revision is a new version); the printed form is HTML in the browser |
| Право | /api/v1/legal | contracts, templates, clauses, cases, compliance, powers of attorney |
| Найм | /api/v1/hiring | job openings, applicants, interviews |
| hh.ru (чтение) | /api/v1/hhru | the hh.ru board — read only |
| Онбординг | /api/v1/onboarding-routes | onboarding templates and routes of new employees |
| Отпуска | /api/v1/leave | leave requests, balances, attendance |
| Оргструктура | /api/v1/org | departments and the reporting matrix |
| Люди (чтение) | /api/v1/users | people of the company and their profiles — read only |
| Роли (чтение) | /api/v1/roles | roles and what they allow — read only |
| Оценка | /api/v1/reviews | performance review cycles and records |
| Обучение | /api/v1/learning | learning programs and assignments |
| Карьера | /api/v1/career | career tracks and states |
| Документы | /api/v1/documents | company documents, folders, versions, sharing |
| Вложения (чтение) | /api/v1/attachments | files attached to entities — read only |
| Электронная подпись | /api/v1/esign | e-signature envelopes and signers |
| База знаний | /api/v1/knowledge | knowledge categories, pages, revisions |
| Решения | /api/v1/decisions | the decision log |
| Календарь | /api/v1/calendar-events | calendar events and meetings |
| Личная память | /api/v1/personal-memory | the person's own notes the assistant remembers |
| События (чтение) | /api/v1/events | product and company events feed — read only |
| Журнал аудита (чтение) | /api/v1/audit | who changed what — read only |
| Активность (чтение) | /api/v1/activity | activity and time-saved metrics — read only |
| Сигналы | /api/v1/signals | signals needing attention: dismiss, snooze |
| Сегодня (чтение) | /api/v1/today | the person's day briefing — read only |
| Замещения (чтение) | /api/v1/delegations | who stands in for whom while away — rights and approvals (#574) |
| Реестр метрик (чтение) | /api/v1/metrics | what every Cockpit number means — definition, formula, source, owner (#577) |
| Обсуждения | /api/v1/discussion | comments and mentions on any entity |
| Сообщество | /api/v1/community | community spaces, topics, posts |
| Поиск (чтение) | /api/v1/search | global search across the platform — read only |
| Мессенджер | /api/v1/chat | channels, messages, threads, unread |
| Telegram | /api/v1/telegram | the connected Telegram: chats and messages |
| Почта | /api/v1/email | the connected mailbox: messages, sending |
| Отчёты | /api/v1/reports | reports and their runs |
| Бухгалтерия | /api/v1/accounting | documents, bank, payments, ledger, taxes, payroll, EDO, counterparties |
| Звонки | /api/v1/calls | call rooms, history, recordings, transcripts |
| Телефония (чтение) | /api/v1/mango-office | Mango Office calls — read only |
| Автоматизация (чтение) | /api/v1/n8n | n8n workflows and executions — read only |
| Реестр правил (чтение) | /api/v1/regrules | Russian tax and labour rules the accounting engine uses — read only |