|
22 | 22 |
|
23 | 23 | ▶️ **Runnable full-cycle demo** (read-only, no keys): `npx tsx examples/full-cycle.ts` — live against Base: treasury state → risk regime → attestation verified offline → invest calldata → JIT redemption calldata. [Source](examples/full-cycle.ts). |
24 | 24 |
|
25 | | -🌐 **Hosted MCP (Streamable HTTP, no install):** `https://gblin-mcp.gblin-mcp-worker.workers.dev/mcp` — 6 free read-only tools (live risk regime, attestation sample, agent-economy stats, protocol info, and the **Coherence Proof** report), also on [Smithery](https://smithery.ai/servers/gblin-protocol/mcp). Source in [`worker/`](worker/). |
| 25 | +🌐 **Hosted MCP (Streamable HTTP, no install):** `https://gblin-mcp.gblin-mcp-worker.workers.dev/mcp` — **8 free tools**, no auth, no session: `get_market_risk_regime`, `get_attestation_sample`, `get_agent_economy_stats`, `get_protocol_info`, `get_coherence_report`, plus AI Action Receipts (`seal_action` demo 5/day/IP, `get_receipt`, `verify_receipt` — pure-math verification, no trust in this server). Docs are **MCP resources**, not tools: `gblin://howto/attestation`, `gblin://howto/seal`, `gblin://limits`, `gblin://keys` (verifier keys + key-rotation policy). Nothing is paid over MCP. |
| 26 | +> **GET-only audit** (for reviewers and clients that cannot POST): [`/meta`](https://gblin-mcp.gblin-mcp-worker.workers.dev/meta) (counts + `manifest_hash`) · [`/tools.json`](https://gblin-mcp.gblin-mcp-worker.workers.dev/tools.json) · [`/resources.json`](https://gblin-mcp.gblin-mcp-worker.workers.dev/resources.json) · [`/conformance`](https://gblin-mcp.gblin-mcp-worker.workers.dev/conformance) · [`/v1/verify/:index`](https://gblin-mcp.gblin-mcp-worker.workers.dev/v1/verify/0) (per-check booleans + on-chain anchor consistency). |
| 27 | +> This hosted surface is **deliberately different** from the npm stdio package below (13 tools, treasury/governance included). Also on [Smithery](https://smithery.ai/servers/gblin-protocol/mcp). Source in [`worker/`](worker/). |
26 | 28 |
|
27 | 29 | --- |
28 | 30 |
|
@@ -167,7 +169,7 @@ Add to `claude_desktop_config.json` (on Windows: `%APPDATA%\Claude\claude_deskto |
167 | 169 | } |
168 | 170 | ``` |
169 | 171 |
|
170 | | -Restart Claude Desktop. The 10 GBLIN tools appear in the tool picker. |
| 172 | +Restart Claude Desktop. The 13 GBLIN tools appear in the tool picker. |
171 | 173 |
|
172 | 174 | ### Windsurf / Cursor |
173 | 175 |
|
@@ -224,7 +226,7 @@ Also supports Cline, Continue.dev, and any agent that implements the MCP client |
224 | 226 |
|
225 | 227 | --- |
226 | 228 |
|
227 | | -## The 10 tools |
| 229 | +## The 13 tools (npm stdio package) |
228 | 230 |
|
229 | 231 | ### Free tools (no payment required) |
230 | 232 |
|
|
348 | 350 | client.ts # viem PublicClient + on-chain timestamp helper |
349 | 351 | helpers.ts # NAV, basket state, slippage, cooldown, reverse quote |
350 | 352 | keeper.ts # keeper bounty finder (incentivizedRebalance math) |
351 | | - tools.ts # the 10 tool implementations + zod schemas |
| 353 | + tools.ts # the 10 treasury tool implementations + zod schemas (receipts.ts adds 3) |
352 | 354 | index.ts # MCP stdio server entry |
353 | 355 | scripts/ |
354 | 356 | test.ts # live smoke test |
|
0 commit comments