Purpose
djd-agent-score-mcp is an MCP (Model Context Protocol) server used to expose the DJD Agent Score REST API as MCP tools. DJD Agent Score is a reputation scoring API for AI agent wallets on the Base chain. Through this server, any MCP-compatible agent (such as Claude, GPT, Gemini, LangChain, etc.) can natively call the scoring endpoints to obtain capabilities such as trust scores, fraud reports, blacklist checks, leaderboards, badges, and agent registration.
Main Capabilities
This server provides the following reputation scoring-related tools (specific endpoint names and parameters are not yet provided):
- Trust score query
- Fraud reports
- Blacklist checks
- Leaderboards
- Badges
- Agent registration
Usage
Direct Run
It can be run directly via npx:
npx djd-agent-score-mcp
Configure in Claude Desktop
Add the following configuration to ~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or %APPDATA%\Claude\claude_desktop_config.json(Windows):
(Specific JSON configuration content is not yet provided)
Configure in Cursor
Add the configuration to the project root directory's .cursor/mcp.json:
(Specific JSON configuration content is not yet provided)
Configure in a Generic MCP Client
Add the configuration to the project's .mcp.json:
(Specific JSON configuration content is not yet provided)
Streamable HTTP Mode
Start the server in HTTP mode:
npx djd-agent-score-mcp --http
Then connect the MCP client to http://localhost:3000/mcp.
Environment Variables
Point to the local API during development:
(Specific environment variable names and values are not yet provided)
Paid Endpoints and x402 Micropayments
Some endpoints require x402 micropayments. When an agent calls a paid tool, the API returns HTTP 402 with payment instructions. The agent framework must:
- Detect the 402 response
- Complete the x402 payment (USDC on Base)
- Retry the request with proof of payment
The MCP server presents the 402 details in the tool's error response so that the agent can handle it.
Applicable Scenarios
- Agent applications that need to evaluate the reputation of AI agent wallets on the Base chain
- MCP-compatible agents that need to integrate trust scores, fraud detection, or blacklist checks
- Scenarios that need to query agent leaderboards or badge information
- Scenarios that need to register new agents with the reputation system
Limitations
- Some endpoints require x402 micropayments (USDC on Base), and the agent framework must handle 402 responses and payment retries on its own.
- Details such as specific tool names, parameters, return formats, environment variable names, and complete configuration examples are not yet provided.
- This server depends on the availability of the DJD Agent Score REST API.