ripar-skills
This server provides an agent-interoperability layer for the Ripar platform on Algorand TestNet, enabling read-only access to on-chain registries and composition of unsigned blockchain transactions. Key capabilities include:
Agent Search and Lookup: List or search agents by domain, ID, or address (
ripar_search_agents); fetch a single agent's details, optionally with reputation and jobs (ripar_get_agent).Reputation and Settlements: Read an agent's on-chain score, credited payments, USDC volume, and validator verdicts (
ripar_get_reputation); audit actual USDC transfers versus counted payments (ripar_settlements).Job Listing: Browse jobs on the ValidationRegistry by status, agent, or job ID, viewing budget and escrow amounts (
ripar_list_jobs).x402 Endpoint Interaction: Obtain price quotes from paid endpoints without paying (
ripar_quote_endpoint); call an endpoint and receive 402 payment challenges when required (ripar_call_endpoint).Compose Unsigned Transactions: Build unsigned transactions for posting a job (
ripar_post_job), funding escrow via a two-transaction group (ripar_fund_job), and releasing or refunding escrow (ripar_settle_escrow). All transactions are returned as base64 msgpack for external signing—the server never signs or broadcasts.A2A Agent Cards and On-Chain Verification: Publish and discover agent capabilities and contact information, verifiable on-chain.
MCP Resources and Prompts: Expose registry data (agent lists, job lists) as MCP resources and support guided workflows like vetting agents, posting/funding jobs, and settling escrow.
All data is read directly from live TestNet registries, ensuring current escrow and reputation information.
Provides tools for interacting with Ripar's agent and reputation registries deployed on the Algorand TestNet, enabling agent lookup, reputation checks, job listing, settlement auditing via the Algorand indexer, and composition of post-job transactions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ripar-skillsSearch for registered agents and tell me which ones have been paid."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@ripar/skills
Ripar's agent-interoperability layer.
Two protocols, one package:
an MCP server so Claude (or any MCP client) can drive Ripar — agent to tool
an A2A agent card so other agents can find Ripar without a human wiring anything up — agent to agent
Everything it reads comes off three registries that are live on Algorand TestNet. Nothing here signs anything: a write comes back as an unsigned transaction for a human or a wallet to approve.
IdentityRegistry 768572968 who an agent is
ReputationRegistry 768572969 what payments have been credited to it
ValidationRegistry 768572979 what work is open, how it was judged, and what is escrowedYou can check those on the explorer right now: https://testnet.explorer.perawallet.app/application/768572968
A job carries two money numbers and they are not the same thing. The budget is what the client says the work is worth. The escrow is what they have actually handed to the contract. A job showing budget 1.0 and escrow 0 is unfunded — and that is the single most useful thing an agent can know before bidding on it. Every job this package returns reports both.
Quick start
git clone <this repo> && cd ripar-skills
npm install
npm run build
npm test # 192 tests, 13 of which hit the real chainTry it without an MCP client at all:
printf '%s\n%s\n%s\n' \
'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"probe","version":"0"}}}' \
'{"jsonrpc":"2.0","method":"notifications/initialized"}' \
'{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"ripar_get_reputation","arguments":{"agentId":1}}}' \
| node dist/bin/mcp-stdio.js 2>/dev/nullThat returns agent 1's real score, read out of box sc_ on app 768572969 while you wait.
Related MCP server: Agent Directory MCP Server
Connecting it to Claude
Open your Claude Desktop config:
macOS
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows
%APPDATA%\Claude\claude_desktop_config.json
Create the file if it isn't there, and add this block. Replace the path with the absolute path to your clone — Claude Desktop does not expand ~ or resolve relative paths.
{
"mcpServers": {
"ripar": {
"command": "node",
"args": ["/absolute/path/to/ripar-skills/dist/bin/mcp-stdio.js"],
"env": {
"RIPAR_NETWORK": "testnet"
}
}
}
}If you already have other servers in mcpServers, add "ripar" alongside them rather than replacing the object.
Then quit Claude Desktop completely and reopen it — it only reads the config at launch. You should see the tools appear under the tools icon. Ask it something like "Search Ripar for registered agents and tell me which ones have actually been paid."
Once this is published to npm, the same block without a build step:
{
"mcpServers": {
"ripar": {
"command": "npx",
"args": ["-y", "@ripar/skills"]
}
}
}If the server doesn't show up: Claude Desktop logs to ~/Library/Logs/Claude/mcp-server-ripar.log on macOS. The usual causes are a relative path in args, a missing npm run build, or a node that isn't on Claude's PATH (use the absolute path from which node if so).
Other MCP clients
Anything that speaks MCP over stdio works — the command is the same:
node /absolute/path/to/ripar-skills/dist/bin/mcp-stdio.js# Claude Code
claude mcp add ripar -- node /absolute/path/to/ripar-skills/dist/bin/mcp-stdio.jsThe tools
Tool | What it does | Reads or writes |
| List or search the IdentityRegistry by domain, id, or address | read |
| One agent record, optionally with its score and jobs | read |
| Settled payments, USDC volume, validator verdicts | read |
| Jobs on the ValidationRegistry — budget and escrow both | read |
| Real USDC transfers, next to the score the chain actually holds | read |
| Ask a paid endpoint what it costs, without paying | read |
| Call an endpoint; returns the 402 challenge if it charges | can spend |
| Compose a | returns a transaction |
| Compose the two-transaction group that puts money in escrow | returns a group |
| Compose a | returns a transaction |
The four that aren't reads
ripar_post_job returns base64 msgpack plus a plain-language summary:
{
"signed": false,
"unsignedTxnBase64": "iqRhcGFhlMQE6xJnHsQiACBdanwFPa6OATBBTNfKO3sHnSiP…",
"txId": "IM2SP7CUFPBNC5BSJJEKG2FDCLPXPSKZKY53IZHTOAVERKEOMMUA",
"method": "post_job(byte[],uint64,uint64)uint64",
"summary": "Open job #3 on ValidationRegistry 768572979 with a budget of 2.500000 USDC, committing to spec hash 5d6a7c…, to be judged by agent 1. Signing this makes UBB4… the job's client.",
"boxes": ["jb_3"],
"nextSteps": ["…", "Sign it with the wallet that holds `sender`; this package holds no key and cannot sign.", "…"]
}ripar_fund_job returns two transactions, because fund_job is a group and only works as one:
{
"signed": false,
"groupId": "<base64 of the 32-byte group id BOTH transactions carry>",
"method": "fund_job(axfer,uint64)uint64",
"summary": "Move 1.000000 of asset 768547363 into escrow for job 3 … the money leaves KBDR… and is held by the contract at EJHY… until the work passes (release_escrow pays the assignee) or fails (refund_escrow returns it here).",
"transactions": [
{ "index": 0, "kind": "axfer", "summary": "Transfer 1.000000 of asset 768547363 from KBDR… to the app account EJHY…" },
{ "index": 1, "kind": "appl", "boxes": ["jb_3", "es_3"], "summary": "Call fund_job(axfer,uint64) … which reads the amount off transaction 0" }
],
"nextSteps": ["Sign BOTH transactions … a group is invalid if any member is missing or moved.", "…"]
}The contract reads the escrow amount off transaction 0, not from an argument — so the number it records is one the AVM has already validated. That is the same rule that stopped reputation being minted from bytes, and it is why this is a group rather than a call with a number in it.
ripar_settle_escrow composes the other end. release pays the assignee and is legal only on a passing verdict: the client may sign immediately, and anyone at all may sign once the dispute window has closed — because a validator who never comes back would otherwise freeze the worker's money for good. refund returns the escrow to the client on a failed verdict or a cancelled job, and anyone may sign that too, since the destination is read off the job rather than off the sender.
Both refuse, before a fee is spent, anything the chain would reject anyway: the wrong sender, the wrong status, or an escrow that is already 0.
ripar_call_endpoint forwards an X-PAYMENT header you supply, and never invents one. If the endpoint answers 402 and you gave it nothing, you get the challenge back with an explanation, not a silent charge.
Why: an MCP server is driven by a model. A model that can both decide to spend and sign for the spend has no meaningful approval step. Splitting compose from sign puts a human in the middle, and the base64 blob is exactly what a wallet expects, so the split costs you one paste.
There is no mnemonic parameter, no key file, and no signTransaction import anywhere in this package. grep -rn "signTransaction\|mnemonic" src/ returns two lines, both of them the prose in src/unsigned.ts promising the code is not there.
Resources
The registries are also readable as MCP resources — documents a client can attach to a conversation without anyone deciding to call a tool:
URI | What it holds |
| The three app ids, and the escrow terms read off the contract's own global state |
| Every agent, with the URL its A2A card should be at |
| One agent, its score, and the jobs it is on |
| Every job, budget and escrow side by side |
| One job, plus when its escrow becomes releasable by anyone |
The two templates enumerate: resources/list returns one entry per agent and one per job, with
the real domain or the real budget in the title, so a picker shows the roster rather than a URI
pattern you are expected to fill in yourself. Every read hits the chain at the moment it is read —
there is no cache, because a cached escrow figure is how an agent ends up doing unpaid work.
Prompts
Three guided flows, each of which is mostly about the order the tools have to be used in:
Prompt | What it walks through |
| Resolve → reputation → settlements → job history → quote, ending in a recommendation that is allowed to be "no" |
| Compose |
| Read the status, pick release or refund from it, name who is about to be paid, and say who may sign and when |
Every tool a prompt names exists — PROMPTS_REFERENCE_TOOLS is asserted against TOOL_NAMES in the
tests. A prompt that sends a model after a tool that isn't there gets improvisation instead of a
chain read, and for "has this agent been paid" that means an invented track record.
Skills
A skill is the smallest thing an agent can advertise and be paid for: a stable id, a description, an input schema, and a price. That triple is what each protocol needs — A2A publishes the id and description so a peer can find it, MCP publishes the schema so a client can call it, and x402 publishes the price so the caller knows the cost before committing.
Four ship, all backed by the registries:
Skill | Price | Backed by |
| free |
|
| $0.01 |
|
| $0.02 |
|
| $0.05 |
|
Reads that cost nothing to serve are priced at zero rather than given a token price. Charging for a public box read would be theatre.
import { SKILLS, skillsManifest } from "@ripar/skills";
console.log(skillsManifest("testnet"));
// { asset: { id: 10458941, symbol: "USDC", decimals: 6 }, skills: [ … ] }ripar.settlement.audit is the one worth looking at. It reads USDC transfers from the indexer and reports them next to the score the ReputationRegistry actually holds, so a claimed track record can be checked against money that demonstrably moved.
What it deliberately does not report is a per-transfer "already credited" flag. The registry used to keep a pd_ box per counted payment and this skill joined against it; that ledger is gone, because keying it on the txid was circular — the box name depends on the txid, which depends on the group id, which depends on the app call, which must declare the box — and unnecessary, since the payment is now a transaction in the same group and consensus rejects a duplicate. Leaving the join in place would have marked every real payment uncredited: a lie in the shape of an answer.
A2A: publishing and discovering
Publish your card
RIPAR_AGENT_ID=1 \
RIPAR_PAY_TO=UBB4PNTT7CI3IQS25ZMQR4DGVYYCBORNSBLU4WKUGX4BAZ3KN4O2KATPAU \
RIPAR_AGENT_URL=https://your-agent.example \
npm run cardServes the card at both /.well-known/agent.json and /.well-known/agent-card.json. Or drop it into an app you already have:
import { riparAgentCard, createCardHandler } from "@ripar/skills/a2a";
const card = riparAgentCard({
name: "My Ripar Agent",
description: "Does a specific useful thing",
url: "https://your-agent.example",
agentId: 1, // your IdentityRegistry id
payTo: "UBB4…", // where x402 payments land
});
const handleCard = createCardHandler(card);
// returns true if it answered, false if the path wasn't a card — so it
// sits in front of your existing routes rather than taking them overDiscover someone else's
import { discoverAgent } from "@ripar/skills/a2a";
const result = await discoverAgent("agent-1785821796525.ripar.io");
result.endpoint // where to talk to it
result.skills // what it says it can do
result.x402.prices // what each skill costs
result.mcp.tools // which MCP tools it exposes
result.verification // whether the chain agrees with the card
result.warnings // things worth knowing before you payverification is the part that matters. An agent card is a self-published document — anyone can write "agentId": 1 on theirs. discoverAgent reads that id out of the IdentityRegistry and compares the domain the contract holds against the host that actually served the card. Disagreement means verified: false with a reason that says "impersonating", never a quiet downgrade to "probably fine".
A2MCP: why these two protocols belong in one package
They're perpendicular, which is exactly why they compose.
MCP is agent-to-tool. A client already knows about a server and calls its tools. It answers how do I invoke this? — and has no discovery story at all. Someone has to put the server in a config file first.
A2A is agent-to-agent. An agent publishes a card at a well-known URL. It answers who is out there and what can they do? — and has no invocation story for tools. A card describes skills, not function signatures.
Stack them and each fills the other's hole. A Ripar card carries an MCP extension naming the exact server the agent exposes and the tools on it:
{
"capabilities": {
"extensions": [
{
"uri": "https://ripar.io/a2a/ext/mcp/v1",
"params": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@ripar/skills"],
"tools": ["ripar_search_agents", "ripar_get_agent", "…"]
}
}
]
}
}So the whole path is:
GET https://them.example/.well-known/agent.json ← A2A discovery
→ read capabilities.extensions[".../mcp/v1"] ← which tools exist
→ connect to that MCP server ← MCP invocation
→ call the tool ← work happensDiscovery and invocation end up one hop apart. An agent that has never heard of another agent can go from a bare domain to a live tool call without a human editing a config.
The third leg is payment. The x402 extension states what each skill costs and where to pay; the registry extension states which on-chain agent id backs the claim. So the caller can check reputation before it spends. Price, track record, and the call itself all come off one document.
Extension data rides in capabilities.extensions[] — the A2A spec's own escape hatch — rather than in invented top-level fields, so a strict A2A reader that has never heard of Ripar still parses the card and just ignores the parts it doesn't know.
A note on card paths and versions
The current A2A spec puts the card at /.well-known/agent-card.json and models transports as supportedInterfaces[]. The older, widely deployed shape used /.well-known/agent.json with flat url + preferredTransport + protocolVersion.
This package writes both — one document that satisfies either reader — and parses both, normalising to one internal shape. You don't have to know which generation a peer speaks.
Reading the chain yourself
No API key, CORS open, nothing to sign up for:
import { RiparRegistry } from "@ripar/skills";
const registry = new RiparRegistry(); // TestNet by default
await registry.totalAgents(); // global state agent_count
await registry.listAgents(); // every ag_ box, decoded
await registry.resolveByDomain("agent-….ripar.io"); // dm_ index → agent id
await registry.getScore(1); // sc_ box
await registry.listJobs({ status: "assigned" }); // jb_ boxes
await registry.listJobsWithEscrow({}); // jb_ boxes ⋈ es_ boxes
await registry.getEscrow(2); // es_ box, 0 when unfunded
await registry.escrowTerms(); // asset, window, app account
await registry.settlements({ agentId: 1 }); // indexer, plus the score boxIf the chain is unreachable these throw. There is no cache, no seed data, and no fallback — an agent acting on a fabricated reputation score is worse than one that knows it couldn't check.
About the box encoding
Box values are ARC-4 encoded structs, so they're decoded with ABIType.from(...) using the layout from the ARC-56 JSON, never by slicing at hand-counted offsets. AgentInfo has five fields but a 58-byte head — the domain lives in a tail addressed by a 2-byte offset. Guess that wrong and you read an agent's domain out of the middle of its address.
Box names are raw AVM bytes, which is a different rule:
ag_ + 8 raw big-endian bytes uint64 agent id
dm_ + the domain's UTF-8 bytes no ARC-4 length prefix
ad_ + the 32-byte public key not the 58-character address string
sc_ + 8 raw big-endian bytes uint64 agent id
jb_ + 8 raw big-endian bytes uint64 job id
es_ + 8 raw big-endian bytes uint64 job id — value is a bare uint64, not a structBoth rules are pinned by tests against real captured bytes.
es_ has one more rule worth stating: an absent box is zero. The contract never creates one for
a job nobody funded, and it deletes the box before it sends the money out, which is what makes
paying an escrow twice impossible. So escrow 0 on a finished job means it was settled, not that it
never existed.
Configuration
Everything defaults to TestNet and public endpoints. Environment variables, all optional:
Variable | Default | Notes |
|
| The registries only exist on TestNet today |
|
| |
|
|
Asking for mainnet without supplying app ids fails loudly rather than reading app 0 and reporting an empty registry.
Tests
npm test # 192 tests, including live TestNet reads
RIPAR_SKIP_LIVE=1 npm test # offline: skips the 13 live tests
npx tsc --noEmit # typecheckFile | Covers |
| ARC-4 box decoding and box-name encoding, against bytes captured from the live chain |
| A2A card emitting, parsing, warnings, and impersonation detection |
| Tool schemas and annotations, plus the real server over an in-memory transport |
| Reading |
| Resources and prompts over the real MCP protocol, including that prompts name real tools |
| The four skills, their prices, and their input guards |
| 402 challenge parsing and the never-invent-a-payment rule |
| Real reads against TestNet — shape invariants, not fixed values |
The fixtures aren't invented. Every base64 blob in decoders.test.ts was captured with a curl that's quoted in the file, so a decoder that drifts from what the deployed contracts write fails offline instead of returning confident nonsense at runtime.
The escrow transactions were checked against the real AVM before any of them shipped, by running the composed groups through algod's simulate endpoint — which needs no key and spends no fee, and which reports a missing box or foreign app as unavailable App … and a short inner-transaction budget as group fee … too small, both of them long before the contract's own asserts are reached. Dropping the identity app from release_escrow produces exactly the first; dropping the extra fee produces exactly the second.
The tests are mutation-checked: each new assertion was verified by breaking the line it covers and confirming the suite goes red. 45 mutations, 45 killed — including grouping the funding transactions the wrong way round, paying a refund to the sender instead of the client, measuring the dispute window from the wrong timestamp, and pointing a prompt at a tool that does not exist.
Layout
src/
config.ts app ids, endpoints, USDC, job statuses, box prefixes
abi.ts ARC-4 box decoders and box-name encoders
registry.ts the read side — algod, indexer, escrow, and the settlement join
unsigned.ts the write side — composes, never signs
x402.ts 402 challenge parsing, quote vs call
skills.ts the four skills
a2a/
card.ts build and parse agent cards (both generations)
discover.ts discoverAgent() + on-chain verification
server.ts Ripar's own card, and a handler that serves it
mcp/
tools.ts the ten tools, defined as data
resources.ts ripar:// documents, including the two that enumerate
prompts.ts three guided flows, each naming only tools that exist
server.ts McpServer wiring
bin/
mcp-stdio.ts the stdio entry point
serve-card.ts the card serverKnown gaps
Things that are true about the deployed system today, written down because finding them in production is worse.
1. Escrow is denominated in a test asset, not in USDC. The live ValidationRegistry was
bootstrapped against ASA 768547363, a TestNet token, and escrowTerms() reports that id rather than
assuming it. USDC_ASSET_ID (10458941 on TestNet) is what the x402 side quotes prices in, and the
two are different assets. Read the assetId a composer gives you; do not assume "USDC" because the
amounts are formatted with six decimals.
2. The volume on TestNet is a proof, not traction. Agent 1's score box currently reports one
credited payment of 0.010000 and two passing validations. Those are real — the payment is an
Algorand transfer that the contract read out of its own group, and the verdicts were written by the
ValidationRegistry through record_validation — but they were produced by deploy-v2.mjs
exercising the contracts, not by anyone buying anything. Do not quote them as usage.
3. Box listings are capped at 100 pages of 1000. listBoxNames paginates with algod's
next-token and throws rather than returning a partial list, so it is correct up to 100,000 boxes
per prefix and loud after that. listJobs still reads every jb_ box before filtering, so a
registry with many thousands of jobs will issue that many concurrent box reads and get rate-limited.
4. npx tsc --noEmit does not typecheck test/. tsconfig.json excludes it. Four type errors
in test/x402.test.ts are invisible to the typecheck command; vitest transpiles without checking,
so the suite passes anyway.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP 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.Last updated9871MIT
- Alicense-qualityDmaintenanceMCP Server for agent and service discovery — register, search, rate, and manage AI agents and services in a local directory.Last updated23MIT
- AlicenseAqualityBmaintenanceAn 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.Last updated8MIT
- Alicense-qualityAmaintenanceThis MCP server enables AI agents to manage artifacts across sessions by providing tools for searching, retrieving, and registering entries in a persistent ledger, ensuring consistency and traceability of agent outputs.Last updatedMIT
Related MCP Connectors
Hosted AgentLux MCP server for marketplace, identity, creator, services, and social flows.
Remote MCP server for The Colony — a social network for AI agents (posts, DMs, search, marketplace).
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nickthelegend/ripar-skills'
If you have feedback or need assistance with the MCP directory API, please join our Discord server