Skip to main content
Glama
Workspace Radar

Workspace Radar

by Gresham429

English | 简体中文

Workspace Radar

Antigravity Plugin Codex Ready MCP App Node.js >= 20 UI 中 / EN License: MIT

Workspace Radar maps multi-folder projects into one live dashboard, groups files modified in your active conversation by workspace, and keeps a 3-column Doing / Next / Done Kanban board synced with agent steps.

Workspace Radar Dashboard Preview


Prerequisites

  • Node.js >= 20

  • Git (optional per subfolder, used for branch and uncommitted file counts)


Related MCP server: mithra-mcp

Configure for Antigravity

1. Clone and Build

git clone https://github.com/gresham429/workspace-radar.git
cd workspace-radar
npm install
npm run build

2. Install the Plugin

./scripts/install.sh --target antigravity

This installs the built plugin bundle into ~/.gemini/config/plugins/workspace-radar (with plugin.json, mcp_config.json, hooks.json, rules/AGENTS.md, skills/workspace-radar/, bin/, and dist/). Antigravity discovers plugins in that directory automatically.

3. Open and Use

  1. Open Workspace Radar from the side pane + menu or the left sidebar.

  2. Switch language: Click 中 | EN in the top-right corner at any time; the choice is saved locally.

  3. Open a running session:

    • Sessions already running before installation will sync on their next turn (PreInvocation) or when you click ↻.

    • You can also click + in the top-right bar and paste any project path directly.

  4. Inspect files and paths:

    • Click Copy on the project path bar or any workspace card to copy its local path.

    • Expand any workspace card and click a file name to open it in the side pane file view.

  5. Edit workspace notes: Click Note on any card to save a 1-line description to .workspace-map.json in the current UI language.

Updating Later

cd workspace-radar
git pull
npm install
npm run build
./scripts/install.sh --target antigravity

Then restart or refresh the workspace-radar_workspace-radar server under Additional Options (...) > MCP Servers.


Configure for Codex

Workspace Radar includes a Codex adapter under adapters/codex/ and a standalone terminal CLI.

Option A: Codex Plugin Bundle

./scripts/install.sh --target codex
# Optional custom path:
# ./scripts/install.sh --target codex --dest /path/to/plugins/workspace-radar

This creates a self-contained bundle with .Codex-plugin/plugin.json, .mcp.json, hooks/hooks.json (SessionStart and PostToolUse on Write|Edit|MultiEdit|Bash|apply_patch|TodoWrite|update_plan|update_steps), commands/radar.md (/radar), skills/workspace-radar/, bin/, and dist/.

Option B: Codex CLI (~/.codex/config.toml)

Print the config block with the resolved absolute path:

./scripts/install.sh --target codex-cli

Paste the printed section into ~/.codex/config.toml:

[mcp_servers.workspace_radar]
command = "bash"
args = ["/ABS/PATH/TO/workspace-radar/bin/workspace-radar-mcp"]

Option C: Standalone Terminal CLI

./bin/workspace-radar scan /path/to/project
./bin/workspace-radar status /path/to/project
./bin/workspace-radar init /path/to/project

Optional Project Config (.workspace-map.json)

