Back to Home
rusiaaman icon

wcgw

by rusiaaman

Overview

An MCP server that empowers AI chat applications to execute shell commands, edit code, and manage project context on a local machine for development tasks.

Installation

Run Command
uvx wcgw@latest

Environment Variables

  • OPENAI_MODEL
  • OPENAI_API_KEY
  • OPENAI_ORG_ID
  • EDITOR
  • ANTHROPIC_API_KEY
  • WCGW_SERVER_INSTRUCTIONS
  • SHELL

Security Notes

The server is designed to execute arbitrary shell commands and perform file modifications, which are inherently high-privilege operations. The BashCommand tool allows for execution of any command, posing a significant risk if commands are not carefully reviewed. The README.md explicitly warns against allowing BashCommand without review, as it may result in data loss. The system uses subprocess.run and pexpect.spawn for shell execution. File editing tools also have access to the local filesystem. Internal code uses `eval` for dynamic prompt setting, but within a controlled context and not exposed to arbitrary user input. The server communicates over standard I/O, reducing traditional network attack surface.

Similar Servers

Stats

Interest Score83
Security Score6
Cost ClassMedium
Avg Tokens2000
Stars624
Forks56
Last Update2025-12-04

Tags

AI AgentCodingShellDevelopmentMCPAutomation