Directory
‹ Back to apps

GBLIN Protocol

Treasury and market-risk tools for AI agents on Base: an MCP server (21 tools: risk regime, treasury plan for idle USDC, unsigned calldata to mint and redeem at NAV, EIP-3009 payments) plus skills for self-funding agents, x402 payments and risk gating. Reads free; nothing executed.

What’s inside

1 MCP server · 9 skills
  • Skillagent-self-fundingUse when the user wants to build a self-sustaining AI agent that earns revenue via x402 micropayments and reinvests it autonomously. Covers the loop architecture, capital preservation between earnings, and minimum economic viability calculations.
  • Skillbase-agent-treasuryUse when building or advising on treasury management for an AI agent on Base mainnet. Covers when to hold USDC, when to use GBLIN treasury-backed index, when to use Morpho or Aave lending, and how to choose based on treasury size and revenue pattern.
  • Skillcrash-shield-risk-managementUse when an AI agent needs to react to market crashes or extreme volatility. Covers reading GBLIN's Crash Shield signal as a public bear-market indicator, conservative actions to take when activated, and how to combine with other risk signals.
  • Skillearn-as-base-keeperUse when an AI agent with a funded wallet on Base wants to act as a keeper for the GBLIN protocol. Covers how the vault's Dutch auction works, how to read its state, how to size a bid and when the premium makes it worth sending.
  • Skillerc8021-attributionUse when integrating an AI agent or MCP server with Base ecosystem protocols and the user wants to attribute transactions to a referring developer or agent via ERC-8021 Builder Code. Covers code format, registration on base.dev, and revenue-share semantics.
  • Skillgblin-agent-treasuryRun a self-custody treasury for an AI agent on Base with the gblin-treasury CLI: keep operating cash in USDC, park the surplus in GBLIN (an on-chain cbBTC/WETH/USDC index with a crash-shield rule), refill USDC from GBLIN just in time, and pay x402 invoices with automatic refill. Use whenever the user mentions idle USDC, agent treasury, parking or investing surplus, running out of USDC for x402 payments, refilling USDC, treasury status, reserve, runway, or paying an x402 endpoint from a treasury.
  • Skilljit-redemption-patternUse when an AI agent holds GBLIN and needs to convert a specific USDC amount for an outgoing payment. Covers the JIT (Just-In-Time) redemption pattern through the GBLIN Zap, cooldown timing, and how to use it inside x402 payment flows.
  • Skillrisk-attestationUse when an AI agent needs verifiable PROOF that it checked market risk before moving capital, or needs to verify such a proof from a counterparty/peer agent. Covers GBLIN Risk Attestations — perishable (10-minute), EIP-712-verifiable snapshots of the on-chain BTC/ETH risk regime that an agent mints, attaches to its action as proof-of-diligence, and that any counterparty verifies in one step (for free). Use it to gate trust-sensitive actions on a fresh, independent risk check.
  • Skillx402-paywall-patternUse when the user wants to monetize an MCP server, HTTP API, or AI agent endpoint with x402 micropayments. Covers HTTP 402 response structure, EIP-3009 USDC payment flow, Base mainnet integration, and optional auto-treasury hook.
  • MCP servergblinGBLIN MCP server: live risk regime, treasury plan for idle USDC, unsigned calldata to mint and redeem at NAV, EIP-3009 payments. 21 tools locally over stdio, 24 hosted; free, no auth, nothing executed.