Vs Claude banner
badlogic badlogic

Vs Claude

Development community

Description

VS Code extension and MCP server so Claude Code can open files, diffs and manipulate VS Code in other ways.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

VS Claude

A VS Code extension with an integrated MCP server that allows MCP clients like Claude to interact with Visual Studio Code.

Key Features

  • Smart File Operations - Open files, diffs, and Git comparisons in VS Code
  • Batch Operations - Open multiple files at once for efficient workflow
  • Git Integration - View git diffs between different versions of files
  • Line Highlighting - Jump to specific lines or highlight line ranges

Overview

VS Claude provides a simple tool for AI assistants to open files and diffs in VS Code through the MCP (Model Context Protocol) interface.

Navigation Tool

**open** - Open files, diffs, and git comparisons in VS Code

  • Open files with optional line highlighting
  • Show diffs between two files
  • View git diffs (working changes, staged, commits)
  • Open multiple files in a single operation
  • See `mcp/main.go` for the full tool description

Installation

Option 1: From VS Code Extension Marketplace

  1. Open VS Code
  2. Go to Extensions (Cmd+Shift+X / Ctrl+Shift+X)
  3. Search for "VS Claude"
  4. Click Install

Option 2: Build from Source

  1. Build the VSIX package:
git clone https://github.com/your-username/vs-claude.git
cd vs-claude
npm install
npm run build
npm install -g @vscode/vsce
vsce package
  1. Install in VS Code:
    • Press Cmd+Shift+P (Mac) or Ctrl+Shift+P (Windows/Linux)
    • Run "Extensions: Install from VSIX..."
    • Select the generated .vsix file

Set up Claude Integration

After installation, you will be prompted to install the MCP server for Claude. Click "Install" to proceed.

If you need to install it later or manually:

  1. Open the Command Palette (Cmd+Shift+P on Mac or Ctrl+Shift+P on Windows/Linux)
  2. Run "VS Claude: Install MCP"
  3. Restart Claude to activate
  4. Instruct Claude to use the vs-claude tools if appropriate for the task

Set up Integration with Other AI Assistants

If your AI assistant supports MCP servers:

  1. Open the Com