
wcgw vscode
Send code snippet and paths to Claude. Designed to work with wcgw mcp server.
Repository Info
About This Server
Send code snippet and paths to Claude. Designed to work with wcgw mcp server.
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
WCGW
A Mac only VS Code extension that helps you share code snippets with context to Claude. Designed to work with wcgw mcp https://github.com/rusiaaman/wcgw.git
Features
- Share code snippets from editor with context to Claude
- Share terminal output with context
- Add helpful instructions or descriptions for each share
- Works with editor or terminal selections
How to Use
For Editor Content
- Select code in the editor you want to share
- Press
Cmd+'or run command "WCGW: Send Editor Selection to Application" - Enter helpful text/instructions (or press Escape for default)
- Extension will:
- Switch to Claude
- Type your instructions
- Include selected code and context information
- Press
Cmd+Shift+'to copy the selected code with additional context:- Repository structure
- Frequently relevant files (e.g., package.json, pyproject.toml, Readme.md, etc., listing at least 20 such files)
For Terminal Output
- Select text in the terminal
- Press
Cmd+'(Mac) or run command "WCGW: Send Terminal Selection to Application" - Enter helpful text/instructions (or press Escape for default)
- Extension will:
- Switch to Claude
- Type your instructions
- Include terminal output and context information
- Press
Cmd+Shift+'to copy terminal output with additional context:- Repository structure
- Frequently relevant files (e.g., package.json, pyproject.toml, Readme.md, etc., listing at least 20 such files)
Example Output
Editor Selection
Your instructions or "Here's the code to analyze."
---
Workspace path: /path/to/workspace
---
File path: /path/to/file
---
Selected code:
[your selected code]
Terminal Selection
Your instructions or "Here's the terminal output to analyze."
---
Workspace path: /path/to/workspace
---
Terminal output:
[your terminal selection]
Extension Settings
This extension contributes the following settings:
wcgw.targetApplication: Name of the application to send code to (default: "Claude")
Requirements
- macOS (required for automatic application switching)
- VS Code 1.85.0 or higher
Known Issues
- macOS only currently
Release Notes
0.1.0
Added features:
- Split into separate editor and terminal commands
- New keybinding (Cmd+Shift+') for terminal selections
- Improved error messages and context information
- Better formatting of output
0.0.1
Initial release with features:
- Code sharing with custom instructions
- Works with or without code selection
- File and workspace context
- Reliable text entry through keyboard simulation
Quick Start
Clone the repository
git clone https://github.com/rusiaaman/wcgw-vscodeInstall dependencies
cd wcgw-vscode
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.