Back to Home
rusiaaman icon

wcgw

by rusiaaman

Overview

Empowering chat applications to code, build, and run on your local machine by providing tightly integrated shell and code editing tools.

Installation

Run Command
uvx wcgw@latest

Environment Variables

  • OPENAI_API_KEY
  • OPENAI_ORG_ID
  • ANTHROPIC_API_KEY
  • WCGW_SERVER_INSTRUCTIONS
  • EDITOR
  • TMPDIR
  • XDG_DATA_HOME

Security Notes

The server's core functionality, the 'BashCommand' tool, executes arbitrary shell commands directly via `pexpect.spawn`. While the project explicitly warns users ('do not allow BashCommand tool without reviewing the command'), implements `assert_single_statement` to prevent simple multi-statement injections, and includes file protection mechanisms (e.g., requiring a read before edit, tracking read ranges and file hashes), it still represents a significant security risk. If an attacker or an uncontrolled LLM gains access, they could execute malicious commands, leading to data loss, unauthorized access, or system compromise. The provided 'modes' (e.g., 'architect' for read-only) offer some mitigation, but the 'wcgw' mode has no restrictions.

Similar Servers

Stats

Interest Score81
Security Score4
Cost ClassHigh
Avg Tokens3000
Stars632
Forks60
Last Update2026-01-16

Tags

MCP serverCoding agentShell interactionFile operationsAI assistant