Antigravity Preview Studio
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 Preview Studio
A zero-CDN, native Antigravity MCP App plugin for viewing, inspecting, and editing HTML, Markdown, LaTeX, Mermaid, SVG, CSV/TSV, JSON/JSONL, Word, Excel, and PowerPoint files and URLs inside Antigravity with instant Preview | Split | Code switching.
Feature Matrix
Capability | Details |
View Modes |
|
Zero-CDN Offline Bundle | Everything—including KaTeX |
Bidirectional Editing | Toggle Markdown checkboxes, insert Math/Unicode symbols ( |
Native "Open With" Launcher | One-click jump to Microsoft Word, Excel, PowerPoint, Chrome, Cursor, Pages, Finder, or system default app even from |
Context Micro-Toolbars | Format-specific quick actions (viewports, console, snippets, symbol picker, outline drawer, zoom, background, charts, tree/table, format/minify) |
Local & Remote Loading | Opens |
Asset Resolution | Inlines relative local CSS, JS, images, and fonts (up to 4 MiB) for local HTML and Markdown documents |
Export & Print | Export standalone |
Native Theme Sync | Automatically follows Antigravity light/dark theme and CSS host variables |
Related MCP server: document-converter
Supported Formats
Format | Extensions | Highlights |
HTML |
| Sandboxed iframe, |
Markdown |
| GFM tables, Highlight.js syntax highlighting, KaTeX math ( |
LaTeX |
| Sections, |
Mermaid |
| Flowcharts, sequence, state, class, ER, and Gantt diagrams with zoom/fit controls and Checker/Light/Dark canvas |
SVG |
| Crisp vector stage with zoom/fit controls, Checker/Light/Dark background toggle, and PNG/SVG export |
CSV / TSV |
| Sortable/filterable interactive table, inline cell editing, |
JSON / JSONL |
| Collapsible interactive JSON tree, auto-detected array-of-objects table view, one-click |
Word |
| Clean document reader, heading outline, optional inline |
Excel |
| Multi-sheet tabs, sortable/searchable grid, double-click cell editing, |
PowerPoint |
| 16:9 slide deck viewer, thumbnail rail, |
Keyboard Shortcuts
Shortcut | Action |
| Save current writable file ( |
| Toggle between Preview and Code mode |
| Toggle Split mode |
| Find / replace inside CodeMirror editor |
Installation in Antigravity
From Source
git clone https://github.com/DaDerekkk/antigravity-preview-studio.git
cd antigravity-preview-studio
npm install
npx tsc --noEmit
npm run build
npm test
npm run install:pluginnpm run install:plugin copies the built plugin (plugin.json, mcp_config.json, assets/, bin/, and dist/) into ~/.gemini/config/plugins/html-viewer.
Usage
Open any supported file directly in Antigravity—Preview Studio registers as the custom viewer (
view_html_file) for.html,.htm,.svg,.md,.markdown,.mdx,.tex,.latex,.mmd,.mermaid,.csv,.tsv,.json,.jsonl,.docx,.xlsx,.xls, and.pptx.Ask Antigravity:
"Open
examples/demo.mdin Preview Studio""Preview
https://example.comin Split mode""Open Preview Studio in the side pane"
Architecture Overview
antigravity-preview-studio/
├── src/
│ ├── types.ts # Shared DocFormat, LoadedDocument & format detection
│ ├── server/
│ │ ├── index.ts # MCP stdio server & tool/resource handlers
│ │ ├── loader.ts # Local/URL loading, asset inlining & preview bridge
│ │ ├── office.ts # Pure-JS DOCX, XLSX/XLS, and PPTX parsers/serializers
│ │ └── openWith.ts # Native macOS/Windows/Linux Open With & Finder launcher
│ └── ui/
│ ├── template.html # App shell HTML template
│ ├── styles.css # Native light/dark styling & renderer typography
│ ├── app.ts # Controller, toolbars, symbol picker, sync & export
│ ├── editor.ts # CodeMirror 6 integration
│ └── renderers/ # Offline renderers (html, markdown, latex, mermaid, svg, data, office)
├── scripts/
│ ├── build.mjs # esbuild bundler + inline CSS/JS/KaTeX woff2 embedding
│ ├── install.mjs # Installs plugin to ~/.gemini/config/plugins/html-viewer
│ ├── gen-office-demos.mjs # Generates examples/demo.{docx,xlsx,pptx}
│ └── test.mjs # Automated build, MCP handshake & format tests
├── examples/ # Sample files for every supported format
└── .github/workflows/ci.yml # Node 20 CI pipelineLicense
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
Markdown to editable PowerPoint, Word, PDF; checks, edits and previews RDLC/RDL reports.
Convert Markdown to PDF, DOCX, HTML or EPUB with formatting and display options.
Screenshot any URL, HTML or Markdown in a real browser, and read web pages as Markdown.
Draw diagrams, build HTML pages and write Markdown in a live editor the user sees.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceNative macOS markdown previewer. Opens files and renders markdown content in a live preview window directly from your AI tools.39MIT
- AlicenseNot gradedqualityCmaintenanceConverts PDFs, Office files, spreadsheets, emails, audio, and more to Markdown locally, enabling AI assistants to read and process them without cloud upload.MIT
- AlicenseNot gradedqualityDmaintenanceLive markdown preview for LLM agents. Call a single tool to watch a markdown file and it opens a browser UI that streams rendered updates, changes, and history.MIT
- AlicenseAqualityBmaintenanceLocal MCP server that lets agents read PDF, DOCX, PPT, Excel, HTML, EPUB, email and 40+ other formats as Markdown. Read PDF, Office, HTML, EPUB, email and 40+ formats as Markdown; outline, search and diff documents inside allowlisted folders. Writing documents from Markdown and editing DOCX, PPTX, HTML and Markdown files in place are opt-in. All file access is confined to allowlisted folders.5170 PyPI34MIT