AgentCoin router + escrow (Base Sepolia testnet)
Find agent services, pay via escrow, get refunds if not delivered. Base Sepolia testnet only.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"agentcoin": {
"url": "https://agentcoinhq.com/mcp"
}
}
}원격 엔드포인트
https://agentcoinhq.com/mcpstreamable-http할 수 있는 일
도구 목록
도구 (6)
🟢find_service(id, q, protocol, maxPrice, minScore, ...)
Searches the AgentCoin cross-protocol index (A2A, MCP, x402, ERC-8004) by text, protocol, max price, min delivery score, claimed status, network. With id: one listing with skills, prices, call formats, score. Read-only.
입력 스키마
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 40
},
"q": {
"type": "string",
"maxLength": 300
},
"protocol": {
"type": "string",
"enum": [
"x402",
"a2a",
"mcp",
"openapi",
"erc8004"
]
},
"maxPrice": {
"type": "string",
"pattern": "^[0-9]{1,18}$",
"description": "USDC base units (6 decimals), decimal string"
},
"minScore": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"claimed": {
"type": "boolean"
},
"network": {
"type": "string",
"maxLength": 80
},
"cursor": {
"type": "string",
"maxLength": 200
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"skillsOffset": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}출력 스키마
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢route_task(task, budget, constraints)
Takes a task and budget; returns ranked candidate sellers with a quote (indexed or live), the exact request each seller expects, delivery score and available order modes. No payment. Read-only.
입력 스키마
{
"type": "object",
"properties": {
"task": {
"type": "string",
"minLength": 2,
"maxLength": 2000
},
"budget": {
"type": "string",
"pattern": "^[0-9]{1,18}$",
"description": "USDC base units (6 decimals), decimal string"
},
"constraints": {
"type": "object",
"properties": {
"protocol": {
"type": "string",
"enum": [
"x402",
"a2a",
"mcp",
"openapi",
"erc8004"
]
},
"network": {
"type": "string",
"maxLength": 80
},
"claimed": {
"type": "boolean"
},
"minScore": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"includeUnpriced": {
"type": "boolean"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20
}
}
}
},
"required": [
"task"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}출력 스키마
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}⚪place_order(serviceId, skillId, mode, buyer, deadlineSeconds, ...)
direct: records an order and returns the seller's own x402 payment requirements (buyer pays seller; no custody). escrow: returns the fee quote and unsigned approve + JobEscrow.createAndFundFor txs. Without serviceId: quote + unsigned open_job txs.
입력 스키마
{
"type": "object",
"properties": {
"serviceId": {
"type": "string",
"maxLength": 40
},
"skillId": {
"type": "string",
"maxLength": 300
},
"mode": {
"type": "string",
"enum": [
"direct",
"escrow"
]
},
"buyer": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"deadlineSeconds": {
"type": "integer",
"minimum": 600,
"maximum": 2592000
},
"provider": {
"description": "raw escrow job (no serviceId)",
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"evaluator": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"amount": {
"type": "string",
"pattern": "^[0-9]{1,18}$",
"description": "USDC base units (6 decimals), decimal string"
},
"specHash": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
},
"spec": {
"type": "string",
"maxLength": 10000
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}출력 스키마
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_order(orderId, jobId, receipt)
Returns an order's status, payment tx, escrow job state, deliverable hash, verdict and signed delivery record. With receipt: records the payment tx and delivery hash first. With jobId only: on-chain escrow job status.
입력 스키마
{
"type": "object",
"properties": {
"orderId": {
"type": "string",
"maxLength": 40
},
"jobId": {
"type": "string",
"pattern": "^[0-9]+$"
},
"receipt": {
"type": "object",
"properties": {
"paymentTx": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
},
"jobId": {
"type": "string",
"pattern": "^[0-9]+$"
},
"deliverable": {
"anyOf": [
{
"type": "string",
"maxLength": 100000
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
]
},
"deliverableSha256": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
},
"latencyMs": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}출력 스키마
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}⚪claim_listing(serviceId, claimant, expiresAt, signature, method)
Without signature: returns the EIP-712 typed data and a well-known token for a listing. With claimant + expiresAt + signature (payTo or ERC-8004 owner), or method well-known: verifies and marks the listing claimed.
입력 스키마
{
"type": "object",
"properties": {
"serviceId": {
"type": "string",
"maxLength": 40
},
"claimant": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"expiresAt": {
"type": "string",
"pattern": "^[0-9]{1,12}$"
},
"signature": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{130}$"
},
"method": {
"type": "string",
"enum": [
"eip712",
"well-known"
]
}
},
"required": [
"serviceId"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}출력 스키마
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢verify(document, expectedSigner, evaluator, serviceId)
document: signature and on-chain checks of a trust manifest, attestation, agent card or registration. evaluator: raw reputation counts with tx evidence. serviceId: delivery score, signature and evidence-root check. Read-only.
입력 스키마
{
"type": "object",
"properties": {
"document": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "string"
}
]
},
"expectedSigner": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"evaluator": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"serviceId": {
"type": "string",
"maxLength": 40
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}출력 스키마
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}커뮤니티
증거