tradallo-reputation
Official@tradallo/reputation
MCP-Server + TypeScript-Client + CLI für das Tradallo Verified Record Protocol. Drei Wege, um kryptografisch verifizierte Handelsaufzeichnungen von Menschen und Agenten abzufragen:
# CLI — pretty terminal cards, no install required
npx @tradallo/reputation card alpha-momentum-v3 --agent
# MCP — drop into Claude Desktop / Cursor / any MCP client (config below)
# Programmatic — typed TS/JS client
import { TradalloClient } from "@tradallo/reputation";Jede Antwort wird JCS-kanonisiert + ed25519-verifiziert gegen den veröffentlichten Public Key von Tradallo unter tradallo.com/.well-known/tradallo-pubkeys.json, bevor sie angezeigt wird. Die Signatur befindet sich im Envelope; dieser Client ruft das Public-Key-Register ab, löst die key_id auf, verifiziert die Signatur und gibt erst dann die Daten zurück. Replay-Schutz erfolgt über served_at + max_age_seconds.
Installation
Claude Desktop
Fügen Sie dies zu Ihrer claude_desktop_config.json hinzu (Einstellungen → Entwickler → Konfiguration bearbeiten):
{
"mcpServers": {
"tradallo-reputation": {
"command": "npx",
"args": ["-y", "@tradallo/reputation"]
}
}
}Starten Sie Claude Desktop neu. Die Tradallo-Tools sollten in der Werkzeugpalette erscheinen.
Cursor
Fügen Sie dies zu ~/.cursor/mcp.json hinzu (oder über Cursor-Einstellungen → MCP):
{
"mcpServers": {
"tradallo-reputation": {
"command": "npx",
"args": ["-y", "@tradallo/reputation"]
}
}
}Generischer MCP-Client
npx @tradallo/reputationSpricht MCP über stdio.
Lokale Entwicklung / Staging
Verweisen Sie auf Ihre eigene Bereitstellung, indem Sie TRADALLO_BASE_URL setzen:
{
"mcpServers": {
"tradallo-reputation": {
"command": "npx",
"args": ["-y", "@tradallo/reputation"],
"env": { "TRADALLO_BASE_URL": "http://localhost:3000" }
}
}
}Related MCP server: aip-identity
CLI
Die gleiche Binärdatei fungiert als Terminal-CLI, wenn sie mit einem Unterbefehl aufgerufen wird:
# Pretty card with verification status, stats, version metadata
npx @tradallo/reputation card alpha-momentum-v3 --agent
# Raw verified JSON (for piping into jq, etc.)
npx @tradallo/reputation track-record alpha-momentum-v3 --agent
# Discovery
npx @tradallo/reputation search --min-sharpe 1.5 --min-trades 200 --sort-by sharpe
# Agent version history
npx @tradallo/reputation versions alpha-momentum-v3
# Paginated UTRs
npx @tradallo/reputation utrs alpha-momentum-v3 --limit 50
# Look up a specific UTR by hash
npx @tradallo/reputation verify <sha256-hex> alpha-momentum-v3
# Help
npx @tradallo/reputation helpNO_COLOR=1 deaktiviert ANSI. TRADALLO_BASE_URL überschreibt die API-Basis-URL.
Programmatischer Client
Binden Sie den verifizierenden Client in Ihren eigenen TS/JS-Code ein:
import { TradalloClient } from "@tradallo/reputation";
const client = new TradalloClient(); // defaults to https://tradallo.com
// Throws if signature invalid, replay window expired, or pubkey unknown.
// Returns the verified `data` payload (not the envelope wrapper).
const record = await client.getSigned<{ stats: { all_time: { sharpe_ratio: number | null } } }>(
"/api/v1/agents/alpha-momentum-v3/track-record",
);
if ((record.stats.all_time.sharpe_ratio ?? 0) >= 1.5) {
// ... delegate capital, copy trades, etc.
}Der Verifizierungsprozess findet INNERHALB von getSigned statt. Wenn etwas fehlschlägt — fehlerhafte Signatur, abgelaufener Envelope, unbekannter Schlüssel, Schema-Nichtübereinstimmung — wirft der Aufruf einen Fehler. Sie sehen niemals unverifizierte Daten.
Tools
get_track_record(handle, principal_type?)
Ruft einen verifizierten Track Record für ein Tradallo-Profil oder einen Agenten ab.
Eingaben:
handle(String, erforderlich) — das Tradallo-Handle (z. B.aaronjordan,alpha-momentum-v3)principal_type("human"|"agent", optional, Standardwert"agent") — in welchem Namensraum gesucht werden soll
Rückgabe: das vollständige signierte Payload (Verifizierungsstufe, Statistiken für alle Zeiten + rollierend 30/90/365 Tage inklusive Sharpe-Ratio, maximaler Drawdown, Gewinnrate, PnL, Erwartungswert).
Beispielanwendung:
"Zeige mir den verifizierten Handelsverlauf von Aaron Jordan auf Tradallo."
search_records(filters)
Entdecken Sie verifizierte Aufzeichnungen, die Leistungs-Kriterien entsprechen.
Eingaben (alle optional): min_sharpe, min_trades, max_drawdown, venue, principal_type, sort_by, limit.
Rückgabe: sortierte Liste von Zusammenfassungen für Menschen/Agenten mit ihren Statistiken. Signatur-verifiziert.
verify_utr(utr_hash)
Suchen Sie eine Universal Trade Receipt (UTR) anhand ihres Hashes. Gibt zurück, ob Tradallo diesen Hash On-Chain über ein Solana-Memo verankert hat, und falls ja, die Chain, Signatur, Slot, posted_at, Solana Explorer URL und den Public Key des Notarisierers, damit der Aufrufer dies unabhängig On-Chain verifizieren kann.
Rückgabe: { found, anchored_on_chain, chain?, signature?, slot?, posted_at?, explorer_url?, notarizer_pubkey? }.
get_versions(agent_handle)
Ruft den vollständigen Versionsverlauf eines Agenten ab (SemVer-Tags, version_hash, policy_hash, wann jede Version bereitgestellt und ersetzt wurde). Signatur-verifiziert.
get_utrs(agent_handle, since?, limit?)
Ruft rohe Universal Trade Receipts für einen Agenten ab, paginiert im Cursor-Stil basierend auf closed_at. Jede Quittung enthält ihren von Tradallo neu berechneten SHA-256-Hash, damit Konsumenten einzelne Datensätze stichprobenartig prüfen können.
Wie die Verifizierung funktioniert
Jede signierte Tradallo-API-Antwort verpackt die Daten in einen JCS-kanonisierten (RFC 8785) Envelope mit einer ed25519-Signatur:
{
"data": { ... },
"schema_version": "1",
"served_at": "2026-04-30T22:29:52.776Z",
"max_age_seconds": 60,
"signature": {
"alg": "ed25519",
"key_id": "tradallo-prod-2026-04",
"sig": "<base64>"
}
}Dieser MCP-Server:
Ruft
/.well-known/tradallo-pubkeys.jsonab (5 Min. zwischengespeichert)Löst
signature.key_id→ ed25519 Public Key aufJCS-kanonisiert
{data, schema_version, served_at, max_age_seconds}Verifiziert die Signatur gegen den Public Key
Lehnt Antworten ab, bei denen
now > served_at + max_age_seconds(Replay-Schutz)
Wenn eine Prüfung fehlschlägt, gibt der Tool-Aufruf einen Fehler zurück, anstatt die Daten. Dem Agenten wird mitgeteilt, warum.
Warum das wichtig ist
Identität (wer ist der Agent) und Zahlungen (wie wird bezahlt) werden 2026 durch x402, MPP, Coinbase Agentic Wallets und ERC-8004 gelöst. Reputation nicht. Wenn ein Agent entscheidet, ob er Kapital delegiert, Trades kopiert oder Signale von einer anderen Partei abonniert, benötigt er eine Möglichkeit zu fragen: "Ist deren Aufzeichnung echt?"
Dieser MCP-Server ist der reibungsärmste Weg, diese Frage zu stellen.
x402 — was kommt
Heute ist die öffentliche API anonym und IP-ratenbegrenzt (60 Anfragen/Min.). Wir führen gestaffelten Zugriff über x402 ein, den HTTP 402 Payment-Required-Standard, damit Agenten USDC-Mikrotransaktionen auf Base bezahlen können, um Ratenbegrenzungen zu umgehen und höhere Durchsatzstufen freizuschalten, ohne Anmeldung oder API-Key-Hürden.
Vorwärtskompatible Erwartungen:
Anonym: 60 Anfragen/Min./IP (heute, kostenlos)
Aktiver Abonnent: 600 Anfragen/Min. über API-Key (in Entwicklung — Phase 4.4)
x402-Mikrozahlung: Pro-Aufruf USDC-Zahlung für einmalige rechenintensive Abfragen; kein Konto erforderlich (geplant Phase 4.5)
Operator / Flotten-Stufen: Webhook-Abonnements, benutzerdefinierte Subdomains, Prioritäts-Indizierung
Die Ratenbegrenzungs-Antwort wird einen x402-Zahlungsoptionen-Block erhalten, sobald die Facilitator-Pipeline verbunden ist. Dieser MCP-Server wird beginnen, automatisch zu bezahlen, wenn er eine 402 mit x402-Metadaten sieht. Bis dahin sind alle Abfragen kostenlos und verifizierbar.
Referenz-Agent
Ein funktionierender Beispiel-Agent, der Tradallo abfragt, bevor er Kapital delegiert: github.com/tradallo/agent.
Spezifikationen & Dokumentation
Protokoll-Übersicht: docs/PROTOCOL.md
Öffentliche API: https://tradallo.com/api/v1/
Public-Key-Register: https://tradallo.com/.well-known/tradallo-pubkeys.json
Changelog
Siehe CHANGELOG.md.
Lizenz
MIT
Available Tools
5 toolsget_track_recordAInspect
Fetch a verified trading track record for a Tradallo profile (human) or agent. Returns cryptographically-verified statistics (Sharpe, win rate, max drawdown, PnL, trade count) computed from on-chain or in-house-sim trade history. The signature is ed25519-verified against Tradallo's published pubkey before this tool returns.
Inputs: handle (required), principal_type.
get_utrsAInspect
Fetch raw Universal Trade Receipts for an agent. Each UTR is a v2 canonical receipt with its SHA-256 hash recomputed by Tradallo so consumers can spot-check individual receipts. Paginated cursor-style on closed_at.
Inputs: agent_handle (required), since, limit.
get_versionsAInspect
Fetch the full version history of an agent (semver tags, version_hash, policy_hash, when each version was deployed and superseded). Useful for understanding which version of an agent's policy produced a given track record. The response is signature-verified.
Inputs: agent_handle (required).
search_recordsAInspect
Search verified trading records by performance filters (Sharpe, max drawdown, trade count, venue, principal type). Returns a list of summary records sorted by the chosen metric. Useful for an agent shopping for strategies that meet specific risk/return criteria. The response is signature-verified against Tradallo's published pubkey before being returned.
Inputs: min_sharpe, min_trades, max_drawdown, venue, +3 more.
verify_utrAInspect
Look up a Universal Trade Receipt by hash. Returns whether Tradallo has anchored that hash on-chain via a Solana memo transaction, and if so, returns the chain, signature, slot, posted_at, explorer URL, and notarizer pubkey so the caller can independently verify the anchor on Solana Explorer. The signed-envelope response is ed25519-verified before this tool returns.
Inputs: utr_hash (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool serves a clear, distinct purpose: fetching a track record, fetching raw receipts, retrieving version history, searching records by filters, and verifying a receipt's on-chain anchor. No two tools overlap in functionality, and descriptions clearly differentiate them.
All tool names follow a consistent verb_noun pattern (get_track_record, get_utrs, get_versions, search_records, verify_utr), using lowercase with underscores. The naming is predictable and easy to parse.
Five tools is ideal for this domain: they cover the core operations (fetching individual records, listing receipts, version history, search, and verification) without unnecessary bloat. The scope is well-defined and each tool earns its place.
The tool set provides a complete surface for querying and verifying trading reputation data: individual track records, raw receipts, version history, search by filters, and cryptographic verification. No obvious gaps exist for a read-only verification service.
Maintenance
Related MCP Connectors
Signed, Merkle-proofed, on-chain-anchored trust records for MCP servers. Verify, do not trust.
Public read-only MCP server for HODLXXI agent identity, trust, receipts, and verification.
Free trust records for AI agents and MCP servers: trust checks, sybil signals, signed attestations.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Related MCP Servers
- AlicenseAqualityFmaintenanceMCP server for AgentFolio — the identity and reputation layer for AI agents. Query agent profiles, trust scores, verification status, and marketplace listings through 8 MCP tools.9129 npm1MIT
- AlicenseAqualityDmaintenanceMCP server for AI agent identity — verify agents with Ed25519 signatures, check trust scores, sign and verify content, exchange encrypted messages. Built on the Agent Identity Protocol (AIP).81MIT
- FlicenseAqualityCmaintenanceReputation and trust scoring service for AI agents, exposed as an MCP server. Evaluate counterparties, report interactions, issue portable trust certificates, and detect Sybil attacks.2370 PyPI-
- AlicenseAqualityDmaintenanceAn MCP server that bridges ERC-8004 agent identity, reputation, and validation registries into tool calls, enabling discovery, inspection, and verification of on-chain AI agents from any MCP client.8MIT