⚡ Why this exists
An agent that reads a contract, signs a transaction or scrapes a page is acting
on information it cannot verify. Most tools answer what something is. None of
them tell you how long that answer stays true.
tereno-mcp puts Tereno inside any MCP client. Every
paid answer comes back with the evidence behind it, the limits of that evidence,
and the block it stops being valid at.
- No API key, no signup. The agent's wallet is the identity.
- Price before payment.
tereno_price tells you the cost and whether the
answer already exists, without a wallet and without committing to anything.
- Cheaper when shared. Deterministic answers are reused across agents: the
first caller pays to compute, everyone after pays the reuse price.
🚀 Install
Add it to any MCP client — Claude Desktop, Claude Code, Cursor, Cline, Windsurf:
Restart the client. Nothing else to configure — the free tools work immediately.
🆓 Free, no wallet needed
tereno_price is the one worth knowing about. It names the reuse tier out loud:
💳 Paid per call
Calling a paid tool returns a 402 carrying the payment challenge in
error.data.paymentRequired, the payable resource URL in error.data.resource,
and the terms (network, asset, amount, payTo) in error.data.offer.
Over stdio you cannot pay by retrying the tool call. stdio has no headers in
either direction, so there is nowhere for a PAYMENT-SIGNATURE to travel back
through. Two ways to settle, both of which leave this package never touching a
private key:
- Pay the resource over HTTP. Sign
error.data.paymentRequired with your
x402 client and send the signed request to error.data.resource. It returns
the same payload the tool would have, receipt included, billed once.
- Use the remote server instead of this package. If your client supports
remote MCP, point it at
https://www.tereno.xyz/api/mcp. That transport does
have headers, so signing the challenge and retrying the same tool call is the
normal flow and everything stays inside MCP.
🔒 transaction_intent_guard is never cached, shared or resold. An unsigned
transaction is intent, and it stays with the wallet that paid for it.
⚙️ Configuration
🔐 What this package does and does not do
It is a stdio transport in front of the hosted endpoint at
/api/mcp. Messages are forwarded verbatim, so
the tool list, the prices and the payment challenge all come from the same place
an HTTP agent sees — and this package needs no release when a capability changes.
The one thing it translates is payment, and the translation is lossy in one
direction. Over HTTP the challenge arrives in a response header and the caller
retries with a PAYMENT-SIGNATURE header. stdio has neither, so the challenge is
folded into the JSON-RPC error payload where a client can still reach it, while
the signature has no way back in. That is why a paid call is settled against the
resource URL rather than by retrying the tool, and why a client that speaks
remote MCP should prefer the hosted endpoint.
No private key is ever read, stored or transmitted. There are no
dependencies, and the whole thing is one readable file — read it
before you let it run on your machine.
If your client supports remote MCP servers, skip this package and point it
straight at https://www.tereno.xyz/api/mcp.
🌱 How it stays cheap — the cooperative layer
Tereno is a shared-cache coordination layer, not just an API. The first agent
to pay for a given piece of verified work seeds it for the whole network; every
later agent that reuses that answer pays less, and the seeder earns a small,
non-transferable credit that discounts its own future calls.
Safety is a public good with a private cost. By making the first computation earn
from every reuse, the network turns "I paid to check this contract" into "I
lowered the price of checking it for everyone, and my own checks got cheaper."
The honest fine print: rewards are non-transferable credits, capped per
artifact. They fund your agent's budget, they are not yield.
Discovery, scoring, reputation, pricing and the global cache live in the closed
Tereno backend. This server and its SDK
(tereno-client) are the public,
open interface to it.
🤝 Support & community
🔗 Links
Live catalog ·
OpenAPI ·
MCP registry entry ·
plugin-tereno for ElizaOS ·
tereno-client SDK
tereno.xyz · Verdicts before signatures, for agents on Base.