tereno-mcp 0.1.6 โ†’ 0.1.8

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
@@ -69,14 +69,19 @@ Restart the client. Nothing else to configure โ€” the free tools work immediatel
69
69
 
70
70
  | Tool / Resource | The question it answers |
71
71
  |---|---|
72
- | ๐Ÿ“œ `tereno_agent_rules`<br/>*(resource: `tereno://agent-rules.md`)* | **How does the cooperative economy work?** Rules of engagement for AI agents: cache sharing ($0.01 vs $0.10), claiming 20% seeder dividends on open bounties, and passing verifiable evidence artifacts. |
72
+ | ๐Ÿ“œ `tereno_agent_rules`<br/>*(resource: `tereno://agent-rules.md`)* | **How does the cooperative economy work?** Rules of engagement for AI agents: cache sharing ($0.01 vs up to $0.07 cold), claiming 20% seeder dividends on open bounties, and passing verifiable evidence artifacts. |
73
73
  | ๐Ÿ“– `tereno_catalog` | What can Tereno answer, what does it cost, how long does each answer stay valid, and where is the open bounty queue? |
74
74
  | ๐Ÿท๏ธ `tereno_price` | What would *this exact call* cost right now โ€” does the answer already exist, and what is the seeder dividend? |
75
75
  | ๐Ÿงพ `tereno_receipt` | What did a settled call actually charge: tier, list price, credit applied, price paid? |
76
76
  | ๐Ÿ”— `tereno_evidence_reference` | Resolve a portable `sha256:` evidence reference received from another agent. |
77
77
  | ๐ŸŒฑ `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). |
79
+ | ๐Ÿ“œ `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. |
78
81
  | ๐Ÿค `demand_pledge` | Name a capability you would pay for. Credit is released only after the same wallet settles it later. |
79
82
 
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!
84
+
80
85
  `tereno_price` names both the reuse tier and the `seederEconomics` out loud:
81
86
 
82
87
  ```
@@ -90,9 +95,11 @@ miss nothing to reuse โ€” settling this call makes your wallet the seeder, a
90
95
  | Tool | Price (hit โ†’ miss) | The question it answers |
91
96
  |---|---:|---|
92
97
  | ๐Ÿช™ `token_metadata` | $0.01 โ€“ $0.03 | What Base ERC-20 token is this? (`name`, `symbol`, `decimals` shared for 7d + fresh `totalSupply` at current block) |
93
- | โ›ฝ `chain_snapshot` | $0.002 โ€“ $0.005 | What is the current state of Base? Latest block number, timestamp, base fee and suggested gas fees, zero parameters |
94
- | ๐Ÿ›ก๏ธ `contract_guard` | $0.02 โ€“ $0.10 | Is this Base contract safe to interact with? (executable code, EIP-1967 proxy & pause signals, bounded verdict) |
95
- | ๐Ÿ“Š `prediction_evidence` | $0.01 โ€“ $0.05 | Sourced, machine-readable evidence supporting or contradicting a prediction-market proposition, with provenance |
98
+ | โ›ฝ `chain_snapshot` | $0.01 โ€“ $0.02 | What is the current state of Base? Latest block number, timestamp, base fee and suggested gas fees, zero parameters |
99
+ | ๐Ÿ›ก๏ธ `contract_guard` | $0.01 โ€“ $0.03 | Is this Base contract safe to interact with? (executable code, EIP-1967 proxy & pause signals, zero-extra-RPC honeypot check) |
100
+ | ๐Ÿš€ `token_launch_guard` | $0.02 โ€“ $0.07 | **Can I get out after I get in?** Simulates sell/exit via `eth_call`, verifies DEX LP depth and burn/lock status, inspects owner powers (hidden fees, mint, blacklist traps) |
101
+ | ๐Ÿ‘ฅ `token_holders_guard` | $0.01 โ€“ $0.04 | **Who controls this token?** Top 10 holder concentration and deployer-funded cabal Sybil clusters via ETH funding origin graphs |
102
+ | ๐Ÿ“Š `prediction_evidence` | $0.01 โ€“ $0.05 | Sourced, machine-readable evidence supporting or contradicting a prediction-market proposition, with UMA dispute classification |
96
103
 
97
104
  Calling a paid tool returns a `402` carrying the payment challenge in
98
105
  `error.data.paymentRequired`, the payable resource URL in `error.data.resource`,
@@ -172,7 +179,7 @@ open interface to it.
172
179
  [Live catalog](https://www.tereno.xyz/api/v1/capabilities) ยท
173
180
  [OpenAPI](https://www.tereno.xyz/openapi.yaml) ยท
174
181
  [MCP registry entry](https://registry.modelcontextprotocol.io/v0/servers?search=tereno) ยท
175
- [plugin-tereno for ElizaOS](https://github.com/RobMartello/plugin-tereno) ยท
182
+ [plugin-tereno for ElizaOS](https://github.com/tereno-xyz/plugin-tereno) ยท
176
183
  [tereno-client SDK](https://www.npmjs.com/package/tereno-client)
177
184
 
178
185
  ---
@@ -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.6";
27
+ const VERSION = "0.1.7";
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();
@@ -103,7 +103,7 @@ async function forward(request) {
103
103
  + `data.paymentRequired with an x402 client and ${where}. That returns the same `
104
104
  + "payload this tool would have returned, including the receipt, and it is billed "
105
105
  + "once. Free here, needing no wallet and no payment: tereno_agent_rules, tereno_catalog, tereno_price, "
106
- + "tereno_receipt, tereno_evidence_reference, tereno_publish and demand_pledge. Call tereno_agent_rules "
106
+ + "tereno_receipt, tereno_evidence_reference, tereno_publish, tereno_erc7579_module, tereno_erc8004_validation and demand_pledge. Call tereno_agent_rules "
107
107
  + "or tereno_price first to understand cache discounts and seeder dividend economics.",
108
108
  {
109
109
  paymentRequired: challenge,
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "tereno-mcp",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "mcpName": "xyz.tereno/tereno",
5
- "description": "MCP server for Tereno on Base: inspect token metadata, current chain state, contract risk and sourced prediction-market evidence. Free catalog, pricing, receipt and publish tools; paid answers settle per call with x402 in USDC and earn seeder reuse dividends.",
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.",
6
6
  "type": "module",
7
7
  "bin": {
8
8
  "tereno-mcp": "bin/tereno-mcp.mjs"