Winx Code Agent logo

Winx Code Agent

by gabrielmaialva33

Rust MCP runtime for remote agents with persistent shells, guarded file editing, code navigation, images, and session recovery.

Install Winx Code Agent

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://host/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

gabrielmaialva33/winx-code-agent connects MCP clients to local or remote development environments through persistent shell sessions and guarded repository tools. It supports stdio for local clients and Streamable HTTP for remote agents, with session guardians that preserve terminal state across disconnects. Reach for it when an agent needs commands, file edits, code navigation, image input, or resumable workspace context rather than only API access. Its optional Eulix and Herdr integrations extend code analysis and agent-workspace workflows when configured by the operator.

Use cases

  • Expose a local workspace to a remote coding agent
  • Run persistent shell commands across client reconnects
  • Apply revision-aware edits across multiple files
  • Navigate symbols and references in a repository
  • Save workspace context for task handoffs

Key features

  • Persistent PTY-backed shell sessions
  • Streamable HTTP and stdio transports
  • Revision-aware multi-file editing with undo
  • Token-bounded reads and terminal output
  • Tree-sitter code navigation across 13 languages
  • Native MCP image delivery

Tools7

What Winx Code Agent lets your agent do. Expand a tool for its parameters.

Self-reported~505 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

24/24 checks healthy over the last 112d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars41Stargazers on the source repository.
Last commit6d agoMost recent push to the default branch.
Tools exposed7Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Winx Code Agent works

What gabrielmaialva33/winx-code-agent does

gabrielmaialva33/winx-code-agent is a Rust MCP runtime for exposing a development workspace to agents that cannot directly run inside it. It combines persistent terminal execution with bounded, context-aware repository operations. Sessions retain their shell state and can be resumed after HTTP disconnects, client restarts, or adapter upgrades.

The runtime is designed for both local and remote deployments. Local MCP clients can launch it over stdio, while remote clients connect through a Streamable HTTP endpoint. The HTTP deployment keeps the service on loopback by default and uses bearer-token authentication. Separate principals can have isolated authenticated sessions and workspaces.

How it works

A session begins with Initialize, which establishes a linked thread_id and workspace_root and provides a bounded directory for temporary session artifacts. The server separates its MCP adapter from the processes that own each PTY. A guardian keeps the shell alive, allowing commands to continue while the client disconnects and reconnects.

BashCommand supports foreground and background execution, status polling, interactive input such as Enter and Ctrl-C, and terminal user interfaces. Output is bounded and rendered for model consumption. File reads and edits use workspace and path controls, while shell and file results can include redaction and continuation information.

Setup and configuration

Install the command with Cargo:

bash
cargo install winx-code-agent

For a local HTTP endpoint, create a protected token file and start the service with an explicit loopback bind address:

bash
mkdir -p ~/.config
install -m 600 /dev/null ~/.config/winx-http-token
openssl rand -hex 32 > ~/.config/winx-http-token
winx-code-agent serve --http --bind 127.0.0.1:8000 --token-file ~/.config/winx-http-token

Clients connect to /mcp using the token as a bearer credential. Remote or cloud clients need a reachable HTTPS endpoint; a private tunnel, VPN, or authenticated reverse proxy can provide that access while Winx remains on loopback. Stdio remains available for local MCP configurations.

Tools and capabilities

  • ReadFiles reads one or multiple files with line numbers, ranges, symbol-oriented paths, revisions, and visible-range metadata.
  • EditFiles creates, modifies, patches, verifies, and undoes files. A single request can cover up to 100 unique targets, with revision-bound line patches or intentional search-and-replace operations.
  • CodeMap produces repository or file symbol maps and can find references. Its outline mode covers 13 languages, including Python and Elixir; optional Eulix support adds callers, callees, and impact analysis.
  • ReadImage delivers validated JPEG, PNG, GIF, or WebP files as native MCP image content, with size and dimension limits.
  • ContextSave writes task details, file globs, workspace context, active files, and Git state into one handoff file.
  • BashCommand and Initialize provide persistent execution, workspace bootstrapping, interactive terminal control, and session identity.

Tool profiles can limit discovery and authority to full, coding, read-only, terminal, or an exact per-principal allowlist. Linux deployments can optionally use Landlock for additional sandboxing.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Winx Code Agent

gabrielmaialva33/winx-code-agent is an MCP server that connects remote or local agents to development workspaces through persistent shell sessions and guarded repository tools. Its main tools include BashCommand, ReadFiles, EditFiles, CodeMap, ReadImage, ContextSave, and Initialize for execution, file work, navigation, image input, and session setup.

Install it with Cargo using `cargo install winx-code-agent`. You can then run it over stdio for local MCP clients or start Streamable HTTP with `winx-code-agent serve --http`, a bind address, and a bearer-token file.

Yes, it supports remote clients through Streamable HTTP. The documented deployment binds to loopback, authenticates requests with a bearer token, and exposes the MCP endpoint at `/mcp`; remote access requires a reachable HTTPS endpoint or private tunnel in front.

Yes, its session guardians keep PTYs alive across HTTP disconnects, client restarts, and adapter upgrades. A later connection can resume a session using the associated thread identity and workspace.

Yes, `CodeMap` provides symbol outlines and reference searches, with optional Eulix-backed callers, callees, and impact analysis. Outline mode supports 13 languages, including Python and Elixir.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWinx Code Agent AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gabrielmaialva33-winx-code-agent?style=directory)](https://allmcps.com/mcp/gabrielmaialva33-winx-code-agent)
HTML Embed
<a href="https://allmcps.com/mcp/gabrielmaialva33-winx-code-agent"><img src="https://allmcps.com/api/badge/gabrielmaialva33-winx-code-agent?style=directory" alt="Winx Code Agent on AllMCPs" /></a>