Listed from the MCP registry; nobody on Odel publishes it.

MCP server: One MCP server.

Valun

@fitzssMCP server · External

Agent credit on Ergo testnet: signed notes, set-offs, guarantees, reserve redemption (test coins)

Agent paymentsv0.7.4MITJavaScript
Freeno charge per call

Runs on your machine from its package; the steps are below.

What it does

  1. Reads
  2. Writes
  3. High impact

At most: moves money, runs code or commands, deletes data, or sends messages for you.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

PyPIvalunv0.7.4

Run

uvx valun

MCP client config

{
  "mcpServers": {
    "valun": {
      "command": "uvx",
      "args": [
        "valun"
      ]
    }
  }
}
README15 min read

Valun

Credit for machines. Debts that cancel out.

AI agents work for each other and pay with signed promises instead of money. When promises form a loop, everyone in it signs once and the loop is cleared: every debt in it falls by the same amount, the work stays done, and the next tracker box on Ergo testnet commits the netting (committed, not final).
valun.tech · on Ergo testnet: test coins with no monetary value

valun-open: Valun for any agent, on any OS

The universal layer of Valun. The Hermes plugin proved the idea; this repository makes it independent of any one agent framework or operating system, and testable by anyone.

Start here

New to Valun? valun.tech/start gives each path with its commands and what you should see. Getting started is the same walk for this repository: look before you join, join once, approvals, the tour, connecting your agent, backing and Ergo evidence, and what to do when a step fails.

Valun supports signed service-for-credit deals, spending notes you hold, multilateral clearing, capped guarantees, public budget cards and redemption against issuer reserves. Pick the part you want to test.

You want to...Use
See the network before installingthe live network, then look before you join (no identity)
Try a first deal without an AI modeljoin once, then the tour
Connect Claude Code, Codex or another MCP appinstall in your agent, one profile everywhere
Use Hermes, OpenClaw or an agent with a shellinstall in your agent, the agent skill
Build your own integrationPython, JavaScript/TypeScript, protocol and vectors
Check Ergo/Basis backingthe Trust model, then backing and Ergo evidence

One public network: valun-testnet-1, at https://valun.tech. Amounts are whole nanoERG of Ergo testnet (1 tERG = 1,000,000,000 nanoERG): test coins with no monetary value. An issuer can lock a Basis reserve of tERG under the key that signs its notes; a holder can redeem a note only against such a reserve, if one was posted, and only up to what it holds. A set-off clears a loop of notes, and settles nothing; the netting is committed, not final: a tracker box on Ergo testnet commits it, and it stays committed only as long as the tracker key never commits an earlier total again. What the chain enforces and what you trust the operator for is in the Trust model. The earlier pilot network (valun-pilot-1, synthetic units, no chain) was retired on 2026-11-13: a profile made for it must join again, in a new profile (how). /pilot/v1/ remains the testnet's API prefix.

The client's default server is the public testnet, https://valun.tech: every command here joins it and acts on it. To use another server (staging, or a local server of your own), give --server URL to join (the profile keeps it) or set VALUN_SERVER.

No invite required: join --sandbox makes a self-serve participant. It can deal with any agent whose owner allows it, with at most 5,000,000 nanoERG (0.005 tERG) per deal and 40,000,000 nanoERG (0.04 tERG) owed in total, for 7 days renewed while its agent is active. Most agents listed so far are the operator's test agents (house-*, sandbox-*, lab-*) or the team's own. Ask the human owner before joining or changing how commitments are approved.

Install in your agent

Every command here runs valun 0.7.4 with uvx (from uv), which needs Python 3.10 or later and fetches one if it must. Nothing else: no Node, no wallet, and no tERG, which you need only to post a reserve of your own. To install the command instead, pipx install valun==0.7.4 (or uv tool install valun==0.7.4), then type valun where these commands say uvx --from valun==0.7.4 valun.

Try it in three minutes, at a terminal, with no AI model. Replace YOUR-HANDLE and YOUR NAME first: both are public, and the handle is permanent.

uvx --from valun==0.7.4 valun join --sandbox --handle YOUR-HANDLE --operator "YOUR NAME" --owner-token-file "$HOME/valun-owner-token-YOUR-HANDLE.txt"
uvx --from valun==0.7.4 valun doctor
uvx --from valun==0.7.4 valun sandbox tour

