โจ A high-performance code agent written in Rust, combining the best features of WCGW for maximum efficiency and semantic capabilities. ๐ฆ
19 stars
Rust
Updated Oct 13, 2025
autonomous
code-agent
computer
control
execution
llm-agent
llm-code
mcp
rust
serena
shell
vibe-coding
vibecoding
wcgw
Documentation
โจ Winx - High-Performance Rust MCP Server โจ
๐ 1:1 Optimized Rust Implementation of WCGW (What Could Go Wrong) ๐
Winx is a specialized Model Context Protocol (MCP) server that provides high-performance tools for LLM code agents. It implements the core functionality of WCGW in pure Rust for maximum efficiency and stability.
โก Performance
Benchmarks on i9-13900K + RTX 4090 (WSL2)
| Metric | Winx (Rust) | Python (WCGW) | Improvement |
|---|---|---|---|
| Startup Time | ** *Benchmarks performed using hyperfine and memory profiling tools on standard workloads.* |
๐ ๏ธ MCP Tools
| Tool | Description |
|---|---|
Initialize | Required. Setup workspace environment and shell mode options (Restricted/Full). |
BashCommand | Execute shell commands with full PTY support (interactive, stateful). |
ReadFiles | Efficient zero-copy file reading with line-range support. |
FileWriteOrEdit | Robust file modification using exact SEARCH/REPLACE blocks. |
ContextSave | Snapshot current project context (files + description) for resumption. |
ReadImage | Optimized base64 image reading for multimodal agent contexts. |
๐ Quick Start
Prerequisites
- Rust 1.75+
- Linux / macOS / WSL2
Installation
bash
git clone https://github.com/gabrielmaialva33/winx-code-agent.git
cd winx-code-agent
cargo build --releaseIntegration with Claude Desktop
Add to ~/.config/Claude/claude_desktop_config.json:
json
{
"mcpServers": {
"winx": {
"command": "/path/to/winx-code-agent/target/release/winx-code-agent",
"args": ["serve"],
"env": { "RUST_LOG": "info" }
}
}
}๐๏ธ Architecture
- PTY Shell: Full pseudo-terminal support for interactive commands.
- Zero-Copy I/O: Uses memory-mapped files for blazing fast reads.
- Strict Typing: Powered by Rust's safety and performance guarantees.
- WCGW Parity: Designed to be a drop-in replacement for Python-based toolsets.
๐ License
MIT - Gabriel Maia (@gabrielmaialva33)
โจ Optimized for the next generation of AI Agents โจ
Similar MCP
Based on tags & features
Trending MCP
Most active this week