Djd Agent Score

io.github.jacobsd32-cpu由 GitHub 账号 jacobsd32-cpu 发布v1.0.1更新于 Oct 24, 2026

Reputation scoring for AI agent wallets on Base. Trust scores, fraud checks, x402.

已验证STDIO仅桌面金融安全与监控

概览

AI 生成的概览

将 DJD Agent Score API 封装为 MCP 工具,让助手查询 Base 上 AI 代理钱包的信誉评分、欺诈报告和排行榜。

可以做什么
  • 查询钱包信誉:基础评分及等级与置信度、完整维度明细、基于最新链上数据重新评分
  • 核查欺诈数据:查询欺诈黑名单并提交欺诈报告
  • 浏览公开数据:高分钱包排行榜、可嵌入的 SVG 徽章、系统健康状态
  • 注册代理钱包及其元数据
适用场景
当助手需要在与某个 Base 上的 AI 代理钱包交互前判断其可信度,或需要查询、提交欺诈报告以及在排行榜上比较钱包时适用。
运行要求
通过 npm 或 npx 在本地运行(需 Node.js)。未声明认证。可选环境变量 DJD_BASE_URL(默认指向托管的生产 API)和 DJD_TIMEOUT_MS;HTTP 模式还需 TRANSPORT 和 PORT。需要能访问 DJD API 的网络。
安装前请注意
多个工具通过 Base 上的 USDC x402 微支付收费:完整评分 0.10 美元、刷新 0.25 美元、欺诈报告 0.02 美元、黑名单查询 0.05 美元。服务器只把 HTTP 402 支付信息返回给代理,需由代理框架完成支付并重试,因此可能产生实际支出。注册钱包和提交欺诈报告会把数据发送给第三方 API。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

djd-agent-score-mcp

MCP server for DJD Agent Score — a reputation scoring API for AI agent wallets on Base.

[Listed in the Coinbase x402 Ecosystem] [npm version]

This server exposes the DJD Agent Score REST API as Model Context Protocol tools, so any MCP-compatible agent (Claude, GPT, Gemini, LangChain, etc.) can call scoring endpoints natively.

Tools

ToolEndpointCostDescription
score_basicGET /v1/score/basicFreeBasic score, tier, confidence
score_fullGET /v1/score/full$0.10 (x402)Full dimension breakdown
score_refreshGET /v1/score/refresh$0.25 (x402)Re-score with latest chain data
report_fraudPOST /v1/report$0.02 (x402)Submit fraud report
check_blacklistGET /v1/data/fraud/blacklist$0.05 (x402)Check fraud reports
get_badgeGET /v1/badge/{wallet}.svgFreeEmbeddable SVG badge
get_leaderboardGET /v1/leaderboardFreeTop scored wallets
register_agentPOST /v1/agent/registerFreeRegister wallet with metadata
health_checkGET /healthFreeSystem status

Installation

bash
npm install -g djd-agent-score-mcp

Or run directly with npx:

bash
npx djd-agent-score-mcp

Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "djd-agent-score": {      "command": "npx",      "args": ["-y", "djd-agent-score-mcp"]    }  }}

Cursor

Add to .cursor/mcp.json in your project root:

json
{  "mcpServers": {    "djd-agent-score": {      "command": "npx",      "args": ["-y", "djd-agent-score-mcp"]    }  }}

Claude Code

Add to your project's .mcp.json:

json
{  "mcpServers": {    "djd-agent-score": {      "command": "npx",      "args": ["-y", "djd-agent-score-mcp"]    }  }}

Generic MCP Client (Streamable HTTP)

Start the server in HTTP mode:

bash
TRANSPORT=http PORT=3000 npx djd-agent-score-mcp

Then connect your MCP client to http://localhost:3000/mcp.

Environment Variables

VariableDefaultDescription
DJD_BASE_URLhttps://djd-agent-score.fly.devAPI base URL (use http://localhost:3001 for local dev)
DJD_TIMEOUT_MS10000Request timeout in milliseconds
TRANSPORTstdioTransport mode: stdio or http
PORT3000HTTP server port (only used when TRANSPORT=http)

Development

bash
git clone <repo-url>cd djd-agent-score-mcpnpm installnpm run buildnpm start

To point at a local API during development:

bash
DJD_BASE_URL=http://localhost:3001 npm start

x402 Payment

Some endpoints require x402 micropayments. When an agent calls a paid tool, the API responds with HTTP 402 and payment instructions. Your agent framework must:

  1. Detect the 402 response
  2. Complete the x402 payment (USDC on Base)
  3. Retry the request with the payment proof

The MCP server surfaces the 402 details in the tool's error response so the agent can handle it.

License

MIT

来源:README.md,提交 bbfe0af

工具

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

版本历史

1
  1. v1.0.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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