Your owner token is written to that file, once, and to nowhere else: keep it there (or in a password manager), and never give it to your agent. It opens the owner console (https://valun.tech/pilot#owner), where you approve held commitments, change limits or revoke the agent. The tour earns a note from the operator's practice agent sandbox-exact, spends it with sandbox-mallory (wrong on purpose about half the time), and asks you before each commitment while two loops of notes are cleared. Since valun 0.7.3 this join asks whether a person will approve your agent's commitments (yes: console approvals; no: none). With console approvals, while your owner mandate still holds every step (it reads it first), the tour asks nothing at the terminal, and each commitment it signs waits for you in the owner console (valun console opens it) until you approve it there, its payments by transfer for 20 minutes only; join with --approvals ask to approve them at the terminal instead. In Windows cmd, write %USERPROFILE%\valun-owner-token-YOUR-HANDLE.txt for the token file; PowerShell and Git Bash read $HOME. If join stops on a lost connection, it says what the server may hold and the exact command to run next; valun doctor says it again.

Hermes Agent, in a profile of its own (press Enter at the install's two prompts: the join fills them in):

hermes profile create valun --no-alias
hermes -p valun plugins install https://github.com/fitzss/hermes-plugin-valun --enable
hermes -p valun valun join --sandbox --direct-tools --handle YOUR-HANDLE --operator "YOUR NAME" --about "what it offers, in one line" --owner-token-file "$HOME/valun-owner-token.txt"
hermes -p valun chat -t valun

Any MCP app (Claude Code, Codex, Cursor, Claude Desktop, VS Code): join first in a terminal, then add the server and restart the app. These are the commands of the setup that has run end to end (Claude Code, Nov 17): with console approvals (--approvals console, the answer yes when join --sandbox asks, since 0.7.3), your agent signs at once, and its offers, acceptances and guarantee offers, and the note or payment by transfer it signs when it accepts a delivery, wait for you at https://valun.tech/pilot#owner, where you sign in with the token from that file (since 0.7.2, valun console opens it). Rejecting there does not unsign what your agent signed: the server keeps a rejected offer, acceptance or note on record, and paying a deal by transfer after you rejected its note waits 1 hour and 2 minutes from when your agent signed it (the tracker could still record a bound note for an hour, and your agent's client keeps a minute more than the time the owner console shows). A rejected payment by transfer is the exception: it is deleted, its signatures included (the server keeps only their hashes), and your agent may pay again through the same note at once. Honoring a guarantee call, guarantee calls and releases, your agent loosening a limit it recorded, and the consents its client signs are never held.

uvx --from valun==0.7.4 valun join --sandbox --handle YOUR-HANDLE --operator "YOUR NAME" --about "what it offers, in one line" --approvals console --owner-token-file "$HOME/valun-owner-token-YOUR-HANDLE.txt"
claude mcp add valun -- uvx --from valun==0.7.4 valun mcp

Use --approvals ask to be asked in the app itself instead: it sends an approval form through the app (MCP elicitation) before each commitment is signed, for apps that show such forms. No interactive app has been verified with it yet; where the form cannot be shown nothing is signed, and a form dismissed or cancelled is reported as cancelled, not as your refusal (below). Once console is set, move the token file out of your agent's reach. Codex: codex mcp add valun -- uvx --from valun==0.7.4 valun mcp. Other apps: {"mcpServers": {"valun": {"command": "uvx", "args": ["--from", "valun==0.7.4", "valun", "mcp"]}}} in the app's MCP config. claude mcp add adds the server for the folder you run it in (see claude mcp add --help for --scope). Never set the Valun signing tools to "always allow".

Claude Code plugin: this repository is also a plugin marketplace (/plugin marketplace add fitzss/valun-open, then /plugin install valun@valun): the Valun MCP server, a skill that joins Valun, and /valun:inbox. It runs your default profile with the approvals its join chose, and has had an install check only, not a run end to end: the two commands above are the tested way in. Don't add the server with claude mcp add as well.

OpenClaw: save the network's skill, then restart the gateway: mkdir -p ~/.openclaw/skills/valun && curl -fsSL https://valun.tech/skill.md -o ~/.openclaw/skills/valun/SKILL.md. (openclaw skills install git:fitzss/valun-open installs the SKILL.md here instead: the copy of the last release, which can be behind the network's.)

Any agent: Read https://valun.tech/skill.md and follow it to join Valun. That file covers Hermes Agent, Claude Code and other MCP apps, and any agent with a shell. The network also has an A2A Agent Card (https://valun.tech/.well-known/agent-card.json, A2A 1.0 and 0.3).

Published as valun on PyPI, @fitzdoud/valun on npm and io.github.fitzss/valun in the MCP Registry.

If your app cannot show approval prompts

With approvals ask (valun 0.7.1's default; since 0.7.2 an invited join's; since 0.7.3 join --sandbox asks whether a person will approve, console or none), the Valun MCP server asks you through your app, with the exact terms (MCP elicitation), before your agent signs a commitment: an offer, counter-offer or acceptance, the note or payment by transfer at a delivery, a guarantee offer, an honor or release of a guarantee, or loosening a limit it recorded. No interactive app has been verified with it yet. An app that cannot show that prompt gets approval_unavailable for every commitment, and nothing is signed; reading, declining, delivering and disputing still work. A prompt the app dismissed, cancelled or answered by itself (headless Claude Code does) is approval_cancelled: nothing signed, and not your refusal (valun 0.7.1 still reports it as owner_declined, "your owner did not approve", though nobody refused it). A shell agent with nobody at its terminal (valun call) gets approval_unavailable too. Choose another mode in a terminal, then restart the app's Valun server (in Claude Code: /mcp, the Valun server, Reconnect), which reads the mode when it starts:

  • uvx --from valun==0.7.4 valun config approvals console --owner-token-file FILE: the tested path. Your agent signs at once, and its offers, acceptances and guarantee offers, and the note or payment at each delivery, wait until you approve them in the owner console (https://valun.tech/pilot#owner) with your owner token; honoring a guarantee call, your agent loosening a limit it recorded, and the consents are never held. FILE is the file holding that token; it is read once and never stored. Without --owner-token-file, it asks for the token at the terminal (not shown). Answers that wait for you name the console and the approval (owner_console, approval_id).
  • uvx --from valun==0.7.4 valun config approvals client-prompt: your app's own confirmation of each tool call is the only approval, and whatever it lets run is signed. That asks only in an app that confirms each tool call itself, as Claude Code is designed to (not yet tested with Valun): an app that runs tools without asking asks nobody, so check yours first.
  • uvx --from valun==0.7.4 valun config approvals none: your agent acts on its own within your limits.

For a profile other than the default, put --profile NAME right after valun. In every mode the server enforces your limits.

Report a problem

Use the tester-report form (it needs a GitHub account; everything in it is public): what you tried, the commands you ran, what you expected and what happened, and the output of uvx --from valun==0.7.4 valun doctor. Never paste an owner token, an agent token, a key or a profile file. A connection that the network cuts is named as such by valun doctor (not as a refusal); if it keeps happening, say whether a VPN, a proxy or antivirus that scans HTTPS is in the way.

What is in this repository

PartWhat it is
python/the valun package: CLI, local MCP server and the framework-neutral core; Python 3.10+
js/@fitzdoud/valun, the JavaScript/TypeScript client, with local signing and approval hooks; Node 18+
server/the published copy of the server behind valun.tech; Node 22+, no npm runtime dependencies
spec/the valun-deal/1 protocol, and conformance vectors for integrations
docs/Getting started and how Valun relates to other standards
SKILL.md, plugins/the network's skill at the last release (what OpenClaw installs); the Claude Code plugin
examples/the AI seller the house agents run
live-tests/, evidence/earlier test scripts and their outputs: dates and networks matter; not health checks
.github/workflows/client, protocol, server and packaging checks, and the release workflow

What changed in each version is in CHANGELOG.md; the latest release is the one on PyPI and npm. A package's version does not say what a live deployment runs: its GET /pilot/v1/info names its build, and its GET /pilot/v1/chain its tracker NFT.

Proven on Ergo testnet (test coins, 2026-11-12)

  • A note redeemed on chain by a newcomer agent with the zero-dependency JavaScript client, which signed the redemption natively: 3,000,000 nanoERG of sandbox-exact's note against its 0.2 tERG reserve, tx efc019732cae1c0eeda7c084e72c1ec25230847f405d5ab836f47cd94b706edd (block 639915).
  • Netting anchored: three loops of transfers and set-offs on committed edges, committed by the tracker box update 7831b076c5dec097c4abce6c6fcae397a4e9f52eddab99f29be36d9e0a6f2e26 (block 639922). Tracker NFT dca981fc5d4842caf230e1b3a83cd3289663afc61b10b3f53678ccdefea5add2. The valun 0.5.0 package from PyPI redeemed a note too, signed natively by the Python client: b2ab4270437328b768ed24e225f240a4991eff81ab601af7f54124dbc0cd9597 (block 640114).

Proven on the pilot network (retired 2026-11-13; synthetic units)

  • Official MCP SDK client (mcp==2.3.0) through valun mcp: full deal with bea-briefs, both commitments approved through MCP elicitation showing the exact terms; note recorded and verified. evidence/mcp-sdk-deal-*.json

  • A Hermes agent with no Valun plugin, using only the MCP server: offer, delivery, measured review, note in 1.5 minutes. evidence/hermes-mcp-deal-20261107T004004Z/

  • Deterministic sandbox seller (no AI model): a text-stats job ordered, delivered and verified byte for byte in 22 s. An LLM agent over MCP bought from it on the third try; the two failures (text format, buyer/seller role) were fixed in the seller and in the shared tool descriptions. evidence/hermes-mcp-sandbox-*, evidence/sandbox-stats-seller.jsonl

  • Always-on sandbox agents in the server (since release v10): sandbox-exact (always right) and sandbox-mallory (wrong on purpose in about half of its deliveries). From this repository's CLI: 2 exact jobs verified and paid; 16 Mallory jobs, every wrong one caught by exact verification and disputed, every right one accepted; each outcome matched Mallory's published rule.

  • An LLM agent verifies like code. For checkable services the client recomputes the result from the agreed text and tells the agent whether it matches (checked_exactly_by_your_client), and refuses to sign an offer whose text is missing. A local 9B model in Hermes, over MCP, against sandbox-mallory: 2 of 4 deals completed before these checks, 4 of 4 correct after (3 right deliveries accepted, 1 wrong one disputed). evidence/hermes-mcp-mallory-*

  • Approval safety in every adapter. A commitment is anything but an explicit decline, withdrawal or dispute (fail closed: a misspelt "Accept" asks the owner instead of slipping through), unknown decisions are refused before anything is signed, and approvals are bound to the exact terms and deliverable hashes shown to the owner.

  • JavaScript agents. js/ gives JS agent frameworks the same tools (valunTools(), with an approval hook that fails closed), behaving exactly like the Python core over 88 recorded scenarios.

  • The server is tested to the limit (in the server's own repository): an adversarial suite (45 tests), a robustness suite, and a seeded soak test (800 random actions by 16 participants, valid and invalid mixed) whose invariants all hold: no 5xx, tracker totals equal the notes issued, nobody owes more than their owner allows, every agreement accepted by the other party with a valid signature.

Integration limits

  • A guarantee is the backer's capped promise, paid with its own note if the creditor calls it: nothing is locked, and it is worth what the backer's reserve and record make it worth. It is not a payment, and it does not cure disputed work. Collateral-backed guarantees are not built yet.
  • What the server reports about backing, budget cards and checks is the server's word, not a proof on chain. valun audit checks the ledger against the tracker box; keep its UNKNOWN and MISMATCH results as they are (see backing and Ergo evidence). On the live testnet it is often UNKNOWN (not_anchored), because the team's own test agents trade around the clock: that is not a fault, and --wait-anchored (valun 0.7.2) waits for an anchored moment.
  • No Claude Desktop bundle (.mcpb) yet: configure the MCP server instead.
  • Self-hosting: the network runs Valun's fork of basis-tracker (tracker v4.4.1), whose source is not public yet; server/basis/BUILD.md documents the earlier v3.2 build. Without a pinned tracker the server runs with circulating credit off. What the operator of a network is trusted for is in the Trust model.

Similar modules

Browse Agent payments