vscode
Surfaces C/C++ compiler and Clangd diagnostics from VS Code's Problems panel, letting the agent inspect errors and warnings reported for C/C++ sources.
Can trigger CMake-related VS Code commands (e.g. cmake.build) through the generic vscode_execute_command tool, enabling builds and other CMake operations from within the editor.
Exposes VS Code's Problems panel diagnostics, allowing the agent to read ESLint errors and warnings (with severity filtering) for a given file path.
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.
VS Code Antigravity MCP (vscode-antigravity-mcp)
Zero-dependency Model Context Protocol (MCP) Server + VS Code UI Extension bridging AI coding agents (Google Antigravity, Claude Desktop, Cursor, Copilot, etc.) directly into Local and Remote-SSH / WSL / Dev Container VS Code windows.
Key Highlights / Điểm nổi bật
1:1 Antigravity Tool Schemas: Exact parameter names (
Path,StartLine,EndLine,ByteOffset,Target,Replacement,CommandLine,WaitMsBeforeAsync, ...) and output formatting matching Antigravity's native toolset.Seamless Remote-SSH / WSL / Containers Support (Zero Remote Install): Uses
"extensionKind": ["ui"]+vscode.workspace.fs+ VS Code Terminal Shell Integration (^1.93.0), allowing agents on your local machine to read, edit, search, and run commands inside remote SSH/WSL/Container windows without installing anything on the remote server.Live Editor Context & Undo-Safe Saves: Reads live cursor position (
line,column), highlighted selection (selectedText), open tabs, and compiler/LSP diagnostics (Problems). Edits on open tabs apply viavscode.WorkspaceEdit+doc.save()— saving immediately to disk while preservingCtrl+ZUndo history in VS Code.Multi-Window Smart Routing & Offline Fallback: Automatically routes local vs. remote paths across multiple open VS Code windows, and falls back to standalone Node.js file/shell execution when VS Code is closed.
Zero External Dependencies: Pure Node.js (
>=18), nonpm installrequired. Works on Windows, macOS, and Linux.
Related MCP server: VSCode MCP
Quick Start / Cài đặt nhanh (1 lệnh)
git clone https://github.com/anhpi1/vscode-antigravity-mcp.git
cd vscode-antigravity-mcp
npm run setupWhat npm run setup does automatically:
Packages
dist/vscode-antigravity-mcp-1.0.0.vsix(pure Node.js ZIP builder, no external CLI tools required).Installs the extension into VS Code's Default profile and all custom VS Code profiles.
Registers the
"vscode"MCP server in~/.gemini/config/mcp_config.jsonfor Antigravity.
After running setup, open Antigravity -> Additional Options (...) -> MCP Servers -> Refresh (or start a new chat).
Manual MCP Configuration (Other MCP Clients)
Add to your mcp_config.json / claude_desktop_config.json:
{
"mcpServers": {
"vscode": {
"command": "node",
"args": ["/absolute/path/to/vscode-antigravity-mcp/src/mcp-server.js"]
}
}
}Available MCP Tools (12 Tools)
Category | Tool Name | Parameters | Description |
File Operations |
|
| Read up to 800 lines or 46,080 bytes with |
|
| Create, overwrite, or append files; auto-saves and preserves | |
|
| Exact text replacement via | |
Search & Directories |
|
| List subdirectories and file byte sizes (Local & Remote-SSH). |
|
| Fast glob/extension file finder. | |
|
| Text and regex content search with line numbers. | |
Shell & Tasks |
|
| Run commands locally or on Remote-SSH/WSL via VS Code Shell Integration; supports async background tasks. |
|
| Inspect, send stdin to, or terminate background command tasks. | |
VS Code Editor & UI |
|
| Get active |
|
| Open file in VS Code, scroll into view, and set cursor/selection range. | |
|
| Read Errors/Warnings from VS Code's Problems panel (Clangd, C/C++, Pylance, ESLint, etc.). | |
|
| Trigger any VS Code Command ID (e.g. |
Useful Commands
# Package VSIX only
npm run build
# Run automated MCP protocol tests
npm test
# Uninstall extension from all VS Code profiles & remove MCP config entry
npm run uninstall-bridgeLicense
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
Connect ChatGPT, Claude, Cursor or VS Code to your Windows PC: files, terminal, browser, apps.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Build, deploy, and sell AI agents for local-service businesses - from your IDE.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceBridges web-based AI agents to a local VS Code workspace over MCP Streamable HTTP, letting them inspect files, edit code, and run persistent shell commands within session-scoped boundaries. Risky, destructive, or out-of-scope operations pause for explicit human approval, with session state surviving reconnects.8 npmGPL 3.0
- FlicenseNot gradedqualityAmaintenanceEnables AI coding agents to access real-time VSCode LSP diagnostics, type information, and code navigation without slow tsc/eslint checks, plus symbol renaming and file operations.-
- FlicenseNot gradedqualityAmaintenanceEnables AI coding agents to pull real-time LSP diagnostics, hover/definition/signature details, and symbol references with usage context from a running editor instance, replacing slow tsc/eslint/build runs. It also supports workspace-wide symbol renaming and opening files across multiple workspaces.-
- AlicenseNot gradedqualityAmaintenanceEnables AI coding agents to query a running VSCode instance for real-time LSP data such as diagnostics, hover/definition/signature info, and symbol references instead of waiting on slow tsc or eslint runs. Also supports workspace-wide symbol renaming, opening files, listing workspaces, and executing VSCode commands.MIT