AI Hub MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AI_HUB_PERSONA | No | Persona preset to use: `default` or `neon-trio`. | |
| AI_HUB_DATA_DIR | No | Custom SQLite/config directory. Defaults to ~/.gemini/config/plugins/ai-hub/data. | |
| AI_HUB_HTTP_PORT | No | Preferred loopback HTTP port. Defaults to 19889 and auto-falls back if occupied. | 19889 |
| AI_HUB_EXTRA_PATHS | No | Delimiter-separated absolute directories appended to the CLI lookup PATH. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| open_ai_hubB | Open the live AI Data Hub dashboard displaying status, streaming logs, contracts, and metrics for Antigravity, Codex, and DSH. |
| hub_sync_agent_statusB | Report Antigravity (氖基米) live working status, current frontend/orchestration task, or model tier into the AI Data Hub. Automatically creates/closes real run records and logs so 氖基米 appears live on the dashboard and accumulates run metrics. |
| hub_create_contractB | Create or revise a shared contract, decision, pitfall, or guardrail. Pass expected_revision to guard against concurrent edits. |
| hub_list_contractsC | List compact contract and decision log entries. Filter by workspace, kind, or status. |
| dsh_inspectB | Dispatch a fast, strictly read-only inspection, code review, security check, or pre-flight codebase scout task to the local DSH CLI (DeepSeek v4.1 Flash). Streams progress into the AI Data Hub and verifies no files were modified. |
| codex_plan_backendB | Dispatch a read-only backend architecture/implementation planning task to the local Codex CLI (GPT 6.2-sol) using --sandbox read-only. Set blind_mode=true for independent double-blind planning from the user original words (no orchestrator draft/bias). Auto-detaches before MCP timeout with wait_cmd for reactive wakeup. |
| codex_exec_backendA | Dispatch a self-contained, interface-locked backend implementation and unit-testing task to the local Codex CLI (GPT 6.2-sol) using --sandbox workspace-write. Supports resume_session_id, use_worktree, and auto-detaches before MCP timeout with wait_cmd for reactive wakeup. |
| codex_reviewA | Run independent L2 red-line review or double-blind code/document/RFC review via Codex CLI (GPT 6.2-sol). Set blind_mode=true for strict double-blind review (pass only objective target/background, never orchestrator findings or bias). Use scope="files" + target_paths to blind-review specific files, docs, or RFCs even outside git repos. Auto-detaches before MCP timeout with wait_cmd. |
| hub_get_summaryA | Return a concise status summary of all three agents, CLI health, recent runs, and active contracts. |
| hub_get_usageB | Return real run and token usage, with a separate demo run count. |
| app_get_dashboard_stateB | App-only tool returning the latest full AI Hub snapshot. |
| app_get_run_logsB | App-only tool returning detailed output and streaming logs for a specific run. |
| app_get_contractB | App-only tool returning full contract content by ID. |
| app_update_configC | App-only tool updating CLI paths, runner settings, demo mode, or agent persona. |
| app_quick_dispatchC | App-only tool to trigger a background DSH inspection or Codex plan directly from the dashboard UI. |
| app_kill_runB | App-only tool to terminate an active Codex or DSH background task. |
| app_clear_historyB | App-only tool to clear completed runs and logs. |
| app_backfill_usageA | App-only tool to backfill unreported DSH and Antigravity token usage from local session logs. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| AI 中台实时大屏 | Real-time multi-CLI AI Data Hub dashboard for Antigravity, Codex, and DSH. |
TDQS
Scored across 18 tools
The four dispatch tools (dsh_inspect, codex_plan_backend, codex_exec_backend, codex_review) are well separated by agent and sandbox mode, but the app_* and hub_* families overlap heavily: hub_get_summary vs app_get_dashboard_state, hub_list_contracts vs app_get_contract, app_quick_dispatch vs dsh_inspect/codex_plan_backend, and hub_get_usage vs app_backfill_usage. The 'app-only' label helps an agent exclude some tools, but boundaries between read/status tools remain fuzzy.
Names use several prefixes (hub_, app_, codex_, dsh_) plus a bare open_ai_hub, and verbs are mostly verb_noun but not uniformly (hub_sync_agent_status vs codex_plan_backend vs app_kill_run). The grouping by prefix is readable and intentional, but it is a mixed convention rather than a single predictable pattern.
18 tools is on the heavy side, and roughly half are app-only UI helpers (dashboard state, logs, config, kill, clear) that inflate the surface for an agent. The dispatch and contract tools each earn their place, but the set is borderline for the stated scope.
The domain (agent dispatch, review, status reporting, contracts, usage, run control) is broadly covered: dispatch in read-only and write modes, review, contract create/revise and list, summaries, usage, config, kill and clear. Minor gaps exist, such as no general (non-app) tool to fetch a single contract by ID or to list runs individually.