Antigravity File Explorer
Integrates with local Git repositories to show changed and untracked files, status indicators, and unified diffs against HEAD.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Antigravity File Explorer
A lightweight MCP App plugin for Google Antigravity that adds a Codex-style workspace file explorer, CodeMirror 6 viewer/editor, Markdown & image/PDF previewer, and Git diff inspector directly into Antigravity's right sidebar (aux_pane) and left sidebar (global).
Features
Native Sidebar Entrypoints: Opens directly from Antigravity's right sidebar
+menu (aux_pane) or left sidebar (global), and automatically inherits Antigravity's Light/Dark theme & CSS variables.Auto Workspace Detection: Automatically detects your active/recent Antigravity workspace from
~/.gemini/antigravity/conversation_summaries.db, with a quick workspace switcher and custom path navigation.File Tree & Quick Search:
Expandable directory tree with Git status indicators (
M,A,U,D) and folder change dotsNew file / new folder / rename / delete / toggle dotfiles
Ctrl+P/Ctrl+Kquick open by filename andCtrl+Shift+Fworkspace text searchLightweight auto-sync polling so files modified by the agent refresh automatically
CodeMirror 6 Viewer & Editor:
Fast, minimal DOM editor with syntax highlighting for JS/TS/JSX/TSX, Python, Go, Rust, Java, C/C++, JSON, YAML, HTML, CSS, SQL, XML, and Markdown
Multi-tab viewing, code folding, line numbers, word wrap toggle, search (
Ctrl+F), and save (Ctrl+S)
Codex-Style Git Changes & Diff View:
Dedicated Changes tab listing all modified/untracked files on the current branch
Inline unified diff view (
@codemirror/merge) againstHEADwith+add / -delstats
Rich Previews:
Markdown: Switch between Preview, Source, and Split views
Images & SVG: Checkerboard canvas with zoom controls (plus SVG source view)
PDF: Embedded browser preview (up to 5 MB)
Antigravity Chat Integrations:
Attach: Attach the open file or currently selected lines (
Lstart-Lend) as context for your next chat message (updateModelContext)Ask AI: Send a prompt about the current file or selection directly to the conversation (
sendMessage)Native Tab: Open any file in Antigravity's native
fileViewtab (com.google.antigravity/toggle-aux-pane)
Zero Context Pollution: All file-system and Git backend tools are marked
visibility: ["app"], so only the UI calls them — they never consume model tokens.
Related MCP server: Google Workspace MCP for Antigravity IDE
Installation
Option 1: Clone directly as a plugin (Quickest)
Requires Node.js 20+ (Node.js 22+ recommended for built-in node:sqlite workspace auto-detection).
git clone https://github.com/Anon2Tokyo/antigravity-file-explorer.git ~/.gemini/config/plugins/antigravity-file-explorerPrebuilt
dist/server.mjsanddist/index.htmlare included (or can be rebuilt locally vianpm install && npm run build). Antigravity automatically discovers plugins placed under~/.gemini/config/plugins/.
Option 2: Build from source & install
git clone https://github.com/Anon2Tokyo/antigravity-file-explorer.git
cd antigravity-file-explorer
npm install
npm run install-pluginnpm run install-plugin builds both the single-file HTML MCP App (dist/index.html) and standalone MCP server (dist/server.mjs) and copies the plugin bundle into ~/.gemini/config/plugins/antigravity-file-explorer.
Usage in Antigravity
Click the
+button in Antigravity's right auxiliary pane and select File Explorer (or open it full-page from the left sidebar).Or ask Antigravity in chat: "Open the file explorer for this workspace" (calls
open_file_explorer).
Keyboard Shortcuts
Shortcut | Action |
| Quick Open file by name/path |
| Search text across workspace |
| Save active file |
| Toggle file tree sidebar |
| Find/replace inside active editor |
Architecture
This plugin uses the MCP Apps (SEP-1865) specification over stdio — no local HTTP ports required:
src/server/: Standalone Node.js MCP Server serving the UI resource (ui://antigravity-file-explorer/app.html), the publicopen_file_explorerentrypoint tool, andapp-only filesystem/Git tools.src/ui/: React + CodeMirror 6 frontend bundled byesbuildinto a single self-contained HTML document (dist/index.html).
Development
npm run typecheck # Run TypeScript checks
npm run build # Rebuild dist/index.html and dist/server.mjs
npm run install-plugin # Rebuild and copy into ~/.gemini/config/plugins/antigravity-file-explorerFor fast UI iteration without restarting the MCP server, you can set the environment variable ANTIGRAVITY_EXPLORER_HTML to point to your local dist/index.html path; reopening the pane picks up rebuilt HTML immediately.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Securely search and manage workspace context files for AI agents and teams.
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Markdown workspace for AI agents: read, write, organize, and share markdown documents.
Your Aurentia workspace — projects, CRM, tasks, deliverables — in Claude, Cursor or any MCP client.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables Google Antigravity agents to quickly inspect and read PDF, Word, Excel, PowerPoint, and text documents, extracting structure and content as token-efficient Markdown.-
- AlicenseNot gradedqualityCmaintenanceEnables Antigravity IDE to directly interact with Google Docs, Sheets, Drive, Gmail, and Calendar, with token-optimized operations to reduce context usage by 70-90%.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables an AI to open a workspace, list files, read and write files within a configured workspace directory, and render an embedded workspace UI inside ChatGPT. File access is restricted to that workspace, with hidden folders and symlinks skipped.Apache 2.0
- AlicenseCqualityBmaintenanceConnect Google Antigravity 2, VS Code, Cursor and Claude Code to Gemini Notebooks (formerly NotebookLM, both personal and Google Cloud Enterprise). Exposes 21 MCP tools for workspace notebook binding, grounded Q&A with citations, Fast and Deep Research, bi-directional file sync, and Studio artifact generation.2113MIT