gabrielmaialva33/winx-code-agent — reverse-engineered prompt

Reverse engineered prompt

Build me a local MCP server in Rust that I can hand to coding agents like Claude or Codex so they can safely work inside a real repo without me babysitting the shell.

I want one process that manages a stateful terminal session, file reads and edits, and interactive terminal apps properly, so cd sticks, Ctrl C works, long running sessions can be checked or resumed, and noisy output gets cleaned up so it does not waste context. Please support workspace modes for full access, read only planning, and a restricted code writing mode with command and file write limits. It should let the agent read files by line range, make reliable single or multi file edits with undo, build a semantic code map for symbol lookup across the repo, save task context for handoff and resuming later, and read images from the workspace.

If it fits, also add an optional HTTP mode for remote MCP clients, plus sensible secret redaction and sandboxing. Look up current MCP docs online if you need to.

Want more depth? Deep Reverse