drio
Open app

WCGW

Source

Send code snippet and paths to Claude. Designed to work with wcgw mcp server.

Catalog onlyCatalog onlySTDIO

Overview

WCGW is a macOS-only Visual Studio Code extension that facilitates sharing code snippets and terminal outputs along with contextual information to the AI application Claude.

To use WCGW, select the code or terminal output you wish to share, use designated keyboard shortcuts, and optionally enter instructions. The tool will automatically switch to Claude and format the selected content along with any provided context.

  • Share code snippets and terminal outputs with context to Claude - Add custom instructions or descriptions to code or output - Automatically includes repository structure and frequently relevant files - Seamless integration with Visual Studio Code on macOS
  1. Sharing code snippets for debugging assistance with Claude.
  2. Sending terminal outputs for analysis or troubleshooting.
  3. Quickly providing context for code review sessions.

Add to your AI client

Use these steps to connect WCGW in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "wcgw-vscode-rusiaaman": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-wcgw-vscode-rusiaaman"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "wcgw-vscode-rusiaaman": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-wcgw-vscode-rusiaaman"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "wcgw-vscode-rusiaaman": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-wcgw-vscode-rusiaaman"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "wcgw-vscode-rusiaaman": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-wcgw-vscode-rusiaaman"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "wcgw-vscode-rusiaaman": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-wcgw-vscode-rusiaaman"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "wcgw-vscode-rusiaaman": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-wcgw-vscode-rusiaaman"
      ]
    }
  }
}

FAQ

Is WCGW available for all operating systems?

No, WCGW is currently only available for macOS.

What version of VS Code is required?

WCGW requires Visual Studio Code version 1.85.0 or higher.

Can I customize the application to which I send code?

Yes, WCGW allows you to configure the target application through its settings.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":375,"uuid":"d9de77ab-9fde-40ec-a5a0-ebe3beb5b514","name":"wcgw-vscode","title":"WCGW","description":"Send code snippet and paths to Claude. Designed to work with wcgw mcp server.","avatar_url":"https://avatars.githubusercontent.com/u/34934104?v=4","created_at":"$D2024-12-13T13:24:06.395Z","updated_at":"$D2024-12-13T15:09:09.534Z","status":"created","author_name":"rusiaaman","author_avatar_url":"https://avatars.githubusercontent.com/u/34934104?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/rusiaaman/wcgw-vscode","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]