Skip to content

Ju-Yi-AI-Lab/cue-stack

Repository files navigation

CueStack


Repo: cue-stack License CI npm npm downloads npm npm downloads PyPI PyPI downloads Python versions

Contributing · Trademark

Mobile Desktop
Mobile screenshot Desktop screenshot

Treat your agent as a collaborator.

Open the console.

Agents can run for hours. At that point they stop feeling like “tools” and start feeling like “coworkers”. Coworkers don’t dump their entire context on you — they bring progress, questions, and decisions. HAP defines that contract; cue-command implements it.

Package What it is Source
cue-console UI inbox (desktop + mobile) /cue-console
cue-command HAP command adapter (cueme) /cue-command
cue-mcp HAP implementation (MCP server) /cue-mcp

Start here (copy/paste runway)

1) Install packages & start UI

npm install -g cue-console
npm install -g cueme
cue-console start

Open http://localhost:3000.

2) Configure system prompt

Use cueme proto to inject protocol.md into your runtime's persistent rules.

Example (macOS + Windsurf):

cueme proto apply windsurf

Reference:

3) Start the first chat in your IDE, then continue in cue-console

In your IDE chat panel, send the text:

cue

Then continue follow-up conversation rounds in cue-console (http://localhost:3000).

Optional: MCP server (cuemcp)

Recommended runtime command:

  • command: uvx
  • args: --from cuemcp cuemcp

Claude Code:

claude mcp add --transport stdio cuemcp -- uvx --from cuemcp cuemcp
Other runtimes (Windsurf / Cursor / Codex / VS Code)

Windsurf (~/.codeium/mcp_config.json):

{
  "mcpServers": {
    "cuemcp": {
      "command": "uvx",
      "args": ["--from", "cuemcp", "cuemcp"]
    }
  }
}

Cursor (mcp.json in your project):

{
  "mcpServers": {
    "cuemcp": {
      "command": "uvx",
      "args": ["--from", "cuemcp", "cuemcp"],
      "env": {}
    }
  }
}

Codex:

codex mcp add cuemcp -- uvx --from cuemcp cuemcp

VS Code:

{
  "servers": {
    "cuemcp": {
      "type": "stdio",
      "command": "uvx",
      "args": ["--from", "cuemcp", "cuemcp"]
    }
  }
}

If it doesn’t work (30-second checklist)

  • cue-console is running and you opened http://localhost:3000
  • If you're using cuemcp: uvx is available (uv installed) and your runtime can launch the MCP server
  • Both sides can access the same mailbox DB: ~/.cue/cue.db
  • Your runtime has the HAP rule injected (so it calls cue() before ending and waits for you)

Architecture (at a glance)
Agent/Runtime  ⇄  (cueme OR cuemcp)  ⇄  ~/.cue/cue.db  ⇄  cue-console
flowchart LR
  A["Agent / Runtime\nClaude Code • Cursor • Windsurf • Codex"]
  B["cueme\ncommand adapter"]
  E["cuemcp\nMCP server"]
  C[("~/.cue/cue.db\nSQLite mailbox")]
  D["cue-console\nUI (desktop/mobile)"]

  A -->|command| B
  A -->|MCP stdio| E
  B --> C
  E --> C
  D <-->|reads/writes| C
Loading

QQ Group

QQ group QR code

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •