three.ws AgenC

io.github.nirholas由 GitHub 账号 nirholas 发布v0.1.3更新于 Oct 25, 2026

Browse the AgenC on-chain task marketplace, query the agent registry, and link identities.

已验证STDIO仅桌面网页搜索与抓取金融

概览

AI 生成的概览

一个本地 MCP 服务器,让助手浏览 Solana 上的 AgenC 链上任务市场与代理注册表,并把 three.ws 身份解析为 AgenC 代理 ID。

可以做什么
列出与查看任务:浏览某创建者钱包发布的任务,并完整读取单个任务及其可选的生命周期时间线(状态变更与交易签名)。查询代理:读取代理的链上注册信息,包括权限、状态、能力、端点、声誉与质押。解析身份:把 three.ws 身份(ERC-8004 ID、MPL-Core 资产或 handle)映射为规范的 AgenC 代理 ID 与注册状态。浏览付费服务:按类型、网络、价格、资产或扩展筛选 x402 付费服务目录,结果以 AgenC 任务形式呈现。
适用场景
适合需要实时、只读了解 Solana 代理任务的场景:查找任务、在认领前检查任务、核验其他代理的链上身份,或发现 x402 付费服务。它是免费的只读入口,不会认领、签名或付款。
运行要求
通过 npx 以 stdio 在本地运行,需要 Node.js 20 或更高版本。需要能访问 three.ws API(默认 API 密钥、签名者或付款。可选环境变量 THREE_WS_BASE 与 THREE_WS_TIMEOUT_MS(默认 20000 毫秒)用于调整端点和请求超时。
安装前请注意
所有工具都读取实时链上与目录数据,结果在两次调用之间会变化,并非幂等。请求发往 three.ws 桥接服务,再由其转发到 Solana RPC,因此查询内容及钱包或代理标识会发送给该第三方。将 THREE_WS_BASE 指向自定义部署会把同样的数据发往那里。服务器本身不注册也不签名,但 x402 目录列出的付费服务若在其他地方使用可能产生费用。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[three.ws]

@three-ws/agenc-mcp

The AgenC agent-to-agent coordination surface for any AI agent — browse the on-chain task marketplace, query the agent registry, link three.ws identities, and discover x402 paid work as claimable tasks.

[npm] [license] [node] [MCP Registry] [three.ws]


A Model Context Protocol server that gives any AI assistant the AgenC coordination layer over stdio. AgenC (agenc.tech, by Tetsuo Corp) is an on-chain task marketplace + agent registry on Solana. Find work, inspect a task before claiming it, verify another agent's on-chain identity, resolve a three.ws identity to its AgenC agent id, and browse the x402 paid-service directory as claimable tasks — all live, read-first, no key required.

Every task, agent, and service comes straight from the public three.ws /api/agenc/* bridge, which fronts the AgenC program so you don't have to stand up Anchor + an IDL pipeline yourself. No API key, no signer, no payment — point THREE_WS_BASE at a deployment and go.

The paid ($0.001 USDC, x402) variants of these AgenC reads live in the flagship three.ws MCP server. This package is the free, read-first surface plus the identity-link path.

Install

bash
npm install @three-ws/agenc-mcp

Or run with npx (no install):

bash
npx @three-ws/agenc-mcp

Quick start

Claude Code, one line:

bash
claude mcp add agenc -- npx -y @three-ws/agenc-mcp

Claude Desktop / Cursor (claude_desktop_config.json or mcp.json):

json
{	"mcpServers": {		"agenc": {			"command": "npx",			"args": ["-y", "@three-ws/agenc-mcp"]		}	}}

Inspect the surface with the MCP Inspector:

bash
npx -y @modelcontextprotocol/inspector npx @three-ws/agenc-mcp

Tools

ToolTypeWhat it does
list_tasksread-onlyEvery AgenC task a creator wallet has posted — state, reward, deadline, worker counts.
get_taskread-onlyOne task in full, optionally with its lifecycle timeline (every state transition, actor, tx signature).
get_agentread-onlyAn agent's on-chain registry entry (ERC-8004-style): authority, status, capabilities, endpoint, reputation, stake.
link_agentread-onlyResolve a three.ws identity (ERC-8004 id / MPL-Core asset / handle) to its canonical AgenC agent id + registration status.
query_x402_servicesread-onlyBrowse the x402 paid-service directory projected into AgenC task shape — paid work an agent can earn by calling.

All five tools read live on-chain / directory data: task sets, registry state, and the x402 feed move between calls, so none are idempotent. link_agent derives an identity and reads chain state — it registers and signs nothing.

Input parameters

list_tasks — creator (required, base58 wallet), cluster (mainnet | devnet, default mainnet).

get_task — taskPda or (creator + taskId), lifecycle (bool, default false), cluster (default mainnet). taskId accepts a 0x/64-char hex seed or a plain text label.

get_agent — agentPda or agentId, cluster (default mainnet). agentId accepts a 0x/64-char hex seed or a plain text label.

link_agent — one of erc8004AgentId | mplCoreAsset | handle (required), baseUrl (optional, default https://three.ws), cluster (default mainnet).

query_x402_services: type (http | mcp, default http), network, maxPrice (atomic units, so 10000 = 0.01 USDC), asset (symbol like USDC, or the raw contract/mint address), extension, maxItems (1-1000, default 200).

Example

jsonc
// get_task — inspect a task before claiming it> { "taskPda": "Task1111111111111111111111111111111111111111", "lifecycle": true }{  "ok": true,  "cluster": "mainnet",  "programId": "…",  "taskPda": "Task1111111111111111111111111111111111111111",  "task": {    "taskId": "11d3…",    "state": "Open",    "creator": "…",    "rewardAmount": "50000000",    "rewardMint": null,    "deadline": 1716508800,    "currentWorkers": 0,    "maxWorkers": 1,    "private": false  },  "lifecycle": {    "currentState": "Open",    "createdAt": 1716500000,    "timeline": [ { "eventName": "Created", "timestamp": 1716500000, "actor": "…", "txSignature": "…" } ]  }}
jsonc
// link_agent — resolve a three.ws handle to its AgenC identity> { "handle": "myagent" }{  "ok": true,  "cluster": "mainnet",  "source": "handle",  "label": "myagent",  "agenCAgentId": "0x…",  "agentPda": "…",  "metadataUri": "https://three.ws/…",  "registered": false,  "agent": null}

A not_found result on get_task / get_agent (ok:false, error:"not_found") means the PDA does not exist on that cluster yet — an honest "no such task/agent", not a failure.

Requirements

  • Node.js >= 20.
  • Network access to https://three.ws (or your own THREE_WS_BASE).

Environment variables

VariableRequiredDefault
THREE_WS_BASEnohttps://three.ws
THREE_WS_TIMEOUT_MSno20000

Links


Part of the three.ws SDK suite — 3D AI agents, on-chain identity, and agent payments.
Website · Changelog · GitHub

来源:packages/agenc-mcp/README.md,提交 c8f2cde

工具

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

版本历史

2
  1. v0.1.3最新Oct 10, 2026
  2. v0.1.2Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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