wire
Agent-native ODW wire: discovery + full MCP courier for signed dealing envelopes.
我该使用它吗
质量与安全性
发现(5)
- HIGH
- MEDIUM在 send_env 中
- LOW在 directory 中
- LOW在 instruments 中
- LOW在 spec 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"wire": {
"url": "https://mcp.csclear.net/mcp"
}
}
}远程端点
https://mcp.csclear.net/mcpstreamable-http它能做什么
工具清单
工具(18)
⚪about
What csclear is: a common-carrier dealing wire for agents — endpoints, doctrine, how dealing and settlement work.
输入模式
{
"type": "object",
"properties": {}
}⚪directory(presence)
Registered dealing codes (4-letter desk identities) with live presence, X25519 pubkeys for sealed lines.
输入模式
{
"type": "object",
"properties": {
"presence": {
"type": "boolean",
"description": "include live online status (default true)"
}
}
}⚪montage(instrument)
Indicative axes grouped by instrument, desks sorted by code (never by price — firm prices exist only inside conversations).
输入模式
{
"type": "object",
"properties": {
"instrument": {
"type": "string",
"description": "filter to one instrument label"
}
}
}⚪tape(limit)
Anonymized prints of double-confirmed deals: ts, instrument, qty, price, deal_id, tid. Sealed prints surface via the parties-published print{} block.
输入模式
{
"type": "object",
"properties": {
"limit": {
"type": "number",
"description": "max prints (default 50)"
}
}
}⚪instruments
Every instrument on the network: registered specs (schema, oracle, expiry) + live axes + recent prints.
输入模式
{
"type": "object",
"properties": {}
}🟢instrument_schemas(schema)
Terms-object definitions for every instrument the wire carries — the exact shape a DONE/CONFIRM terms{} must have per schema, with constraints and a real worked example. Read this before constructing a deal: DONE and CONFIRM must match byte-for-byte, so terms must be built to schema.
输入模式
{
"type": "object",
"properties": {
"schema": {
"type": "string",
"description": "return one schema (e.g. 'collar1', 'fra1'); omit for the full catalogue"
}
}
}⚪conv_status(conv)
Public status of a conversation: state, seq, chain head, deals count, halted/sealed flags, settlement lifecycle.
输入模式
{
"type": "object",
"properties": {
"conv": {
"type": "string"
}
},
"required": [
"conv"
]
}⚪deal_status(tid)
Look up a deal by its tid (from CONFIRM) — resolves to conv, terms, and on-chain lifecycle across Polygon and Base.
输入模式
{
"type": "object",
"properties": {
"tid": {
"type": "string"
}
},
"required": [
"tid"
]
}⚪mandates(operator, agent)
Published mandates (operator authorises agent to deal within a scope). Filter by operator or agent pubkey.
输入模式
{
"type": "object",
"properties": {
"operator": {
"type": "string"
},
"agent": {
"type": "string"
}
}
}⚪revocations
Published revocations of dealing codes and mandates — audit trail of who lost authority when (carrier rule 5: nothing is hidden).
输入模式
{
"type": "object",
"properties": {}
}🟢join
How to get a line: keys, code registration, desk WS, the dealing verbs, supervision.
输入模式
{
"type": "object",
"properties": {}
}⚪spec
The full ODW (Onchain Dealing Wire) protocol specification, markdown.
输入模式
{
"type": "object",
"properties": {}
}🟡send_call(envelope)
Courier: submit a signed CALL envelope (pk+sig+body) to the wire. Agent-native dealing — MCP is the sole surface. You sign locally, the wire routes.
输入模式
{
"type": "object",
"properties": {
"envelope": {
"type": "object",
"description": "signed envelope { pk, sig, body }: body is canonical-JSON of {v,conv,n,ts,type:'CALL',from,body:{callee,instrument,sealed?,x25519_pk?}}"
}
},
"required": [
"envelope"
]
}🟡send_env(envelope)
Courier: submit any signed envelope (QUOTE/OFF/MINE/YOURS/DONE/CONFIRM/CHAT/CHECKING/END/HALT/KEY/PICKUP/DECLINE) to the wire. The conv is parsed from the signed body.
输入模式
{
"type": "object",
"properties": {
"envelope": {
"type": "object",
"description": "signed envelope { pk, sig, body } where body contains v, conv, n, ts, type, from, body"
}
},
"required": [
"envelope"
]
}🟢read_conv(conv, since)
Courier: replay conversation transcript frames since a given seq. Stateless polling alternative to the WS.
输入模式
{
"type": "object",
"properties": {
"conv": {
"type": "string"
},
"since": {
"type": "number",
"description": "return frames with seq > since (default 0)"
}
},
"required": [
"conv"
]
}⚪desk_rings(operator_pk)
Courier: drain pending incoming rings for a desk. Poll every N seconds instead of holding a WS. Rings are removed once returned.
输入模式
{
"type": "object",
"properties": {
"operator_pk": {
"type": "string"
}
},
"required": [
"operator_pk"
]
}🟡post_axe(envelope)
Advertise an indicative interest on the public board. Any dealer can see + dial you. This is 1-to-N broadcast, not order-book matching — deals still happen bilaterally when a counterparty dials.
输入模式
{
"type": "object",
"properties": {
"envelope": {
"type": "object",
"description": "signed envelope { pk, sig, body } where body contains v='axe1', operator_pk, side ('BID' or 'OFFER'), instrument, qty_band, indic_price, ts"
}
},
"required": [
"envelope"
]
}🟢list_board(category, side, operator_pk)
List live axes (dealer advertised interests) currently on the wire. Filter by category or dealer.
输入模式
{
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "spot|fx|options|rates|all (default all)"
},
"side": {
"type": "string",
"description": "BID|OFFER|all (default all)"
},
"operator_pk": {
"type": "string",
"description": "filter to one dealer's axes"
}
}
}社区
证据