GG MCP for VSCode

December 16, 2025 Β· View on GitHub

πŸ‡¨πŸ‡³ δΈ­ζ–‡ζ–‡ζ‘£ | πŸ‡ΊπŸ‡Έ English

Version License: MIT MCP Compliant

VS Code Marketplace Version VS Code Marketplace Downloads Open VSX Version Open VSX Downloads

Run a local MCP server for your VS Code workspace. Let Claude Desktop and other MCP clients work directly on your code via the Model Context Protocol.

This extension provides a compliant Model Context Protocol (MCP) server for your VS Code workspace, compatible with VS Code, Cursor, Windsurf, and Antigravity via MCP clients.

It acts as the bridge between your local codebase and Claude Desktop: Claude initiates the instructions, and this extension acts as the server to execute development workβ€”reading files, editing code, and running commandsβ€”in your workspace.

MCP Server Status

✨ Key Features

  • Multi-IDE Support: Supports VS Code, Cursor, Windsurf, and Antigravity.
  • Claude Desktop Integration: Handles development requests from Claude Desktop, enabling automated programming tasks.
  • Compatibility: Supports MCP-compliant clients.
  • Zero Configuration: Automatically starts a local MCP server when VS Code launches.
  • Toolset:
    • πŸ“‚ File Operations: Read, write, create, and patch files.
    • πŸ’» Terminal Control: Execute commands, run background tasks, and capture output.
    • πŸ”§ Git Integration: Commit, push, pull, view diffs, and manage branches.
    • πŸ› Debugging: Set breakpoints and manage launch configurations.
    • πŸ” Code Analysis: Find symbols, references, and definitions.
  • Secure Architecture: Binds to localhost only.
  • Port Management: Automatic port conflict resolution with background status notifications.
  • Cross-Platform: Support for Windows, macOS, and Linux.
  • File Caching: Built-in file content caching.

πŸš€ Quick Start

1. Install the Extension

  • Claude Desktop Integration: This extension is compatible with Claude Desktop, enabling:
    • Execution of development instructions from Claude
    • Automated coding assistance
    • Direct read/write access to codebase
  • MCPxHub: Recommended for use with MCPxHub plugin

3. Verify Server Is Running

After installation, the MCP server automatically starts. Check the bottom-right status bar:

  • πŸ”„ MCP Server - Server is starting
  • πŸ”Œ [Port] - Server is running (e.g., πŸ”Œ 9961)
  • ❌ MCP Server - Error occurred

Click on the status bar item to see details or restart the server.

4. Use with AI Assistants

When interacting with MCP-compliant AI assistants (like Claude Desktop), capabilities include:

  • Viewing open files
  • Modifying code
  • Performing project tasks
  • Developing features
  • Executing terminal commands

πŸ’» Automated Development with Claude Desktop

Capabilities with GG MCP for VSCode and Claude Desktop:

  • Codebase analysis
  • Feature implementation and bug fixing
  • Code refactoring
  • Architecture suggestions
  • Task implementation

βš™οΈ Configuration Options

File Caching

The extension includes a file caching mechanism:

  • Reduces file system read operations
  • Optimizes file access performance
  • Invalidates cache on file modification
  • Configurable in extension settings

Find options by searching for "ggMCP" in VS Code settings:

  • Port range
  • Terminal timeout
  • File auto-reload options
  • File caching behavior

πŸ“„ Commands

  • MCP: Show Server Status - View current server information
  • MCP: Restart Server - Manually restart the MCP server

πŸ“ License

MIT


Available Tools (44 total)

CategoryCountExamples
Editor Tools5get_open_in_editor_file_text, replace_selected_text, open_file_in_editor
File Tools9get_file_text_by_path, create_new_file_with_text, replace_specific_text
Code Analysis3get_symbols_in_file, find_references, refactor_code_at_location
Debug Tools4toggle_debugger_breakpoint, run_configuration
Terminal Tools5execute_terminal_command, run_command_on_background, get_terminal_info
Git Tools10get_project_vcs_status, commit_changes, switch_branch, get_file_diff
Project Tools2get_project_modules, get_project_dependencies
Action Tools3list_available_actions, execute_action_by_id

Detailed Documentation

For complete API documentation with examples, see INTERFACE.md.

For technical details and source code, visit our GitHub repository.