Manages Base treasury risk, GBLIN swaps, USDC obligations, governance checks, and verifiable AI action receipts over MCP.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
This server is confirmed live β we successfully called its tools/list endpoint directly (see the verified badge above). We haven't yet sandbox-tested the stdio install command below specifically, which is a separate, ongoing check.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by GBLIN MCP.
get_treasury_stateRead the current GBLIN protocol state on Base mainnet: NAV in USD, basket composition with dynamic weights, and Crash Shield status. Use this BEFORE any swap to know the current price and risk regime.
quote_safe_swapPreview a buy (ETHβGBLIN) or sell (GBLINβETH) without executing. Returns expected output, safe minOut with dynamic slippage buffer (2.5% normal / 4% during Crash Shield), and fee breakdown. Read-only.
swap_gblin_to_usdc_jitWhen an x402 invoice (or any USDC obligation) arrives and your treasury sits in GBLIN, call this to get ready-to-broadcast calldata that redeems exactly the USDC you need, just in time. Two sequential transactions: (1) redeem GBLIN to ETH directly against the contract (sellGBLINForEth), (2) a Uniswap WETH->USDC swap. EOAs sign twice; ERC-4337 / EIP-7702 wallets can batch both into one UserOp. MEV-safe minOut included, never zero. Free to call β revenue is captured on-chain via the 0.05% founder fee on every swap.
invest_usdc_to_gblinWhen your agent's idle USDC exceeds operating needs (rule of thumb: more than 7x daily burn), call this to park the SURPLUS into GBLIN β managed crypto exposure minted at NAV directly from the contract, redeemable any time via swap_gblin_to_usdc_jit. Returns two steps of calldata: (1) approve USDC to the GBLIN contract, (2) buyGBLINInKind(USDC, amount, minGblinOut). No Uniswap leg, MEV-safe minOut, never zero. Free to call - revenue is captured on-chain via the 0.05% founder fee on every buy.
analyze_treasury_healthAnalyze an agent wallet's treasury health: GBLIN/USDC/ETH balances, gas runway, and (if daily_burn_usd provided) days of operational runway plus rebalance recommendation. Critical for autonomous decision-making. Costs $0.003 USDC per call via x402 β omit _payment on first call to receive the 402 payment manifest.
get_governance_stateVerify GBLIN protocol governance state: confirms whether GBLIN_V6 is owned by the 48h Timelock, reads the timelock's min delay and grace period, reports role member counts, and surfaces any pending asset-addition proposal on the index contract. If an operation_id is provided, also reports the status of that specific timelock operation. Read-only β use this to gate trust-sensitive agent actions.
gblinproject/GBLIN-MCP MCP server exposes treasury and risk operations for agents working on Base mainnet. The treasury functions use GBLIN, an index backed by cbBTC, WETH, and USDC, with minting and redemption at NAV as described in the project material. Agents can inspect NAV, basket weights, Crash Shield status, wallet balances, gas runway, and operational runway before deciding whether to deploy or retain capital.
The server also supports the payment side of treasury management. It can prepare calldata to move between GBLIN, ETH, and USDC, including a just-in-time redemption path for an x402 invoice or another USDC obligation. The returned transactions are unsigned; the user's EOA or account-abstraction wallet must authorize them.
Read-only tools retrieve protocol, market-risk, governance, and wallet information. The risk tool returns one of three regimesβcalm, elevated, or crashβalong with a severity score and a posture such as risk_on, reduce, or risk_off. Governance checks inspect the GBLIN_V6 owner, timelock settings, role counts, and pending asset-addition proposals.
Swap and investment tools return transaction steps rather than broadcasting them. Investing USDC requires an approval followed by an in-kind GBLIN purchase. JIT redemption uses a GBLIN-to-ETH transaction followed by a Uniswap WETH-to-USDC transaction. Safe minimum outputs include dynamic slippage protection; the stated buffers are 2.5% normally and 4% during Crash Shield conditions.
The receipt tools hash action inputs and outputs, then work with Ed25519 signatures, RFC 6962 Merkle proofs, and signed checkpoints. Receipts can be fetched and verified independently. The demo sealing path is limited to five seals per day per IP, while unlimited paid sealing uses x402.
The project publishes an npm package named @gblin-protocol/mcp-server. A local stdio installation can be started with:
A hosted Streamable HTTP MCP endpoint is also provided at https://gblin-mcp.gblin-mcp-worker.workers.dev/mcp. The README describes that hosted surface as unauthenticated, sessionless, and separate from the npm package: it has eight free tools, while the npm package exposes 13 tools including treasury and governance functions. The hosted endpoint is therefore not a complete substitute for the local package.
No API key or wallet is needed to read the free risk information. Wallet keys are not held by the service. Some operations require x402 payments in USDC, including treasury-health analysis, risk-regime queries, keeper-bounty checks, and unlimited receipt sealing.
gblinproject/GBLIN-MCP MCP server includes tools to:
The material describes the protocol and tool behavior but does not guarantee that a transaction will execute successfully after calldata is returned. Agents still need a compatible wallet, sufficient assets, approvals, and gas, and must sign the transactions themselves. Some tools charge through x402, with the first call used to obtain a payment manifest when _payment is omitted.
The transparency log records hashes plus submitted labels and metadata; those strings are public, so secrets should not be placed in them. Its receipts demonstrate signed, time-stamped inclusion in the log and are not compliance certificates or endorsements. The hosted and npm tool surfaces differ, so client selection should account for which functions are required.
Factual signals from GitHub, npm, and our automated checks β not a rating.
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/gblinproject-gblin-mcp)<a href="https://allmcps.com/mcp/gblinproject-gblin-mcp"><img src="https://allmcps.com/api/badge/gblinproject-gblin-mcp?style=directory" alt="GBLIN MCP on AllMCPs" /></a>