๐ 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. Benchmarks on i9-13900K + RTX 4090 (WSL2) - Rust 1.75+ - Linux / macOS / WSL2 Add to ~/.config/Claude/claudedesktopcon
Add this skill
npx mdskills install gabrielmaialva33/winx-code-agentHigh-performance MCP server with useful file and shell tools, but missing detailed usage examples
1# โจ Winx - High-Performance Rust MCP Server โจ23<p align="center">4 <strong>๐ 1:1 Optimized Rust Implementation of WCGW (What Could Go Wrong) ๐</strong>5</p>67<p align="center">8 <img src="https://img.shields.io/badge/language-Rust-orange?style=flat&logo=rust" alt="Language" />9 <img src="https://img.shields.io/badge/license-MIT-blue?style=flat" alt="License" />10 <img src="https://img.shields.io/badge/MCP-compatible-purple?style=flat" alt="MCP" />11</p>1213Winx is a specialized Model Context Protocol (MCP) server that provides high-performance tools for LLM code agents. It implements the core functionality of [WCGW](https://github.com/rusiaaman/wcgw) in pure Rust for maximum efficiency and stability.1415## โก Performance1617**Benchmarks on i9-13900K + RTX 4090 (WSL2)**1819| Metric | Winx (Rust) | Python (WCGW) | Improvement |20|--------|:-----------:|:--------------:|:-----------:|21| **Startup Time** | **< 5ms** | ~200ms | ๐ **40x Faster** |22| **Shell Command Latency** | **< 1ms** | ~15ms | ๐ **15x Lower** |23| **File Read (1MB)** | **0.4ms** | ~40ms | ๐ **100x Faster** |24| **Memory Footprint** | **~5MB** | ~65MB | ๐ **13x Smaller** |2526> *Benchmarks performed using hyperfine and memory profiling tools on standard workloads.*2728## ๐ ๏ธ MCP Tools2930| Tool | Description |31|------|-------------|32| `Initialize` | **Required**. Setup workspace environment and shell mode options (Restricted/Full). |33| `BashCommand` | Execute shell commands with **full PTY support** (interactive, stateful). |34| `ReadFiles` | Efficient zero-copy file reading with line-range support. |35| `FileWriteOrEdit` | Robust file modification using **exact SEARCH/REPLACE blocks**. |36| `ContextSave` | Snapshot current project context (files + description) for resumption. |37| `ReadImage` | Optimized base64 image reading for multimodal agent contexts. |3839## ๐ Quick Start4041### Prerequisites42- Rust 1.75+43- Linux / macOS / WSL24445### Installation4647```bash48git clone https://github.com/gabrielmaialva33/winx-code-agent.git49cd winx-code-agent50cargo build --release51```5253### Integration with Claude Desktop5455Add to `~/.config/Claude/claude_desktop_config.json`:5657```json58{59 "mcpServers": {60 "winx": {61 "command": "/path/to/winx-code-agent/target/release/winx-code-agent",62 "args": ["serve"],63 "env": { "RUST_LOG": "info" }64 }65 }66}67```6869## ๐๏ธ Architecture7071- **PTY Shell:** Full pseudo-terminal support for interactive commands.72- **Zero-Copy I/O:** Uses memory-mapped files for blazing fast reads.73- **Strict Typing:** Powered by Rust's safety and performance guarantees.74- **WCGW Parity:** Designed to be a drop-in replacement for Python-based toolsets.7576## ๐ License7778MIT - Gabriel Maia ([@gabrielmaialva33](https://github.com/gabrielmaialva33))7980<p align="center">81 <strong>โจ Optimized for the next generation of AI Agents โจ</strong>82</p>83
Full transparency โ inspect the skill content before installing.