• v1.3.2 8276b0cc59

    feat: MCP bridge binary + HTTP server + auto-config injection
    Some checks failed
    Build & Sign Wraith / Build Windows + Sign (push) Failing after 16s

    Ghost released this 2026-03-25 03:10:09 +00:00 | 93 commits to main since this release

    Complete MCP communication pipeline:

    Backend HTTP server (axum on localhost:0):

    • POST /mcp/sessions — list active sessions
    • POST /mcp/terminal/read — read scrollback (ANSI stripped)
    • POST /mcp/terminal/execute — send command + marker, capture output
    • Port written to data_dir/mcp-port at startup
    • Shares SshService and ScrollbackRegistry with AppState via Clone

    Bridge binary (wraith-mcp-bridge):

    • Speaks JSON-RPC 2.0 over stdio (MCP protocol)
    • Translates tool calls to HTTP requests against running Wraith
    • Implements initialize, tools/list, tools/call
    • Exposes: terminal_read, terminal_execute, list_sessions
    • Reads MCP port from data_dir/mcp-port

    Auto-config:

    • PTY spawn injects WRAITH_MCP_BRIDGE env var
    • SshService and ScrollbackRegistry derive Clone for sharing

    Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

    Downloads