Zero configuration is required. Workspaces are discovered automatically from nested .git repositories, package.json workspaces, pnpm-workspace.yaml, Cargo.toml, standard container folders (packages/*, apps/*, services/*, libs/*, modules/*), or meaningful top-level directories.

To pin folders, add custom names, or write bilingual descriptions, run ./bin/workspace-radar init /path/to/project (or click Note in the UI) to create .workspace-map.json at the project root:

{
  "version": 1,
  "ignore": ["node_modules", ".git", "dist", "build", ".next", "__pycache__", ".venv", "target"],
  "groups": ["Services", "Apps"],
  "workspaces": {
    "services/auth": {
      "name": "Auth Service",
      "group": "Services",
      "description": "JWT issuance and session middleware",
      "descriptionZh": "JWT 签发与会话鉴权中间件",
      "descriptionEn": "JWT issuance and session middleware",
      "pinned": true
    }
  }
}

Field

Purpose

ignore

Directory names skipped during scanning

groups

Optional group labels used for organization

workspaces.<relPath>.name

Custom display name for the workspace

workspaces.<relPath>.description

Default fallback description

workspaces.<relPath>.descriptionZh

Description shown when UI is in Chinese (中)

workspaces.<relPath>.descriptionEn

Description shown when UI is in English (EN)

workspaces.<relPath>.pinned

Keep this workspace near the top of the list

New subdirectories added later still appear automatically even if .workspace-map.json is not updated.


Environment Variables & Local Data

Variable

Default

Purpose

WORKSPACE_RADAR_DATA_DIR

~/.workspace-radar/data

Overrides where session files, tasks, and preferences are stored

PLUGIN_DATA

Set by Antigravity

Used automatically by --data-dir when installed as a plugin

WORKSPACE_RADAR_UI_HTML

dist/ui.html

Optional path to load custom/unbundled UI HTML during development

  • State files (index.json and projects/<hash>.json) store only project roots, session IDs, modified file paths, task items, and language preference. Prompts, model names, and raw transcripts are never stored.


Project Structure

workspace-radar/
├── plugin.json                  # Antigravity plugin manifest
├── mcp_config.json              # Antigravity MCP server entry
├── hooks.json                   # Antigravity SessionStart / PreInvocation / PostToolUse hooks
├── assets/
│   ├── logo.svg                 # Plugin icon
│   └── preview.svg              # Dashboard preview graphic
├── bin/
│   ├── workspace-radar-mcp      # MCP server launcher (resolves Node path for GUI apps)
│   ├── workspace-radar-hook     # Hook entry wrapper
│   └── workspace-radar          # Standalone CLI wrapper
├── src/
│   ├── core/
│   │   ├── config.mjs           # .workspace-map.json reader/writer
│   │   ├── i18n.mjs             # Bilingual folder roles & engineering text localization
│   │   ├── scanner.mjs          # Multi-folder workspace & Git scanner
│   │   ├── session-sync.mjs     # Step/focus/file extraction & transcript backfill
│   │   ├── tracker.mjs          # Atomic session/task persistence & snapshot builder
│   │   ├── hook-handler.mjs     # Antigravity & Codex hook payload normalizer
│   │   └── hook-entry.mjs       # Stdin/stdout hook entrypoint
│   ├── server/index.mjs         # MCP server (tools + ui://workspace-radar/app.html)
│   ├── ui/                      # Single-file bundled MCP App dashboard (HTML/CSS/JS)
│   └── cli/index.mjs            # Terminal CLI (scan, status, init)
├── adapters/codex/              # Codex plugin manifest, MCP config, hooks, /radar command
├── skills/workspace-radar/      # Agent usage skill
├── rules/AGENTS.md              # Agent checklist sync rule
├── scripts/
│   ├── build.mjs                # esbuild bundler + HTML/JS build verification
│   └── install.sh               # Installer for Antigravity, Codex plugin, and Codex CLI
└── test/                        # Unit and MCP stdio integration tests

MCP Tools

Tool

Purpose

workspace_radar_open

Open the Workspace Radar UI panel and return a Markdown summary

workspace_radar_scan

Scan workspaces, Git branches, dirty counts, and session changes

workspace_radar_sync_plan

Sync session focus and done / in_progress / todo tasks (titleZh / titleEn)

workspace_radar_config

Read, initialize, or update entries in .workspace-map.json

Internal UI tools (workspace_radar_ui_refresh, workspace_radar_ui_task, workspace_radar_ui_workspace, workspace_radar_ui_prefs, workspace_radar_ui_projects) handle interactive panel actions without cluttering the model tool list.

Development & Testing

npm install
npm run build
npm test

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      Local dashboard and MCP server that maintains a live project registry and skill library, enabling coding agents to pull project context and automatically update status, stack, and next steps.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Turns a one-person, multi-project workspace into state an agent can reason over, exposing live git status, Kanban boards, tasks, standups, and production health as queryable tools via MCP.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides coding agents with a durable, revision-aware project workspace for semantic context, governed source changes, verification, task checkpoints, and observability through an MCP interface.
      1
      -
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables managing agile project boards with automated agent-driven workflows, enforcing stage gates and generating service and MCP client configurations.
      Apache 2.0