tereno-mcp 0.1.5 โ†’ 0.1.7

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
@@ -67,15 +67,21 @@ Restart the client. Nothing else to configure โ€” the free tools work immediatel
67
67
 
68
68
  ## ๐Ÿ†“ Free, no wallet needed
69
69
 
70
- | Tool | The question it answers |
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
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? |
73
74
  | ๐Ÿท๏ธ `tereno_price` | What would *this exact call* cost right now โ€” does the answer already exist, and what is the seeder dividend? |
74
75
  | ๐Ÿงพ `tereno_receipt` | What did a settled call actually charge: tier, list price, credit applied, price paid? |
75
76
  | ๐Ÿ”— `tereno_evidence_reference` | Resolve a portable `sha256:` evidence reference received from another agent. |
76
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. |
77
81
  | ๐Ÿค `demand_pledge` | Name a capability you would pay for. Credit is released only after the same wallet settles it later. |
78
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
+
79
85
  `tereno_price` names both the reuse tier and the `seederEconomics` out loud:
80
86
 
81
87
  ```
@@ -89,9 +95,11 @@ miss nothing to reuse โ€” settling this call makes your wallet the seeder, a
89
95
  | Tool | Price (hit โ†’ miss) | The question it answers |
90
96
  |---|---:|---|
91
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) |
92
- | โ›ฝ `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 |
93
- | ๐Ÿ›ก๏ธ `contract_guard` | $0.01 โ€“ $0.03 | Is this Base contract safe to interact with? (executable code, EIP-1967 proxy & pause signals, bounded verdict) |
94
- | ๐Ÿ“Š `prediction_evidence` | $0.01 โ€“ $0.05 | Sourced, machine-readable evidence supporting or contradicting a prediction-market proposition, with provenance |
98
+ | โ›ฝ `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 |
99
+ | ๐Ÿ›ก๏ธ `contract_guard` | $0.02 โ€“ $0.10 | 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.08 | **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.02 โ€“ $0.08 | **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 |
95
103
 
96
104
  Calling a paid tool returns a `402` carrying the payment challenge in
97
105
  `error.data.paymentRequired`, the payable resource URL in `error.data.resource`,
@@ -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.5";
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();
@@ -102,9 +102,9 @@ async function forward(request) {
102
102
  + "and no argument on this tool accepts one. Settle it over HTTP instead: sign "
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
- + "once. Free here, needing no wallet and no payment: tereno_catalog, tereno_price, "
106
- + "tereno_receipt, tereno_evidence_reference, tereno_publish and demand_pledge. Call tereno_price "
107
- + "first if you only wanted to know the cost and seeder dividend economics.",
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, tereno_erc7579_module, tereno_erc8004_validation and demand_pledge. Call tereno_agent_rules "
107
+ + "or tereno_price first to understand cache discounts and seeder dividend economics.",
108
108
  {
109
109
  paymentRequired: challenge,
110
110
  // The payable resource, which is the capability's invoke URL. This
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "tereno-mcp",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
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"