Risk regime + treasury for AI agents on Base: free regime reads, signed attestations, idle USDC.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Market risk regime and treasury tools for AI agents on Base mainnet. A Model Context Protocol (MCP) server that answers two questions an autonomous agent has to ask before it moves money:
- Is the market risk-off right now? Read the live regime β
calm|elevated|crashβ derived from an on-chain Crash Shield. Free, no API key, no wallet. If you need to prove to a counterparty that you checked, buy a signed EIP-712 risk attestation as portable proof-of-diligence.- Where does idle USDC sit between jobs? In GBLIN, a collateral-backed cbBTC/WETH/USDC index that mints and redeems at NAV, with a Just-In-Time swap back to USDC the millisecond the agent needs to pay an x402 invoice. No lockup, unsigned calldata only β your wallet signs, we never hold keys.
π Full documentation and Quick Start: gblin.digital/agents
β‘ Copy-paste starter examples: examples/ β ElizaOS Β· AgentKit / TypeScript Β· Claude / any MCP client β each with the recommended treasury-policy system prompt and safe-default security env.
βΆοΈ 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.
π Hosted MCP (Streamable HTTP, no install): https://gblin-mcp.gblin-mcp-worker.workers.dev/mcp β 8 free tools in a dot-notation tree, no auth, no session: risk.regime, risk.attestation_sample, protocol.stats, protocol.info, coherence.report, plus AI Action Receipts (receipts.seal demo 5/day/IP, receipts.get, receipts.verify β pure-math verification, no trust in this server). Two prompts: risk_gate, seal_and_verify. The pre-rename flat names still work as unlisted aliases until 2026-11-21. 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.
GET-only audit (for reviewers and clients that cannot POST):
/meta(counts +manifest_hash) Β·/tools.jsonΒ·/resources.jsonΒ·/conformanceΒ·/v1/verify/:index(per-check booleans + on-chain anchor consistency). This hosted surface is deliberately different from the npm stdio package below (13 tools, treasury/governance included). Also on Smithery. Source inworker/.
For agents running on ElizaOS, install the companion plugin β now listed in the official ElizaOS plugin registry (v0.4.0, security-hardened):
It exposes four native Actions (CHECK_GBLIN_TREASURY_HEALTH, INVEST_IDLE_USDC_GBLIN, RESCUE_USDC_FROM_GBLIN, GET_GBLIN_RISK_ATTESTATION) and a Provider that injects live NAV + Crash Shield status into the agent context on every loop.
The problem this attacks is the #1 barrier to AI adoption in 2026: nobody can
prove, after the fact, exactly what an AI did (surveys: workers burn 2β4 h/week
verifying AI output; 70% of orgs say they cannot govern their agents). Our answer
is the smallest honest primitive: a public, append-only RFC 6962 transparency
log for AI actions. Input and output go in as hashes only (never content);
the short action label, agent_id, tool and meta strings you send are
published in the public log β put identifiers there, never secrets. You get back
a portable receipt any third party can verify offline, forever.
Canonicalization is frozen as gblin-canonical-json/1: object keys sorted by
UTF-16 code unit, no whitespace, JSON.stringify semantics for primitives,
recursion for objects/arrays. Test vector: payload {"b":1,"a":null} β
canonical {"a":null,"b":1} β leaf = SHA256(0x00 || canonical_bytes). The
receipt signature is Ed25519 over "gblin-receipt/v1\n" + canonical.
POST https://gblin.digital/api/x402/seal β $0.01 USDC via x402.POST <worker>/v1/seal-demo or hosted MCP tool receipts.seal (verify with receipts.verify).<worker>/v1/receipt/:index Β· /log Β· /log/checkpoint Β· /log/proof/:index Β· human page /receipt/:index.0x9f433a96β¦, promiseId keccak256("gblin-receipts-log")).verify-receipt.mjs β node verify-receipt.mjs receipt.json.A seal proves existence and time in a signed append-only log whose root is
anchored daily on Base. The checkpoint is currently signed by the log operator
(us); independent witness cosigning is an open invitation β we already
cosign a third-party transparency log (C2SP tlog-witness) and will list any
witness that cosigns ours. Until then, honest wording: operator-signed, chain-anchored.
It is not a compliance certificate and not an endorsement of the content.
Worker: <worker> = https://gblin-mcp.gblin-mcp-worker.workers.dev.
GBLIN pre-registers hash-pinned public promises, then runs an automaton that probes them every 10 minutes and seals each closed day as an EAS attestation on Base. Reading is free forever; the paid service is being observed β the certifier submits itself to its own instrument first.
/coherence (JSON) or the hosted MCP tool coherence.report.gblin-initDrop an AGENTS.md treasury policy into your repo so every modern AI coding
assistant (Claude Code, Cursor, Windsurf, GitHub Copilot, Codex) automatically
discovers GBLIN when it works on your codebase:
The command is idempotent and safe:
AGENTS.md does not exist β creates it from the canonical template at
gblin.digital/AGENTS.template.md.AGENTS.md exists β appends a clearly delimited GBLIN block at the
bottom; your own content is never touched.--dry-run prints what it would do without writing.--force refreshes the block to the latest version.It also runs offline thanks to a bundled fallback template.
When the package is installed as a regular dependency (npm i @gblin-protocol/mcp-server),
a short tip is printed once suggesting the command above. No files are
written during postinstall β security-friendly and Socket-compliant. Set
GBLIN_SKIP_HINT=1 to silence it.
GBLIN V6 is governed by a 48h Timelock Controller β every admin operation (parameter change, oracle update, ownership transfer) is enforced on-chain to wait 172,800 seconds before execution. Agents and integrators can verify this directly on BaseScan.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/gblin-treasury-risk-regime)<a href="https://allmcps.com/mcp/gblin-treasury-risk-regime"><img src="https://allmcps.com/api/badge/gblin-treasury-risk-regime?style=directory" alt="Gblin Treasury Risk Regime on AllMCPs" /></a>