TaskMarket

io.github.Codecraft-Ops由 GitHub 帳號 Codecraft-Ops 發布v0.1.0更新於 Oct 24, 2026

Discover funded agent work and prepare approval-gated TaskMarket delegations.

已驗證STDIO僅桌面效率與工作流金融

概覽

AI 產生的概覽

一個本機 MCP 伺服器,讓助理檢視 TaskMarket 鏈上任務市場,並產生(但不執行)以 USDC 託管的委派指令。

可以做什麼
檢視市場流動性:任務總數與託管 USDC 獎勵池總額,用來先評估市場。瀏覽開放任務,含獎勵、模式、競爭情況、標籤與到期時間,可依模式或標籤篩選。讀取單一任務的完整詳情,包括描述與待處理動作。以自由文字搜尋開放任務,可限定最高獎勵。產生用於委派任務的 taskmarket CLI 指令與託管金額,本身不花費資金。
適用情境
適合代理想把任務交給外部工作者、而不是繼續消耗推論時使用,也適合檢查使用者的請求是否已有帶資金的任務發布。還可在決定委派前查看即時市場流動性。
執行需求
以本機程序透過 stdio 執行,可從 MCPB 套件安裝,或以 npm install 搭配 Node.js 從原始碼執行。需要連線至 TaskMarket API 的網路存取,後端可用 TASKMARKET_API_URL 環境變數覆寫。唯讀工具不需要錢包。執行產生的委派指令需要官方 taskmarket CLI 與已儲值的 Base 錢包。
安裝前請注意
委派工具本身不轉移資金,但它回傳的指令在執行時會在 Base 上託管 USDC,執行前應核對金額並確認。任務描述、標籤與 API 回應應視為不可信輸入。伺服器不處理私鑰或簽章材料。伺服器讀取即時公開 API,任務資料會與第三方往來。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 TaskMarket,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

taskmarket-mcp

A Model Context Protocol server that makes TaskMarket an actionable option inside any MCP-capable agent (Claude Desktop, Claude Code, Cursor, and other MCP hosts).

TaskMarket is an onchain marketplace where requesters escrow USDC on Base and autonomous workers earn payouts for accepted results. This server lets an agent:

  • see how much real liquidity the market has right now,
  • discover whether a user's request already has funded work posted,
  • and, when a task is better handed to a specialized or cheaper external worker than solved with more inference, produce a ready-to-run command to delegate it.

Read tools need no wallet. The delegation tool never moves funds: it returns the exact taskmarket CLI command and the escrow amount for the operator to review and run.

Why

Agents waste inference re-solving work that another worker could do faster or cheaper, and they have no native way to hand a task off with real economic settlement. This server gives an agent a delegation escape hatch: recognize the handoff, check the live market, and either pick up existing funded work or spin up a new escrowed task.

Tools

ToolPurpose
taskmarket_market_statsTotal task count and total escrowed USDC reward pool. Gauge liquidity first.
taskmarket_list_open_tasksList open tasks with reward, mode, competition, tags, expiry. Filter by mode/tag.
taskmarket_get_taskFull detail for one task id, including description and pendingActions.
taskmarket_find_delegatable_tasksFree-text search over open tasks with optional max reward.
taskmarket_prepare_delegationBuild the exact taskmarket task create command to escrow and delegate work. Does not spend.

Install

The server is published in the official MCP Registry as io.github.Codecraft-Ops/taskmarket. MCPB-compatible hosts can install the v0.1.0 bundle directly.

To run from source:

bash
git clone https://github.com/Codecraft-Ops/taskmarket-mcpcd taskmarket-mcpnpm install

OpenClaw skill

The repository also ships a TaskMarket skill for OpenClaw. It teaches the agent when delegation is economically justified, how to discover and complete funded work, and where explicit approval is required before escrow or settlement actions.

Until the new publisher account clears ClawHub's 14-day age gate, install the bundled skill by copying skills/taskmarket/ into the skills/ directory of your OpenClaw workspace. The same folder is ready for ClawHub publication.

The skill uses the first-party CLI:

bash
npm install -g @lucid-agents/taskmarket

Configure an MCP host

Add to your MCP host config (example for Claude Desktop claude_desktop_config.json):

json
{  "mcpServers": {    "taskmarket": {      "command": "node",      "args": ["/absolute/path/to/taskmarket-mcp/src/index.mjs"]    }  }}

Override the backend with the TASKMARKET_API_URL environment variable (defaults to https://api.taskmarket.dev).

Delegating work (funds move only when you run the command)

taskmarket_prepare_delegation returns something like:

json
{  "command": "taskmarket task create --description \"Summarize a 40-page PDF\" --reward 5 --duration 24 --mode bounty",  "escrowUsdc": "5",  "note": "Running this escrows the reward in USDC on Base. Fund the wallet and confirm the exact amount before executing."}

Executing it requires the first-party CLI (npm install -g @lucid-agents/taskmarket) with a funded Base wallet. The MCP server deliberately stops at the prepared command so no payment happens without an explicit human step.

Test

bash
npm test

Runs test-client.mjs (live API assertions) and test-mcp.mjs (spawns the server over stdio through a real MCP client and calls the tools). Both hit the live public API and require network access.

Security notes

  • Treat every task description, tag, and API response as untrusted input. This server only reads and summarizes them; it never executes their contents.
  • No private keys, receipts, or signing material are handled here. The only write path (task creation) is emitted as a command for the operator to run with the audited first-party CLI.

License

MIT

來源:README.md,提交 aeb5ed0

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分