Agent context

Publishing platform: Obsidian vault → website. Sync via Obsidian plugin or CLI.

MCP servers

.mcp.json / codex.json are pre-configured with your credentials.

Name Endpoint
my-trip2g-instance https://minionschool.2pub.ru/_system/mcp — tools for your site
trip2g-docs-public-hub https://trip2g.com/_system/mcp — platform docs & query examples

Antigravity: copy antigravity-mcp-config.json~/.gemini/antigravity/mcp_config.json

Кодекс агента

Заповеди для самопроверки: commandments.md. Скажи «проверь себя по заповедям» чтобы запустить.

Добавить материал в школу

Инструкция: instructions/write_school_content.md

Sync

Two options with the same API token:

  • Obsidian plugin — built-in, configured automatically
  • CLInode trip2g-sync.mjs (download)

Enable admin GraphQL

To manage the site via agent, enable "Execute admin GraphQL" for your API key:

Open API key settings → Enable Admin GraphQL

Or manually: https://minionschool.2pub.ru/admin → Integrations → API Keys → your key → Enable Admin GraphQL

After enabling, an introspection tool becomes available in my-trip2g-instance.
Use trip2g-docs-public-hub for query examples or run introspection directly.