Cueport

io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.1.0更新于 Nov 3, 2026

CueAPI 代理工作调度:提示、执行、认领、心跳和结果。

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

CueAPI agent-work scheduling: cues, executions, claiming, heartbeats, and outcomes.

已验证STDIO仅桌面

概览

Cueport 的本地 MCP 服务;无需登录;STDIO。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Cueport,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

cueport

cueport gives an MCP host or a terminal access to CueAPI, the coordination layer for agent work: schedule cues (recurring cron or one-time), fire them on demand, watch their executions, claim worker executions, keep a claim alive with heartbeats, and close the loop by reporting an outcome backed by evidence. One binary serves a command-line interface and a stdio MCP server.

An API key is required. Set CUEAPI_API_KEY to a key from your CueAPI account; every call sends it as Authorization: Bearer <key>, and a missing key fails before any request is attempted. Self-hosting or testing against another host? Set CUEAPI_BASE_URL alongside the key; when it is unset, calls go to https://api.cueapi.ai.

Install

bash
npx @reneturcios/cueport list-cues

Or run the container image:

bash
docker run -i ghcr.io/cloudcorprecords/cueport

The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.

CLI

bash
cueport create-cue --name digest --schedule "0 9 * * *" --callback-url https://example.test/hookcueport list-cues --status active --limit 5cueport get-cue cue_abc123cueport fire-cue cue_abc123 --payload-override '{"topic":"release notes"}'cueport update-cue cue_abc123 --name "morning digest"cueport pause-cue cue_abc123cueport resume-cue cue_abc123cueport delete-cue cue_abc123cueport list-executions --cue-id cue_abc123 --status failedcueport get-execution exec_123cueport list-claimable --task digest --agent worker-acueport claim-execution exec_123 --worker-id worker-7cueport claim-next --task-name digest --worker-id worker-7cueport heartbeat exec_123 --worker-id worker-7cueport report-outcome exec_123 --outcome succeeded --external-id ext_42 --result-url https://example.test/result
cueport --version

Commands print the upstream JSON payload. Exit codes: 0 on success, 1 when a call fails (including a missing API key or an upstream API error), 2 for usage errors.

Two behaviours are worth knowing. Pausing and resuming are not separate endpoints: both are a PATCH /v1/cues/{id} carrying only a status field (paused or active). And claim-next is a fan-out, not a single call: the claim endpoint has no task filter, so the tool first fetches the server-side filtered claimable list, picks the oldest entry, and then claims that execution by id.

MCP server

One bin serves both faces. The mcp subcommand starts a stdio MCP server:

bash
npx -y @reneturcios/cueport mcp

MCP client configuration:

json
{  "mcpServers": {    "cueport": {      "command": "npx",      "args": ["-y", "@reneturcios/cueport", "mcp"],      "env": {        "CUEAPI_API_KEY": "cue_sk_..."      }    }  }}

Add CUEAPI_BASE_URL to the env block to point the server at a different CueAPI-compatible host.

Tools

ToolInputWhat it does
cueapi_create_cuename, schedule (required); optional description, callback, method, timezone, payload, task and platform fieldsCreate a recurring or one-time cue.
cueapi_list_cuesstatus, limit (optional)List cues, filtered by status.
cueapi_get_cuecue_idFetch one cue.
cueapi_fire_cuecue_id; optional payload_override, merge_strategy (merge default, or replace)Fire a cue immediately.
cueapi_update_cuecue_id plus any mutable cue fieldsSparse update; only provided fields are sent.
cueapi_pause_cuecue_idPause a cue (PATCH with status paused).
cueapi_resume_cuecue_idResume a cue (PATCH with status active).
cueapi_delete_cuecue_idDelete a cue permanently.
cueapi_list_executionscue_id, status, limit (optional)List executions, filtered by cue and status.
cueapi_get_executionexecution_idFetch one execution, with state and outcome.
cueapi_list_claimable_executionstask, agent, limit (optional)List unclaimed worker executions, filtered server-side.
cueapi_claim_executionexecution_id; optional worker_idAtomically claim one execution.
cueapi_claim_next_executiontask_name, worker_id (optional)Claim the oldest claimable execution.
cueapi_execution_heartbeatexecution_id, worker_id (both required)Extend a claim lease; worker_id travels in the X-Worker-Id header.
cueapi_report_outcomeexecution_id, outcome (required); optional evidence fieldsReport a write-once outcome with evidence.

Development

bash
npm installnpm run build   # tsc -> dist/npm test        # node test runner over test/*.test.ts, no network (fake fetch fixtures)npm run dev     # run the CLI from source via tsx

License

MIT — see LICENSE.

来源:README.md,提交 892ae91

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Nov 3, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分