Skip to content

MCP Streamable HTTP transport (--listen) and opt-in persistent scripting REPL tool #62

Backlog

Description

@m3lonxd

Remote workflows currently use adapters/http/server.py (REST), while adapters/mcp/server.py speaks stdio only.

Scope

  • Add an authenticated Streamable HTTP MCP listener (--listen ADDR:PORT, serving /mcp) to adapters/mcp/server.py with constant-time bearer token auth (CUL_MCP_TOKEN_FILE / CUL_MCP_TOKEN), strict Host allowlist, and Origin rejection (refusing shell execution over HTTP).
  • Add an opt-in persistent scripting REPL tool (stdio-only behind an explicit env flag) exposing the desktop facade API for complex stateful multi-step flows that exceed static cul_batch steps.
  • Add offline unit tests in tests/test_mcp_server.py.

Inspired by agent-sh/computer-use-linux (MIT) --listen and repl.rs.

Activity

  1. added
    enhancement
    help wanted
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions