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 分