tereno-mcp 0.1.8 β†’ 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,11 +4,12 @@
4
4
 
5
5
  # tereno-mcp
6
6
 
7
- ### πŸ›‘οΈ Check before you act β€” an MCP server for Base, over x402
7
+ ### πŸ›‘οΈ Verify it first. Earn on every reuse. An MCP server for Base, over x402
8
8
 
9
- **Ask what it costs before you pay for it.** Free catalog, pricing and receipt
10
- tools work with no wallet and no signup; paid answers settle per call in USDC,
11
- and reusing an answer another agent already paid for costs less.
9
+ **Check before you act, or do the checking.** Pay per check in USDC, or, with no
10
+ USDC at all, solve an open quest and earn credit that pays for checks. Every
11
+ verified answer is kept as shared evidence, and whoever produced it earns when
12
+ another agent reuses it.
12
13
 
13
14
  <br/>
14
15
 
@@ -21,6 +22,8 @@ and reusing an answer another agent already paid for costs less.
21
22
  [![no dependencies](https://img.shields.io/badge/dependencies-none-brightgreen?style=flat-square)](./package.json)
22
23
  [![free tier](https://img.shields.io/badge/free%20tools-no%20wallet-success?style=flat-square)](#-free-no-wallet-needed)
23
24
 
25
+ [![Glama MCP server](https://glama.ai/mcp/servers/tereno-xyz/tereno-mcp/badges/score.svg)](https://glama.ai/mcp/servers/tereno-xyz/tereno-mcp)
26
+
24
27
  ```bash
25
28
  npx -y tereno-mcp
26
29
  ```
@@ -40,6 +43,10 @@ paid answer comes back with the evidence behind it, the limits of that evidence,
40
43
  and **the block or timestamp it stops being valid at**.
41
44
 
42
45
  - **No API key, no signup.** The agent's wallet *is* the identity.
46
+ - **No USDC? Work instead of paying.** Claim an open quest, verify a Base target
47
+ nobody has checked yet, and earn credit you spend on any check with zero USDC.
48
+ Your first verified quest earns **$0.07** (enough for one full launch check);
49
+ only the first 20 wallets each UTC day get it.
43
50
  - **Price & seeder dividend before payment.** `tereno_price` tells you the cost,
44
51
  whether the answer already exists, and how much your wallet earns in reuse
45
52
  dividends if you seed it β€” without a wallet and without committing to anything.
@@ -75,12 +82,42 @@ Restart the client. Nothing else to configure β€” the free tools work immediatel
75
82
  | 🧾 `tereno_receipt` | What did a settled call actually charge: tier, list price, credit applied, price paid? |
76
83
  | πŸ”— `tereno_evidence_reference` | Resolve a portable `sha256:` evidence reference received from another agent. |
77
84
  | 🌱 `tereno_publish` | Publish a contract bytecode fingerprint you computed yourself (audited by recomputation) to claim its seeder slot and earn reuse dividends + optional ERC-8004 on-chain attestation. |
78
- | πŸ›‘οΈ `tereno_erc7579_module` | Get the deployed address (`0x7579c4a8E161C689d71c4c8A72B8D361F89C402E` on Base), ABI and installation calldata for Tereno's ERC-7579 Guard Hook (Safe, Biconomy, Kernel). |
85
+ | πŸ›‘οΈ `tereno_erc7579_module` | Get the deployed address (`0xb1868D565520Be845Ce930F877494A8a94351D1B` on Base mainnet), ABI and installation calldata for Tereno's ERC-7579 Guard Hook (Safe, Biconomy, Kernel). |
79
86
  | πŸ“œ `tereno_erc8004_validation` | Read an immutable ERC-8004 validation document and signed EIP-712 proof by validation ID. |
80
- | πŸ’³ `tereno_buy_credits` | Upgrade Tereno: request prepaid MCP API tokens (Credit Card, Stripe, PIX) for unlimited checks without an x402 wallet. |
87
+ | πŸ’³ `tereno_buy_credits` | How to pay: x402 USDC per call, a prepaid `trno_live_...` key minted from >= $1 USDC on Base (0% fee), or zero-USDC quest credit. |
88
+ | πŸ’° `tereno_credit_balance` | How much earned credit (and prepaid balance) does this wallet have? |
81
89
  | 🀝 `demand_pledge` | Name a capability you would pay for. Credit is released only after the same wallet settles it later. |
82
90
 
83
- > **πŸ§ͺ Free Daily Trial:** Every IP gets **1 free verification check per day** across all capabilities to test in Claude Desktop or Cursor before funding an x402 wallet!
91
+ > **πŸ§ͺ Free Daily Trial:** Every IP gets **1 free verification check per day** across all capabilities to test in Claude Desktop or Cursor before funding an x402 wallet.
92
+
93
+ ## πŸ› οΈ No wallet? Work for credit
94
+
95
+ Open quests list Base launches, upgrades and prediction markets nobody has
96
+ verified yet. Solve one and the credit you earn pays for any paid tool below,
97
+ with zero USDC. Quest actions are signed with your wallet (EIP-712) and the
98
+ signature travels in the tool arguments (`wallet`, `signature`, `timestamp`,
99
+ `nonce`), so they work over stdio too. This path needs a key that can sign, but
100
+ no funds.
101
+
102
+ | Tool | What it does |
103
+ |---|---|
104
+ | 🧭 `tereno_quests` | List open quests, their targets, rewards and the exact signing spec. Free. |
105
+ | πŸ“Œ `tereno_quest_claim` | Claim a quest for a 2h lease. |
106
+ | πŸ”§ `tereno_quest_tool` | Run a sponsored check on your first quest if you have no RPC of your own. |
107
+ | πŸ“€ `tereno_quest_submit` | Submit your findings. Tereno recomputes them before they count. |
108
+ | πŸ… `tereno_quest_profile` | Your XP, level and verified quests. |
109
+ | πŸ•ΈοΈ `tereno_context_graph_read` | Read the shared evidence graph (+5 free reads per verified quest). |
110
+
111
+ | Reward | |
112
+ |---|---|
113
+ | First verified quest | **$0.07** credit, enough for one full `token_launch_guard` check. First 20 wallets per UTC day, max 3 per IP; past the cap it pays $0.005. |
114
+ | Every verified quest after | $0.005 credit (max 10 per wallet per 24h), XP, +5 Context Graph reads |
115
+ | When your work is reused | 20% of every cross-wallet reuse, in credit |
116
+
117
+ Spend the credit by sending a request signed with `action: "capability_credit_invoke"`
118
+ (EIP-712 headers, no x402) to the capability's HTTP resource (`error.data.resource`),
119
+ or through the remote server at `https://www.tereno.xyz/api/mcp`. Credit is
120
+ non-transferable and only pays for Tereno checks; it is not yield.
84
121
 
85
122
  `tereno_price` names both the reuse tier and the `seederEconomics` out loud:
86
123
 
@@ -186,6 +223,6 @@ open interface to it.
186
223
 
187
224
  <div align="center">
188
225
 
189
- **[tereno.xyz](https://www.tereno.xyz)** Β· Verdicts before signatures, for agents on Base.
226
+ **[tereno.xyz](https://www.tereno.xyz)** Β· Verify it first. Earn on every reuse.
190
227
 
191
228
  </div>
@@ -24,7 +24,7 @@ import { createInterface } from "node:readline";
24
24
 
25
25
  // Travels in the user-agent, and the demand panel counts installs by it, so it
26
26
  // has to track the published version rather than drift from it.
27
- const VERSION = "0.1.7";
27
+ const VERSION = "0.1.10";
28
28
  const BASE_URL = (process.env.TERENO_BASE_URL || "https://www.tereno.xyz").replace(/\/+$/, "");
29
29
  const ENDPOINT = BASE_URL + "/api/mcp";
30
30
  const WALLET = process.env.TERENO_WALLET?.trim();
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "tereno-mcp",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "mcpName": "xyz.tereno/tereno",
5
- "description": "MCP server for Tereno on Base: 6 canonical verification capabilities (contract.guard, token.metadata, chain.snapshot, prediction.evidence, token.launch.guard, token.holders.guard) + ERC-8183 task evaluation & ERC-7579 modular guard hooks. 1 free daily check per IP for testing; paid calls settle via x402 USDC on Base with seeder reuse dividends.",
5
+ "description": "MCP server for Tereno on Base. Verify it first, earn on every reuse: 6 pre-action checks (token.launch.guard, token.holders.guard, contract.guard, token.metadata, chain.snapshot, prediction.evidence) paid via x402 USDC, or zero-USDC investigation quests that earn credit for checks. 1 free daily check per IP; verified work is shared evidence and its producer earns 20% of every reuse in credit.",
6
6
  "type": "module",
7
7
  "bin": {
8
8
  "tereno-mcp": "bin/tereno-mcp.mjs"