Skip to main content

Cue MCP server/adapter

Project description

cuemcp

An MCP service on top of HAP (Human Agent Protocol) — compose humans and agents into a team.

PyPI Repo License


The pitch (10 seconds)

cuemcp is an MCP service built on top of HAP (Human Agent Protocol): it lets you compose MCP-capable humans and agent components into a collaborating team.

In the long run, the “decision node” in that team can be a human, a human assistant agent, or any other coordinating agent.


Quickstart (1 minute)

Goal

Add cuemcp as a local stdio MCP server inside your agent/runtime.

Assumptions:

  • You have uv.
  • Your machine can run uvx.

Claude Code

Claude Code can install local stdio MCP servers via claude mcp add.

claude mcp add --transport stdio cuemcp -- uvx --from cuemcp cuemcp

Windsurf

Windsurf reads MCP config from ~/.codeium/mcp_config.json and uses the Claude Desktop-compatible schema.

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

Cursor

Cursor uses mcp.json for configuration, and the Cursor CLI (cursor-agent) can list and manage servers. The CLI uses the same MCP configuration as the editor.

cursor-agent mcp list

Create an mcp.json in your project (Cursor discovers configs with project → global → parent directory precedence) and add a cuemcp stdio server:

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

VS Code

VS Code MCP configuration uses a JSON file with servers and optional inputs.

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

Codex

Codex can register a local stdio MCP server via the CLI:

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

For deeper configuration, Codex stores MCP servers in ~/.codex/config.toml.

Gemini CLI

Gemini CLI can add a local stdio MCP server via:

gemini mcp add cuemcp uvx --from cuemcp cuemcp

Fallback: run from source (no uvx)

If you don’t want to rely on uvx (for example, you prefer pinned source or local hacking), you can run cuemcp from a cloned repository.

git clone https://github.com/nmhjklnm/cue-mcp.git
cd cue-mcp
uv sync
uv run cuemcp

Then configure your MCP client to run:

  • command: cuemcp
  • args: []

How it works (the contract)

Semantics

  • An MCP-capable agent issues a cue (a request that requires collaboration).
  • The team responds (today via a UI; later possibly via a human assistant agent).
  • cuemcp provides the MCP-facing surface so any MCP participant can plug in.

Reference implementation (SQLite mailbox)

Current implementation uses a shared SQLite mailbox to connect the MCP server with a client/UI:

MCP Server  ──writes──▶  ~/.cue/cue.db  ──reads/writes──▶  cue-console (UI)
             ◀─polls──                         ◀─responds──
  • DB path: ~/.cue/cue.db
  • Core tables:
    • cue_requests — server ➜ UI/client
    • cue_responses — UI/client ➜ server

This keeps the integration simple: no websockets, no extra daemon, just a shared mailbox.


Pairing with cue-console

Rule #1: both sides must agree on the same DB location.

  • Start cuemcp.

  • Start cue-console.

  • Confirm cue-console is reading/writing ~/.cue/cue.db.

When the UI shows pending items, you’re watching the current reference implementation route collaboration through the console.


Dev workflow (uv)

uv sync
uv run cuemcp

Safety

  • Do not commit tokens.
    • If you store publish credentials in a project file (e.g. .secret), ensure it stays ignored.
  • Do not share tokens in chat.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cuemcp-0.1.2.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cuemcp-0.1.2-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file cuemcp-0.1.2.tar.gz.

File metadata

  • Download URL: cuemcp-0.1.2.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for cuemcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 12163eaff3ee8d7f5693b84c6e16d624faf62323273165bda3e5aba1177e5f43
MD5 ebee556b09ebd8f13b16aeb24271d6d5
BLAKE2b-256 0ecd88f74c5de449bd58eeb18dd793fa62ffd4a21a38c660624ba17f2fa13b36

See more details on using hashes here.

File details

Details for the file cuemcp-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: cuemcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for cuemcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9948ced93d39ea0096564a530092e418c34f4f7b1beb648d1e57816c69155839
MD5 6062fd77b9f77d3311aaa5ba18cc32fc
BLAKE2b-256 5239725cad0acc107ec048d7d03db8b8f723bf9a152d9c83467c29a7d370749c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page