npm djd-agent-score-mcpstdioMITupdated 6mo ago
MCP server for DJD Agent Score — a reputation scoring API for AI agent wallets on Base.
djd agent score 能做什么?
djd-agent-score-mcp
MCP server for DJD Agent Score — a reputation scoring API for AI agent wallets on Base.
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
| Tool | Endpoint | Cost | Description |
|---|---|---|---|
score_basic |
GET /v1/score/basic |
Free | Basic score, tier, confidence |
score_full |
GET /v1/score/full |
$0.10 (x402) | Full dimension breakdown |
score_refresh |
GET /v1/score/refresh |
$0.25 (x402) | Re-score with latest chain data |
report_fraud |
POST /v1/report |
$0.02 (x402) | Submit fraud report |
check_blacklist |
GET /v1/data/fraud/blacklist |
$0.05 (x402) | Check fraud reports |
get_badge |
GET /v1/badge/{wallet}.svg |
Free | Embeddable SVG badge |
get_leaderboard |
GET /v1/leaderboard |
Free | Top scored wallets |
register_agent |
POST /v1/agent/register |
Free | Register wallet with metadata |
health_check |
GET /health |
Free | System status |
Installation
npm install -g djd-agent-score-mcp
Or run directly with npx:
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):
{
"mcpServers": {
"djd-agent-score": {
"command": "npx",
"args": ["-y", "djd-agent-score-mcp"]
}
}
}
Cursor
Add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"djd-agent-score": {
"command": "npx",
"args": ["-y", "djd-agent-score-mcp"]
}
}
}
Claude Code
Add to your project's .mcp.json:
{
"mcpServers": {
"djd-agent-score": {
"command": "npx",
"args": ["-y", "djd-agent-score-mcp"]
}
}
}
Generic MCP Client (Streamable HTTP)
Start the server in HTTP mode:
TRANSPORT=http PORT=3000 npx djd-agent-score-mcp
Then connect your MCP client to http://localhost:3000/mcp.
Environment Variables
| Variable | Default | Description |
|---|---|---|
DJD_BASE_URL |
https://djd-agent-score.fly.dev |
API base URL (use http://localhost:3001 for local dev) |
DJD_TIMEOUT_MS |
10000 |
Request timeout in milliseconds |
TRANSPORT |
stdio |
Transport mode: stdio or http |
PORT |
3000 |
HTTP server port (only used when TRANSPORT=http) |
Development
git clone <repo-url>
cd djd-agent-score-mcp
npm install
npm run build
npm start
To point at a local API during development:
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:
- Detect the 402 response
- Complete the x402 payment (USDC on Base)
- 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
安装
把 djd agent score 添加到你的客户端。选择你正在使用的那个。
claude mcp add djd-agent-score-mcp -- npx -y djd-agent-score-mcpcodex mcp add djd-agent-score-mcp -- npx -y djd-agent-score-mcpamp mcp add djd-agent-score-mcp -- npx -y djd-agent-score-mcp{
"mcpServers": {
"djd-agent-score-mcp": {
"command": "npx",
"args": [
"-y",
"djd-agent-score-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"djd-agent-score-mcp": {
"command": "npx",
"args": [
"-y",
"djd-agent-score-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"djd-agent-score-mcp","command":"npx","args":["-y","djd-agent-score-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"djd-agent-score-mcp": {
"command": "npx",
"args": [
"-y",
"djd-agent-score-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"djd-agent-score-mcp": {
"command": "npx",
"args": [
"-y",
"djd-agent-score-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"djd-agent-score-mcp": {
"command": "npx",
"args": [
"-y",
"djd-agent-score-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"djd-agent-score-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"djd-agent-score-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"djd-agent-score-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"djd-agent-score-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y djd-agent-score-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
9 个工具
djd agent score 向已连接的智能体提供 9 个工具。
- score_basic
- `GET /v1/score/basic`
- score_full
- `GET /v1/score/full`
- score_refresh
- `GET /v1/score/refresh`
- report_fraud
- `POST /v1/report`
- check_blacklist
- `GET /v1/data/fraud/blacklist`
- get_badge
- `GET /v1/badge/{wallet}.svg`
- get_leaderboard
- `GET /v1/leaderboard`
- register_agent
- `POST /v1/agent/register`
- health_check
- `GET /health`
评分
62 / 100
良好
- 文档18/25
- 维护13/25
- 可信度13/20
- 能力6/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 179 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 9 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 1.0.1最新 | 2026年2月25日 |