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/taskstasks, comments, checklists, time, dependencies, attachments
Спринты/api/v1/task-cyclestask cycles / sprints and burndown
Эпики/api/v1/task-modulestask modules / epics
Колонки доски/api/v1/board-columnskanban board columns
Метки задач/api/v1/task-tagstask tags
Проекты/api/v1/projectsprojects, members, status
Программы/api/v1/programsportfolio programs grouping projects
Клиенты/api/v1/clientsCRM clients (companies and people)
Сделки/api/v1/crm/opportunitiesCRM deals / opportunities and the pipeline
Автодействия стадий/api/v1/crm/stage-actionsrules run when a deal enters a stage: a task, or a letter proposed for confirmation (#666)
amoCRM (чтение)/api/v1/amocrmthe connected amoCRM (leads, pipelines) — read only
Bitrix24 (чтение)/api/v1/bitrix24the connected Bitrix24 (deals) — read only
МойСклад (чтение)/api/v1/moyskladthe connected МойСклад (counterparties, customer orders, shipments, products, stock) — read only
1С (чтение)/api/v1/onecthe connected 1C (counterparties, documents) — read only
ЮKassa (чтение)/api/v1/yookassapayments received through YooKassa — read only
Финансы/api/v1/financebudgets and finance registers
Закупки/api/v1/procurementsuppliers and purchase orders
Логистика/api/v1/logisticsdelivery notes, delivery trips, warehouses
Производство/api/v1/operationswork orders, workstations, quality inspections
Производство под заказ/api/v1/productionproduction orders with the size × height matrix, cutting, handovers to executors, returns, shipping; models, executors
Тендеры/api/v1/tenderstenders: the card with the checklist of eight parameters, stages, the decision to take part, a deal from a won tender
Образцы/api/v1/samplessamples 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-quotescommercial 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/legalcontracts, templates, clauses, cases, compliance, powers of attorney
Найм/api/v1/hiringjob openings, applicants, interviews
hh.ru (чтение)/api/v1/hhruthe hh.ru board — read only
Онбординг/api/v1/onboarding-routesonboarding templates and routes of new employees
Отпуска/api/v1/leaveleave requests, balances, attendance
Оргструктура/api/v1/orgdepartments and the reporting matrix
Люди (чтение)/api/v1/userspeople of the company and their profiles — read only
Роли (чтение)/api/v1/rolesroles and what they allow — read only
Оценка/api/v1/reviewsperformance review cycles and records
Обучение/api/v1/learninglearning programs and assignments
Карьера/api/v1/careercareer tracks and states
Документы/api/v1/documentscompany documents, folders, versions, sharing
Вложения (чтение)/api/v1/attachmentsfiles attached to entities — read only
Электронная подпись/api/v1/esigne-signature envelopes and signers
База знаний/api/v1/knowledgeknowledge categories, pages, revisions
Решения/api/v1/decisionsthe decision log
Календарь/api/v1/calendar-eventscalendar events and meetings
Личная память/api/v1/personal-memorythe person's own notes the assistant remembers
События (чтение)/api/v1/eventsproduct and company events feed — read only
Журнал аудита (чтение)/api/v1/auditwho changed what — read only
Активность (чтение)/api/v1/activityactivity and time-saved metrics — read only
Сигналы/api/v1/signalssignals needing attention: dismiss, snooze
Сегодня (чтение)/api/v1/todaythe person's day briefing — read only
Замещения (чтение)/api/v1/delegationswho stands in for whom while away — rights and approvals (#574)
Реестр метрик (чтение)/api/v1/metricswhat every Cockpit number means — definition, formula, source, owner (#577)
Обсуждения/api/v1/discussioncomments and mentions on any entity
Сообщество/api/v1/communitycommunity spaces, topics, posts
Поиск (чтение)/api/v1/searchglobal search across the platform — read only
Мессенджер/api/v1/chatchannels, messages, threads, unread
Telegram/api/v1/telegramthe connected Telegram: chats and messages
Почта/api/v1/emailthe connected mailbox: messages, sending
Отчёты/api/v1/reportsreports and their runs
Бухгалтерия/api/v1/accountingdocuments, bank, payments, ledger, taxes, payroll, EDO, counterparties
Звонки/api/v1/callscall rooms, history, recordings, transcripts
Телефония (чтение)/api/v1/mango-officeMango Office calls — read only
Автоматизация (чтение)/api/v1/n8nn8n workflows and executions — read only
Реестр правил (чтение)/api/v1/regrulesRussian tax and labour rules the accounting engine uses — read only