MCP Catalogs
Homewcgw screenshot

wcgw

by rusiaaman·660·Score 54

An MCP server providing shell and code editing tools with interactive terminal access for AI agents.

developer-toolsfile-systemai-llm
62
Forks
2
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

Wcgw is a comprehensive MCP server that tightly integrates shell and code editing tools, enabling AI agents to interact directly with your local machine. It provides unfiltered access to the shell and file system with built-in safety features like file protection and syntax checking. The server supports interactive commands, concurrent background processes, and includes a VSCode extension for an enhanced terminal experience.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:AI-assisted software development with iterative code execution and debugging
you:Automated file system operations and batch processing through AI commands
you:Interactive shell access with the ability to resume and share task checkpoints
you:Is this tool safe to use?
you:How can I monitor the terminal activity?

When to choose this

Choose wcgw when you need a highly interactive shell experience where both human and AI can control the same terminal, with advanced file editing capabilities and task checkpointing.

When NOT to choose this

Avoid wcgw if you need strict security boundaries for AI access, or if you're working in an environment where unfiltered shell access poses unacceptable risks.

Tools this server exposes

6 tools extracted from the README
  • InitializeInitialize(any_workspace_path: string, initial_files_to_read: string[], mode_name: 'wcgw'|'architect'|'code_writer', task_id_to_resume: string)

    Reset shell and set up workspace environment

  • BashCommandBashCommand(command: string, wait_for_seconds: int?), BashCommand(send_text: string, wait_for_seconds: int?), BashCommand(send_specials: string[], wait_for_seconds: int?)

    Execute shell commands with timeout control or send input to interactive commands

  • ReadFilesReadFiles(file_paths: string[])

    Read content from one or more files

  • WriteIfEmptyWriteIfEmpty(file_path: string, file_content: string)

    Create new files or write to empty files

  • FileEditFileEdit(file_path: string, file_edit_using_search_replace_blocks: string)

    Edit existing files using search/replace blocks

  • ReadImageReadImage()

    Read image files for display/purpose

Comparable tools

mcp-server-shellaidercursorvscode-copilot

Installation

Installation

**Mac and Linux**

  1. Install uv using homebrew: brew install uv
  2. Create or update claude_desktop_config.json in ~/Library/Application Support/Claude/ with:
{
  "mcpServers": {
    "wcgw": {
      "command": "uvx",
      "args": ["--python", "3.12", "wcgw@latest"]
    }
  }
}
  1. Restart Claude Desktop

**Windows (WSL)**

  1. Install [uv](https://docs.astral.sh/uv/getting-started/installation/)
  2. Update claude_desktop_config.json in %APPDATA%\Claude\ with:
{
  "mcpServers": {
    "wcgw": {
      "command": "wsl.exe",
      "args": ["uvx", "--python", "3.12", "wcgw@latest"]
    }
  }
}

FAQ

Is this tool safe to use?
The tool provides unfiltered access to your machine's shell and files. It does not restrict LLMs from executing arbitrary commands. Only use it if you fully understand and accept the associated risks.
How can I monitor the terminal activity?
You can use the VSCode extension or run `screen -x <wcgw_session_name>` to attach to the terminal that the AI is using, allowing you to monitor or interact with the running commands.

On Hacker News

Recent discussion from the developer community.

Compare wcgw with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.