# GC Command Center API > GC Command Center is a business platform: tasks and projects, CRM, messenger and calls, accounting and legal, knowledge, AI assistant. This host is its API. AI agents connect over MCP; applications use the REST API. ## Connect an AI agent (MCP) - MCP server: https://api.metaforge.godchain.dev/api/v1/mcp - Transport: Streamable HTTP. - Auth: header "Authorization: Bearer ". A person creates the token in GC Command Center: Settings → Personal AI (Личный ИИ) → MCP access → Create token. One token works for Claude Code, ChatGPT (Codex) and any MCP client; the agent acts with that person's own permissions. - Discovery: https://api.metaforge.godchain.dev/.well-known/mcp.json Claude Code: claude mcp add --transport http gc-command https://api.metaforge.godchain.dev/api/v1/mcp --header "Authorization: Bearer " ChatGPT Codex (the token in an environment variable): export GC_COMMAND_TOKEN="" (Windows: setx GC_COMMAND_TOKEN "") codex mcp add gc-command --url https://api.metaforge.godchain.dev/api/v1/mcp --bearer-token-env-var GC_COMMAND_TOKEN Any MCP client (JSON): {"mcpServers": {"gc-command": {"type": "http", "url": "https://api.metaforge.godchain.dev/api/v1/mcp", "headers": {"Authorization": "Bearer "}}}} After connecting, call the MCP "tools/list" method: the tools describe themselves (tasks, projects, clients, messages, documents, accounting, knowledge and more). Changes the company's policies require are returned as proposals a person confirms. ## The company's brain on your own AI (gc-agent) gc-agent runs GC's AI features through the person's Claude Code or ChatGPT (Codex) subscription; it finds whichever is installed. It is NOT preinstalled — download it from this server (no other source is needed). Replace GC-XXXX-XXXX with the pairing code the person gets in GC: Settings → Personal AI (Личный ИИ) → Connect (Подключить); ask the person for it if you do not have it. Windows (PowerShell) — download and pair: $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 then run it and keep it running (a separate window or a background process): & "$env:LOCALAPPDATA\gc-agent\gc-agent.exe" run macOS / Linux — download and pair: 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 then run it and keep it running: ~/.local/bin/gc-agent run Switch the AI later without re-pairing: gc-agent engine codex | gc-agent engine claude. All builds with sha256: https://api.metaforge.godchain.dev/downloads/gc-agent/ (targets: windows-amd64, windows-arm64, darwin-arm64, darwin-amd64, linux-amd64, linux-arm64). ## REST API - Base: https://api.metaforge.godchain.dev/api/v1 — JSON, UTF-8. - Sign in: POST /api/v1/auth/login {email, password} → access token; send "Authorization: Bearer "; refresh: POST /api/v1/auth/refresh. - Permissions and visibility are the person's own (role, modules, company tenant). - Health: GET /api/v1/health Areas the platform's AI assistant reaches (the full API is wider): - /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) - /api/v1/amocrm — amoCRM: the connected amoCRM (leads, pipelines) — read only (read only) - /api/v1/bitrix24 — Bitrix24: the connected Bitrix24 (deals) — read only (read only) - /api/v1/moysklad — МойСклад: the connected МойСклад (counterparties, customer orders, shipments, products, stock) — read only (read only) - /api/v1/onec — 1С: the connected 1C (counterparties, documents) — read only (read only) - /api/v1/yookassa — ЮKassa: payments received through YooKassa — read only (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 - /api/v1/hhru — hh.ru: the hh.ru board — read only (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 (read only) - /api/v1/roles — Роли: roles and what they allow — read only (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 (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 (read only) - /api/v1/audit — Журнал аудита: who changed what — read only (read only) - /api/v1/activity — Активность: activity and time-saved metrics — read only (read only) - /api/v1/signals — Сигналы: signals needing attention: dismiss, snooze - /api/v1/today — Сегодня: the person's day briefing — read only (read only) - /api/v1/delegations — Замещения: who stands in for whom while away — rights and approvals (#574) (read only) - /api/v1/metrics — Реестр метрик: what every Cockpit number means — definition, formula, source, owner (#577) (read only) - /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 (read only) - /api/v1/chat — Мессенджер: channels, messages, threads, unread - /api/v1/telegram — 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 (read only) - /api/v1/n8n — Автоматизация: n8n workflows and executions — read only (read only) - /api/v1/regrules — Реестр правил: Russian tax and labour rules the accounting engine uses — read only (read only) ## Pages - Human-readable: https://api.metaforge.godchain.dev/ - This file: https://api.metaforge.godchain.dev/llms.txt