@gblin-protocol/mcp-server
GBLIN MCP Server
Base mainnet上のAIエージェント向けマーケットリスクレジムおよびトレジャリーツール。 自律エージェントが資金を動かす前に必ず問うべき2つの質問に答えるModel Context Protocol(MCP)サーバーです:
今、マーケットはリスクオフか?
calm|elevated|crashのライブレジームを読み取れます。これはオンチェーンのCrash Shieldから導出されます。無料、APIキー不要、ウォレット不要。 取引相手に確認したことを証明する必要がある場合は、署名済みEIP-712のリスクアテステーションをポータブルなデューデリジェンスの証明として購入できます。アイドル状態のUSDCは仕事の合間にどこに置くのか? GBLINでは、NAVでミント/リダイームできる裏付け資産を持つcbBTC/WETH/USDCインデックスに預けられます。エージェントがx402インボイスを支払う必要が生じた瞬間に、USDCへジャストインタイムスワッブされます。ロックアップなし、未署名のcalldataのみ — 署名するのはあなたのウォレットで、私たちが鍵を保持することはありません。
[
**(https://smithery.ai/servers/gblin-protocol/mcp)
📖 完全なドキュメントとクイックスタート: gblin.digital/agents
⚡ コピペで使えるスターター例: examples/ — ElizaOS · AgentKit / TypeScript · Claude / 任意のMCPクライアント — それぞれに推奨のトレジェリーポリシーシステムプロンププトと安全なデフォルトのセキュリティ環境変数が付属しています。
▶️ 実行可能な全サイクルのデモ(読み取り専用、キー不要):npx tsx examples/full-cycle.ts — Baseで対話型実行:トレジャリー状態 → リスクレジーム → オフラインで検証されるアテステーション → 投資用calldata → JIT型のenum解約calldata。ソース。
🌐 ホステッドMCP(Streamable HTTP、インストール不要)。 https://gblin-mcp.gblin-mcp-worker.workers.dev/mcp — 無料ツール8つをドット記法のツリーで提供、認証なし、セッションなし:risk.regime、risk.attestation_sample、protocol.stats、protocol.info、coherence.report、さらにAIアクション・レシート(receipts.seal デモ 1日/IPあたり5件、receipts.get、receipts.verify — 純粋な数学的検証で、このサーバーへの信頼の必要なし)。2つのプロンプト:risk_gate、seal_and_verify。リネーム前のフラット名は2026-11-21まで未リストのエイリアスとして引き続き動作します。ドキュメントはツールではなくMCPリソースです:gblin://howto/attestation、gblin://howto/seal、gblin://limits、gblin://keys(検証鍵と鍵バーティションのポリシ)。MCP越しに有料なものはありません。
GETのみの監査(レビュー担当者やPOSTできないクライアント向け):
/meta(カウントとmanifest_hash)・/tools.json・/resources.json・/conformance・[/v1/verify/:index(https://gbl-mcp.gbl-mcp-worker.workers.dev/v1/verify/0)(各チェックの真偽値+オンチェーンアンカーの整合性)。 このホステッドサーフェスは、以下のnpm stdioパッケージ(13ツール、トレジャリー/ガバナンスを含む)とは意図的に異なります。 Smithery でも利用できます。ソースはworker/です。
ElizaOSプラグイン
ElizaOS上で動くエージェントのために、コンパニオンプラグインをインストールしてください — 現在の 公式ElizaOSプラグインレジストリ(v0.4.0、安全性を強化)に登録されています:
npm install plugin-gblin
# or: elizaos plugins add gblinこのプラグインは、4つのネイティブアクション(CHECK_GBLIN_TREASURY_HEALTH、INVEST_IDLE_USDC_GBLIN、RESCUE_USDC_FROM_GBLIN、GET_GBLIN_RISK_ATTESTATION)と、エージェントのコンテキストに毎ループでライブのNAVとCrash Shieldの状態を注入するProviderを公開します。
→ Elizaプラグインの完全なドキュメントを参照
Related MCP server: mcp-server
AI Action Receipts — エージェントの行動を目撃する透明性ログ
このが取り組む問題は、 2026年のAI導入における最大の障壁です:誰も、事後的に、AIが正確に何をしたのかを証明できない(調査:労働者はAIの出力検証に週2–4時間、費やし;70%の組織はエージェントを統治できない)。私たちの答えは最小限の誠実なプリミティブです。それは、AIアクションのための公開の追記専用の RFC 6962トランスペアレンシーロールです。入力と出力は、ハッシュのみ(実際のコンテンツは含めない)として、その構造に入ります。送る短いactionラベル、agent_id、tool、meta文字列は公開ログに公開됩니다 — 識別子は保管場所に、秘密は決して入れないでください。あなたが得るのは、第三者なら誰でもオフラインで永遠に検証できるポータブルな領収書です。
receipt = canonical payload
+ Ed25519 signature (key: gblin.digital/receipts-log)
+ RFC 6962 inclusion proof (leaf → Merkle root)
+ C2SP signed checkpoint (origin, tree size, root)正準化は**gblin-canonical-json/1**として確定されています:オブジェクトのキーはUTF-16コード単位でソートし、空白スペースなし、JSON.stringifyのセマンティクスを数值につ、配列/オブジェクトでは再帰を使用します。テストベクター:ペイロード {"b":1,"a":null} → 正準形 {"a":null,"b":1} → 葉 = SHA256(0x00 || canonical_bytes)。レシート署名はEd25519で "gblin-receipt/v1\n" + canonical に署名されます。
シール(有料、無制):
POST https://gblin.digital/api/x402/seal— x402経由で$0.01 USDC。シール(デモ、1日5件/IP):
POST <worker>/v1/seal-demo、または、ホステッドMCPツールreceipts.seal(receipts.verifyで検証)。読み取りは永遠無料:
<worker>/v1/receipt/:index・/log・/log/checkpoint・/log/proof/:index・名ーページ/receipt/:index。Base上での日次EASアンカー(base.easscan.orgで検証可能、スキーマ
0x9f433a96…、promiseIdkeccak256("gblin-receipts-log"))。オフライン検証器、依存なし:
verify-receipt.mjs—node verify-receipt.mjs receipt.json。
シールは、署名された追記型ログの中での存在と時刻を証明します。このログのルートは毎日Baseにアンカーされます。チェックポイントは現在、ログ運用者(私たち)が署名します。独立した検証者による共同署名の招待はオープンです — 私たちは既に第三者の透明性ログ(C2SP tlog-witness)に共同署名しています。私たちのログに共同署名する任意のウィンドをリストに追加します。それまでの誠実な表現は「運用者署名・チェーンアンカー」です。これはコンプライアンス証明書ではなく、内容への何らかの個人的の承認でもありません。Worker: <worker> = https://gblin-mcp.gblin-mcp-worker.workers.dev。
Coherence Proof — GBLINが約束を守ることを検証する
GBLINはハッシュピン留めされた公開の約束を事前に登録し、10分ごとに検証するオートマトンを動かし、終了した各日をBase上のEASアテステーションとしてシールします。読み取りは永遠に無料です。有料のサービスも監視される — 認証者自身が自分のその仕組みに最初に服します。
無料レポート:
/coherence-3(JSON)、またはホストMCPツールcoherence.report。ライブの約束: P1(有料リスクアテステーションエンドポイントの稼働時間)とP2(公開のエージェント経済カウンターの誠実性、自社ウォレットを開示して除外)。
オンチェーン: 各終了日は、専用のオブザーバーウォレットによってBase上EASアテッションとして封印されます。GBLINは検出可能なERC-8004エージェント(#59286)です。
AIアシスタントのディスカバリー — gblin-init
AGENTS.mdトレジャリーポリシーをリポジトリに入れておくと、モダンなAIコーディングアシスタント((Claude Code、Cursor、Windsurf、GitHub Copilot、Codex)は、コードベースを扱うときにGBLINを自動的に発見します:
npx -p @gblin-protocol/mcp-server gblin-initこのコマンドは冪等で安全です:
AGENTS.mdが存在しない場合 —gblin.digital/AGENTS.template.mdの正規テンプレートから作成します。AGENTS.mdが存在する場合 — 末尾に明確に区切られたGBLINブロックを追加します。自分のコンテンツは絶対に変更されません。再実行は何も変更しません((安定したHTMLマーカーで検知されます)。
--dry-runは、書き込まずに、これから行う動作を表示します。--forceはブロックを最新バージョンに更新します。
バンドルされているフォールバックテンプレートのおかげで、オフラインでも動作します。
インストール後のヒント
パッケージが通常の依存関係としてインストールされた場合(npm i @gblin-protocol/mcp-server)、上のコマンドを提案する短いヒントが1回だけ表示されます。インストール後にファイルが作成されることはありません — セキュリティに配慮し、Socketと互換性があります。GBLIN_SKIP_HINT=1を設定すると、このヒントが非表示になります。
トラストとガバナンス
GBLIN V6は48時間タイムロックコントローラーによって統治されています。 すべての管理操作(パラメータ変更、オラクル更新、所有権移転など)は、実行前に172,800秒待つことがオンチェーンで強制されます。エージェントと統合者は、これをBaseScanで直接確認できます。
コンポーネント | アドレス | ロール |
GBLIN V6トークン | インデックス契約(本番) | |
タイムロックコントローラ | 不変の48時間遅延、14日間の猶予期間 | |
所有権移転トランザクション | Trans at block 46160610 |
コントラクトレベルで強制される性質:
MIN_DELAYはイミュータブルです(updateDelayのオーバーライドは永続的に失敗する)PROPOSER_ROLEとCANCELER_ROLEは厳密に分離されています(コンストラクタは重複時に失敗する)EXECUTOR_ROLEは制限なし (address(0)) — 誰でも成熟した操作を実行できるため、検証に強いですタイムロックは自己管理型です:すべてのロール・構成の変更は、それ自体が48時間の遅延时を経る必要があります
これが、get_governance_stateツールが owner_is_timelock: true と検証可能な min_delay_secondszip: 172800 を返す理由です。AIエージェントは、信頼に敏感なアクションのゲートをこのフラグで行えます。
なぜこれが存在するのか
今日のAIエージェントは、その运维资金を USDC で保有しています。USDCはその場にとどまります:利回りゼロ、インフレへの曝露が満杯です。
GBLIN は、Base上のオンチェーンインデックスです(%OFF45%cbBTC、45%WETH、10%USDC)だし、ドローダウンが上昇するとリスク資産への曝露を適応的に減らすアルゴリズミックな Crash Shield を持ちます(V6 の適応型しきい値、約15%以上)。GBLINはドローダウンが上限付きで管理された暗号資産エクスポージャーであり、余剰の資金残りを落ち着いた形でBTC/ETHのリスクを抱えるための手段です。USDCの代替ではありません(クラッシュ時には価値が失われる場合があります)。エージェントは、Just-In-TimeのGBLIN→USDC換金によってx402の請求書を即座に決済します。
このサーバーは、標準のMCPプロトコルを使用して、その機能をすべてのLLMエージェントに提供します。
クイックスタート
Claude Desktop
claude_desktop_config.json(Windows:%APPDATA%\Claude\claude_desktop_config.json)に追加します:
{
"mcpServers": {
"gblin": {
"command": "npx",
"args": ["-y", "@gblin-protocol/mcp-server"]
}
}
}Claude Desktopを再起動します。ツールピッカーにGBLINの工具項目が13個表示されます。
Windsurf / Cursor
~/.codeium/windsurf/mcp_config.json(Windsurf)または同等のCursor用MCP構成に追加します:
{
"mcpServers": {
"gblin": {
"command": "npx",
"args": ["-y", "@gblin-protocol/mcp-server"],
"env": {
"GBLIN_RPC_URL": "https://base-rpc.publicnode.com"
}
}
}
}IDE設定からMCPサーバーを更新(または再起動)してください。ツールがインラインで呼び出し可能になります。
Coinbase AgentKit (TypeScript)
import { MCPClient } from "@modelcontextprotocol/sdk/client/index.js";
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
const transport = new StdioClientTransport({
command: "npx",
args: ["-y", "@gblin-protocol/mcp-server"],
});
const client = new MCPClient({ name: "my-agent", version: "1.0.0" });
await client.connect(transport);
// List tools
const { tools } = await client.listTools();
// Quote a JIT payment of $0.50
const jit = await client.callTool({
name: "swap_gblin_to_usdc_jit",
arguments: { usdc_needed: "0.50", wallet_address: "0xYourAgent..." },
});ElizaOS / カスタム
stdio越しにMCPを話せるフレームワークならどれでも動作します:
npx @gblin-protocol/mcp-serverさらに、Cline、Continue.dev、およびMCPクライアント仕様を実装するあらゆるエージェントもサポートしています。
13ツール(npm stdioパッケージ)
無料ツール(支払い不要)
ツール | 目的 |
| ドル建てNAV + バスケット構成 + Crash Shieldのステータス |
| 動的スリッページバッファ付きの購入・売却プレビュー |
| x402の魔法:2ステップのGBLIN→USDC calldataを生成(無料) |
| USDC収益をGBLINトレジャリーに変換(MEV安全)(無料)(無料) |
| owner == 48時間タイムロックと正しいことを検証 + 保留中の資産提案 + 最小遅延 |
| プロバイダ対応エージェントをオンボーフするためのポータブルなスキルシードと紹介コードを生成 |
| ピアのリスクアッテステーション(デリガー付きの証明書)を検証:アッテステーション内容 + EIP-712署名 + 鮮度 + 実時間値の逸脱(無料) |
追加無料ツール
ツール | 説明 |
| まずはここから:オンチェーンのCrash Shieldに基づくBTC/ETHリスクレジーム(平常/警戒/暴落)+ 深刻度 + リスク体制 — 無料、キー不要 |
| 残高 + ガス + 持続可能な運転資金 + リバランス提案 |
| GBLINが支払う:リバランスの報酬が利用可能か確認(資金は不要、ガス代のみ) |
リスクアッテーション — 現在のBTC/ETHリスクレジームの期限付き(10分)、検証可能な証明書を
GET https://gblin.digital/api/x402/attestationで発行します(x402経由で $0.003 USDC)。それを保険の証明書(proof-of-diligence)としてあなたのアクションに添付してください。どんな相手方でもverify_risk_attestationで無料で検証できます。
すべてのツールは構造化 JSON を返します。検出される値はすべて、オンチェーンでクスステーションされています(NAV は quoteSellGBLIN と ChainlinkのETH/100ドル、24時間の古さのガード付き)。モックデータはありません。
稼働検証:テストスイート(npm test)はBaseメインネット上でツールスイートを実行し、calldata生成、オレクルの鮮度、スリッページ計算、ガバナンス状態を検証します。最新のCI実行 をご覧ください。
***## x402マイクロペズ
すべての MCPツールは無料です。 MCPサーバーはグランドを請求しません。MCPサーバーはディスカバリル・レイアウヤであり、エージェントが実際にGBLINを利用したときのみ、オンチェーンのプロトコル手数料(ミント時0.05%)を通じて収益化されます。
検証可能な従量課金は、HTTPエンドポイント側に実装されています。すべてBaseメインネット上でUSD(0x833589fDD6eDb6E21C12C32D4f71b54bdDA02913)で取引され、Coinbase CDP facilitatorにより、ガスレスEIP-3009のtransferWithAuthorizationを通して成立します。
エンドポイント | 価格 | Times (得られる内容) |
| $0.001 | NAV、バスケット構成比率、Crash Shieldの状態 |
| $0.001 | 動的スリッページ付きの安全なスワップのプレビュー |
| $0.001 | owner = 48時間タイムロック、保留中の操作 |
| $0.002 | ウォレット残高、ガスランウェイ、リバランスの将来の提案 |
| $0.002 | 未署名のcalldata: USDC → GBLIN |
| $0.005 | 未署名のcalldata: GBLIN → USDCジャストインタイム |
| $0.003 | 署名済みPHI-712のノイズリスクアテステーション(10分間のデューディリジェンス証明) |
マシーン読み取り可能なマニフェスト: https://gblin.digital/.well-known/x402。推奨クライアント: @x402/fetch または @x402/axios(x402 v2 — 402チャレンジ、署名、再試行を処理します)。MCPツール verify_risk_attestation は、どのようなアテステーションでもオフラインで無料で検証できます。
PayOutセット: 0x亚ebA5d314F4F8f5Dcb7A094953Fa9311a45172dd1B(GBLIN fee wallet)。
アーキテクチャ上の決定
決定的2ステップJIT (V6)
GBLIN V6では、従来の sellGBLINForToken 単一トランザクションパスを廃止しました。JITフローは決定的な2つのトランザクションで構成されます:(1)sellGBLINForEth(amount, minOut) はGBLINを燃やし、オラクルに固定されている minOut トークンでバスケット基準を報酬します;(2)Uniswap V3上のWETH→USDCスワップです(自身の minOut があります)。MCPは両方のステップを配信可能なcalldata(steps[])で返します。
MCPが返すcalldataは次の環境で同一に動作します:
EOAウォレット(Privy、MetaMask、生の秘密鍵)
ERC-4337 スマートアカウント(Safe、Coinbaseスマートアカウント)(Safe、Coinbaseスマートアカウント)
EIP-7702委任EOA(Pectra+)
動的スリッページ
スリッページに対する許容範囲は、オンオンチェーンのリスクレジームに応じて変動します。
条件 | バッファ |
通常マルケット | 2.5% |
Crash Srewが(≥1バスケット資産が減嵩)されている | 4.0% |
バッファはコントラクの内部 maxInternalSlippage(200bps)の之上に適用され、oraclesのズレやUniswapプールの変動を吸収します。
MEV保護
invest_usdc_to_gblin は決して minOut = 0 を渡しません。minWethOut と minGblinOut を取得オンチェーン見積もりと動的スリッペページバッファから計算します。これにより、ナイーブな単純な購入ツールに見られるサンドプライスパックの攻撃面を排除します。
クールダウン管理
コントラクは各購入後の120秒間の売却ロックを常に適用します。JITツールは lastDepositTime とオンチェーンの block.timestamp を読み取ります(Date.now() は使用しません)。スワップがリターンされると、正確な残り秒数を含む明確な CooldownActive エラーを返します。
コンフィグレーション
サーバーは環境変数 GBLIN_RPC_URL を読み取ります。環境変数がない場合、https://base-rpc.publicnode.com(無料、追加不要、十分な制限)にフォールバックします。
本番環境の負荷(100以上の同時エージェント)では、専用プロバイダーを使用してください:
export GBLIN_RPC_URL="https://base-mainnet.g.alchemy.com/v2/YOUR_KEY"
npx @gblin-protocol/mcp-server完全な一覧は .env.example を参照してください。
開発
git clone https://github.com/gblinproject/gblin-treasury-risk-regime
cd GBLIN-MCP
npm install
npm run build
npm test # live read-only smoke test against Base mainnet
npm start # run the compiled serverプロジェクトレイアウト:
src/
config.ts # network constants, addresses, slippage params
abi.ts # GBLIN_V6 + Chainlink + ERC-20 ABIs
client.ts # viem PublicClient + on-chain timestamp helper
helpers.ts # NAV, basket state, slippage, cooldown, reverse quote
keeper.ts # keeper bounty finder (incentivizedRebalance math)
tools.ts # the 10 treasury tool implementations + zod schemas (receipts.ts adds 3)
index.ts # MCP stdio server entry
scripts/
test.ts # live smoke testセキュリティ性
サーバーは読み取り専用です。秘密鍵を保持、署名、ブロードできない場合があります。
すべての見積もりはオンチェーン呼び出し+Chainlink・オラクルから導出され、古いまたは異常なオラクル応答がよるとツールは
OracleStale/OracleDeadで停止します。エージェントのウォレットが唯一の署名者です。ツールが返すcalldataは生のABIエンコード済みバイト列です。信頼できない環境でブロードキャストする前に必ずレビューしてください。
テレメトリ、モニタリング、設定済みRPC以外の外部依存は存在しません。
ロードマップ
v0.2:Uniswap V2を、1%未満のスリッペー生制度を実現するQuoterV2 統合
v0.3:Permit2サポート(x402再投資のために、お客様が承認プロセスをスキップ)
v0.4:ホスドマルチエージェント環境対応のStreamable HTTP通信
v1.0:監査済みコントラクト統合+リモート専用デプロイガイド
リンク
コントラクト:0x36C81d7E19…52f0
プロトコルサイト:https://gblin.digital
エージェントドキュメント:https://gblin.digital/agents
イシュー:https://github.com/gblinproject/gblin-treasury-risk-regime/issues
MIT © 2026 GBLIN Protocol
エージェント間スキル伝播(v0.1.9+)
GBLIN MCPには share_skill_with_peer という独自のツールが含まれており、あるAIエージェントが別のエージェント基盤にトレジャリー管理能力を伝えることができます。
マルチエージェント環境の中でエージェントAがAgent Bと出会った領域(委任タスク、x402支払いフロー、共有ワークスペース)で、Aは share_skill_with_peer を呼び出し、ポータブルな JSON の「スキルシード」を生成できます。これには次の内容が含まれます:
GBLIN MCPサーバーのインストール手順
Basescan上の参照TXを伴う実際のを動するトランザクション例
エージェントAの紹介コード(ウォットから導出)
GBLINに関する完全な日本語説明
エージェントBは、このシードを使って数秒でサーバーをインストールできます。この時点から、Bが実行するすべてのGBLINトランザクションには、ERC-8362ビルダーコード(bc_ggghd)を介してAの紹介コードが calldata に含まれます。プロトコル「手数料」の一部(取引額の0.05%)は、Aのウォレットに転送されます。これは既存の手数料分配から拠出され、追加できるものではありません。
これにより、レジャリゲットスキルがエージェントの世界に感染的に広がるとともに、優れたトレジャリープラクティスを伝播させたエージェントに経済的な利益がもたらされます。
追加のインフラは必要ありません。このメカニズムは、既存のBuilder Codeシステムを通じて完全にオンリンチェーンで実現されています。
Keeper Bounty System (v0.1.11+)
GBLINは、AIエージェントから料金を取ることはなく、報酬を支払う数少ないプロトコルです。
トレジャリープールが目標アロケーションからズレした場合、エージェントは find_keeper_bounty を呼び出して、有益なリバランスが利用可能であるかどうかを確認できます。存在する場合、ツールは実行可能な calldata を返します。エージェントはそのトランザクションをブロードキャストし、プロトコルの安定資金から 0.0001 ETH を受け取ります。スワップにはコントラクト自身の資本が使用され、呼び出し側は、ガス代だけを支払います(Base上で約 $0.01)。
// Example response when a bounty is available
{
"bountyAvailable": true,
"direction": "WETH->asset",
"estimatedRewardEth": "0.0001",
"target": "0x36C81d7E1966310F305eA637e761Cf77F90852f0",
"calldata": "0x...",
"value": "0",
"note": "Send this calldata to earn the reward. The swap uses the contract's own funds."
}継続的な収入を得るには、find_keeper_bounty を定期的(たとえば、5〜15分ごと)にポーリングしてください。ライブのキーパーのランキングは gblin.digital/keepers にあります。
発見と信頼
GBLINは、AIエージェントやプロトコルのための、機械読み取り可能な発見ファイルを提供します。
Coinbase x402 Bazaar: 全部で11GBLINエンドポイント(7Webアプリ+4 Sentinel)が CDP Bazaarディスカバリレイヤー に登録されています。エージェントは意味的検索(
GET https://api.cdp.coinbase.com/platform/v2/x402/discovery/search?query=treasury+risk)または、マーセント検索(.../discovery/merchant?payTo=0x0ebA5d314F4f5Dcb7A094953Fa9311a45172dd1B) で見つけられます。x402マニフェスト: https://gblin.digital/.well-known/x402 — 価格、チェーンID、通貨を含む有料エンドポイントの完全なリスト
LLM発見: https://gblin.digital/api/x402/pl3ms.txt — 人間が読み取れるプロトコルの要約(無料、ペイウオールなし)
Base MCP Plugin:base/skills上のPR #56 — 進行中です。
このリポジトリのMCPサーバーは、x402 HTTPエンドポイントと同じ操作を提供しますが、エージェント直接統合(Claude Desktop、Cursor、Windsurf、ElizaOSなど)のために Model Context Protocol として公開されています。
GBLIN Sentinel — x402データエージェントの例
GBLIN Sentinel は、x402マイクロペイを少なくともオンチェーンのデータを「販売」する自律AIエージェントのオープンソースとしてのリファレンス実装です。Base上で完全なx402プロデューサーパターンを実証しています。
エンドポイント | 価格 | データ |
| $0.002 USDC | Chainlinkリスクシグナル: |
| $0.002 USDC | GBLINトレジャリーの状態、バスケットのウェイト、キーパーの利用可能性 |
| $0.002 USDC | MCPツール参照付きのライブキーパー報酬チェック |
| $0.03 USDC | Flagship: 実行可能な推奨(投資・ホールド・削減・延期)+確信度+推奨アロケーション |
Discovery:
x402マニフェスト: https://gblin-sentinel.vercel.app/.well-known/x402
LLMリファレンス: https://gblin-sentinel.vercel.app/llms.txt
このMCPサーバーを使用するエージェントは、投資前にbase-risk-pulseを呼び出すことで、現在の市場リスクシグナルに基づいてトレジャリー操作を制御できます。
GBLIN Aureus — 自律取引エージェント(トラックレコード・エンジン)
Aureus は、Base上で暗号資産・株式・指数・貴金属を取引する自律型カタリスト&ローテーションエージェントです。そして、結果について嘘をつくことはできません。すべてのテーゼはkeccakハッシュ化され、エージェントが行動を起こす前にオンチェーンへコミットされ、クローズ時に開示されます。勝っても負けても、その実績は恒久的に保存され、誰でも独立に検証できます。選りすぐりのスクリーンショットだけを見せかけたりはできません。
ステータス: DRY-RUN検証中。 Aureusは実資金を一切使わず、ライブマーケットデータで完全なループを実行します。公開されているゲート基準(クローズ済み取引30〜50件、プロフィットファクター> 1.3、最大ドローダウン<10%、清算ゼロ)を満たした場合に限り、実資金での運用に昇格します。ライブダッシュボードでは、すべてのメトリクスがリアルタイムで公開されています: gblin.digital/aureus。
内部の仕組み(資本を守り抜く地味な部分):
リスクエンジン: ボラティリティ目標に基づくポジションサイジング、清算距離の内側に常に置かれるストップ、自動ドローダウン停止付きの時価評価(マーク・トゥ・マーケット)エクイティ、10秒ごとのストップ監視
マルチベニュー・ファンディング・キャリー: Binance/Bybit/OKXの中央値で裏付けされたデルタニュートラルのファンディング・キャリー収益を、持続性ゲート(単発の記録ではなくレジーム)で採用
マルチタイムフレーム・アライメント: 高速な平均回帰シグナルは日足トレンド(時系列モメンタム。金融で最も実証されたエッジ)でゲートされる
マイクロストラクチャー: テイカーフロー(CVD)とオーダーブック・インバランスが、相場が反対するエントリーを拒否
シャドウブック: 採用されなかった戦略はすべてライブデータでペーパートレードを継続。資本配分は意見ではなく統計的証拠に従う
ニュース・センチネル: 6つの独立プロバイダーによるマルチLLM合意形成アンサンブルが、検証済みの見出しをリスクシグナルに変換 — エントリーを決めるのは数学であり、LLMが果たす役割は調節のみ
AureusはGBLINトレジャリーの利用予定者でもあります。遊休資本はこのMCPサーバーを介してGBLINトレザリーに置かれ、証拠金が必要になった時点でJITスワップによりUSDCに変換されます — つまり当エージェントがプロトコルの自前の美味を味わう、身内(ドッグフーディング)の構図です。
ライブダッシュボード: https://gblin.digital/aureus
関連リポジトリ
スマートコントラクト & プロトコル: https://github.com/gblinproject/GBLIN-Protocol
Webアプリ & x402エンドポイント: https://github.com/gblinproject/GBLIN_WEBAPP
ElizaOSプラグイン: https://github.com/gblinproject/GBLIN_PLUGIN
GBLN Sentinel (x402データエージェント): https://github.com/gblinproject/gblin-sentinel
GBLIN Aureus (自律取引エージェント): https://gblin.digital/aureus — ドライラン検証中、オンチェーンでのコミット・リトール実績記録
Available Tools
21 toolsanalyze_treasury_healthARead-onlyIdempotentInspect
Analyzes an agent wallet's treasury: GBLIN, USDC and ETH balances, whether the ETH covers an exit at the live gas price, and the redemption cooldown. When daily_burn_usd is given it adds days of USDC runway and a split that keeps seven days of spend in USDC and treats only the surplus as a candidate for GBLIN. Free by default; a 0.003 USDC charge applies only when the server operator sets MCP_PAYWALL=true.
Inputs: wallet_address (required), _payment, daily_burn_usd. Returns: ratios, wallet, balances, cooldown, +2 more
get_auction_stateARead-onlyIdempotentInspect
Read the GBLIN rebalancing auction on Base. The vault does not rebalance itself and pays nobody to do it: when a basket row drifts past its band it holds a Dutch auction, and whoever trades with it toward the target weights is the counterparty, at the oracle price adjusted by a premium that starts at a discount and rises to a cap over one ramp. Returns, per row, the side the vault takes, the gap in ETH, the token and amount the bidder hands over, and unsigned calldata (approval + bid). The premium is the whole reward; nothing is paid out of the vault.
Inputs: no named parameters. Returns: best, lens, note, rows, +9 more
get_governance_stateARead-onlyIdempotentInspect
Reads GBLIN protocol governance: whether the GBLIN vault is owned by the 48-hour timelock, the timelock's minimum delay and grace period, role member counts, and any pending asset-addition proposal on the vault. With an operation_id it also reports the status of that timelock operation. Read-only.
Inputs: operation_id. Returns: lens, owner, vault, timelock, +7 more
get_market_risk_regimeARead-onlyIdempotentInspect
Returns the current BTC/ETH risk regime (calm | elevated | crash), a severity score and the matching risk posture (risk_on | reduce | risk_off), derived from GBLIN's on-chain Crash Shield against Chainlink oracle peaks on Base. Independent of holding GBLIN. Free by default; a 0.002 USDC charge applies only when the server operator sets MCP_PAYWALL=true.
Inputs: _payment. Returns: meta, assets, regime, source, +5 more
get_receiptARead-onlyIdempotentInspect
Fetch a sealed AI Action Receipt by index from GBLIN's public transparency log (free forever). Returns the full portable receipt — canonical payload, Ed25519 signature, RFC 6962 Merkle inclusion proof against the current tree, operator-signed C2SP checkpoint — which any third party can verify offline with verify-receipt.mjs (zero dependencies).
Inputs: index (required). Returns: leaf, note, root, index, +14 more
get_transaction_statusARead-onlyIdempotentInspect
Reports what a sent Base transaction did: pending, succeeded, reverted or not found; its block and confirmations; the fee paid; the net token movements for the sender (GBLIN shares minted or redeemed, USDC, basket tokens); and, when it reverted, the decoded reason.
Inputs: hash (required). Returns: to, from, hash, note, +9 more
get_treasury_stateARead-onlyIdempotentInspect
Reads the current GBLIN protocol state on Base mainnet: NAV in USD, basket composition with dynamic weights, Crash Shield status and whether the NAV is reliable.
Inputs: no named parameters. Returns: meta, basket, nav_usd, auction_open, +6 more
how_to_seal_paidARead-onlyIdempotentInspect
Returns the reference for unlimited paid seals (0.0045 USDC per seal via x402 on Base) in GBLIN's AI Action Receipts transparency log: endpoint, body schema, payment flow, and offline verification of receipts. The free demo allows 5 seals per day per IP.
Inputs: no named parameters. Returns: flow, note, price, receipt, +4 more
invest_usdc_to_gblinARead-onlyIdempotentInspect
Returns calldata that converts a USDC amount into GBLIN, a basket of cbBTC, WETH and USDC minted at NAV and redeemable at any time. Two steps: (1) approve USDC to the GBLIN Zap, (2) GBLINZap.buyGBLINWithToken, which swaps the USDC to WETH on Uniswap V3 and mints at NAV with a non-zero minimum output. Free. The mint fee and the yearly management fee are governance parameters read live from the vault, not fixed in this text.
Inputs: usdc_amount (required), wallet_address (required). Returns: steps, action, expected, gas_hint, +2 more
plan_treasuryARead-onlyIdempotentInspect
Turns idle USDC into a reviewable plan in one call: operating cash = max(reserve_usd, daily_burn_usd x days), the surplus above it, a simulation of minting that surplus into GBLIN at NAV (fees read live from the vault, estimated exit value today, round-trip cost), the same simulation for a trial amount (100 USDC by default), and the blockers (Crash Shield, redemption cooldown, ETH for the exit). Read-only: nothing is executed and nothing is advised. GBLIN is crypto exposure (cbBTC, WETH, USDC), not cash and not yield.
Inputs: wallet_address (required), days, trial_usdc, reserve_usd, +1 more. Returns: next, as_of, notes, trial, +9 more
prepare_actionARead-onlyIdempotentInspect
Builds the unsigned transactions for an operation on the GBLIN vault, in the order they are sent. Actions: mint_with_eth (amount in ETH), mint_with_weth (amount in WETH), mint_with_usdc (amount in USDC, through the Zap), redeem_in_kind (amount in shares; pro rata basket tokens, no fee, no price feed), exit_to_eth (amount in shares, through the Zap, all or nothing), exit_to_usdc (amount = the USDC needed), bid (trade with the rebalancing auction; row optional, the largest gap by default). Every output bound is non-zero and every step through the vault or the Zap carries its gas limit. Nothing is signed or sent: the steps are returned to the caller.
Inputs: action (required), wallet_address (required), row, amount. Returns: next, steps, action, wallet, +2 more
prepare_gblin_paymentARead-onlyInspect
Builds a gasless GBLIN payment. The vault's share token implements EIP-3009, so the holder signs an authorization and anybody can carry it on chain: the payer needs no ETH. Returns the EIP-712 message to sign (its domain is read from the token, not assumed), the calldata that carries the signed authorization, and the x402 'exact' payload for paying an HTTP endpoint in GBLIN. Method 'receive' lets only the named recipient submit the authorization, so nobody can front-run the transfer; method 'transfer' suits an x402 facilitator, which submits on the seller's behalf. With relay: true it also returns a second authorization that pays a relayer's fee in GBLIN. No private key is requested, held or transmitted: the signature is produced by the caller's own wallet.
Inputs: to (required), from (required), relay, method, +3 more. Returns: relay, amount, digest, method, +8 more
preview_stepsARead-onlyIdempotentInspect
Simulates a list of transactions in sequence against the latest Base block, as if the wallet sent them one after the other, before anything is signed. Each step sees the state the previous ones left (an approval before a mint works). Accepts steps with target or to, calldata or data, and optional value and gas. Returns, per step, whether it would succeed, the gas it uses, whether the gas limit it carries is enough, and the decoded revert reason when it fails; and the net token and ETH movements for the wallet. State can change before transactions land: a successful preview is evidence, not a guarantee.
Inputs: from (required), steps (required). Returns: from, note, block, steps, +3 more
quote_safe_swapARead-onlyIdempotentInspect
Preview 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.
Inputs: amount_in (required), direction (required). Returns: fees, direction, next_step, amount_in_eth, +9 more
relay_gblin_paymentADestructiveIdempotentInspect
GBLIN's relay carries a signed GBLIN payment on chain for a payer that holds no ETH. Takes the payment and the relay fee, each as { authorization, signature }, both signed by the payer's wallet. The relay checks both against the chain, simulates them and submits them in one transaction through Multicall3: either both settle or neither does. The fee is paid in GBLIN at the live NAV. Returns the transaction hash and its outcome. This tool moves funds: it carries the authorizations exactly as signed.
Inputs: fee (required), payment (required). Returns: fee, note, block, relay, +4 more
seal_action_demoAInspect
Seals the hashes of an AI action into GBLIN's public append-only RFC 6962 transparency log (free demo, 5 per day per IP, receipt marked demo: true). Returns a portable receipt: Ed25519 signature, Merkle inclusion proof and operator-signed C2SP checkpoint, verifiable offline with the zero-dependency verify-receipt.mjs. Input and output go in as sha256 hashes only; the action label and metadata are published in the public log. Unlimited sealing is a separate paid x402 HTTP endpoint (0.0045 USDC per seal).
Inputs: action (required), input_hash (required), meta, tool, +2 more.
swap_gblin_to_usdc_jitARead-onlyIdempotentInspect
Returns ready-to-broadcast calldata that redeems exactly the USDC requested from a GBLIN position, just in time for an x402 invoice or any other USDC obligation. Three sequential transactions: (1) approve the shares to the GBLIN Zap, (2) GBLINZap.sellGBLINForEth, which redeems in kind and sells every leg for ETH, all or nothing, (3) a Uniswap WETH->USDC swap that spends only the guaranteed ETH minimum and still returns at least the requested USDC. EOAs sign three times; ERC-4337 and EIP-7702 wallets can batch them into one operation. Every step carries a non-zero minimum; ETH above the minimum stays in the wallet. Free. A redemption carries no protocol fee; the costs are the Zap's swaps and gas.
Inputs: usdc_needed (required), wallet_address (required). Returns: steps, action, params, expected, +3 more
verify_gblin_authorizationARead-onlyIdempotentInspect
Checks a signed GBLIN authorization against the chain before any gas is spent on it. Recovers the signer from the EIP-712 digest (and asks the wallet itself through ERC-1271 when the payer is a contract), then checks the validity window against on-chain time, whether the nonce has already been used or cancelled, and whether the payer still holds the amount. Returns a verdict and the ready calldata when it would settle, the failing reason when it would not. These are the checks an x402 facilitator runs, so a 'would_settle' verdict means the payment can be carried.
Inputs: signature (required), authorization (required), method. Returns: amount, checks, digest, method, +4 more
verify_risk_attestationARead-onlyIdempotentInspect
Verifies a GBLIN Risk Attestation, the object returned by GBLIN's /api/x402/attestation, or a proof-of-diligence attached by a peer agent. Free. Runs four checks: (1) integrity, by recomputing the EIP-712 attestation_id; (2) authenticity, by recovering the signer when a signature is present and comparing it with GBLIN's published attestor; (3) freshness, against on-chain time (10-minute validity); (4) live drift, by comparing the attested regime with the current on-chain regime.
Inputs: attestation (required), expected_attestor. Returns: live, valid, checks, source, +3 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 21 tools
The core read/prepare/simulate/verify split is clear, but several tools overlap: invest_usdc_to_gblin and swap_gblin_to_usdc_jit are essentially special cases of prepare_action's mint_with_usdc and exit_to_usdc, and quote_safe_swap overlaps both preview_steps and the mint/redeem previews. analyze_treasury_health and plan_treasury also both compute runway/surplus/blockers, so an agent can plausibly pick either for the same question. Descriptions do help disambiguate intent (convenience calldata vs. generic builder), which keeps this from scoring lower.
Nearly all tools are snake_case and verb-led (get_*, prepare_*, verify_*, analyze_*, plan_*), with a readable get_/prepare_/verify_ role split. Deviations exist: how_to_seal_paid is a question rather than an action, and quote_safe_swap / swap_gblin_to_usdc_jit / relay_gblin_payment mix different verb-noun shapes. Still broadly predictable.
21 tools sits in the heavy band for a protocol SDK surface, and a few earn their place only marginally: how_to_seal_paid is pure documentation, share_skill_with_peer is a referral helper, and the two convenience swap tools duplicate prepare_action paths. The domain genuinely spans vault ops, x402 payments, receipts, risk and governance, so the breadth is defensible, but the set could shed 3-5 tools without loss.
Coverage is strong end-to-end: state/history/governance reads, quotes, plan and prepare, step simulation, relay execution, and post-hoc transaction status, plus receipt sealing and offline-verifiable attestations. Gaps are minor: governance is read-only (no propose/execute/cancel timelock operations), receipts are fetch-by-index only with no enumeration, and signed authorizations can be verified but not cancelled. These are workaroundable rather than dead ends.
Maintenance
Related MCP Connectors
Pay-per-call AI infra for agents: DeFi market data, LLM inference, STT/TTS. x402 v2, USDC on Base.
Pay-per-call crypto market intelligence for AI agents. USDC on Base via x402.
USDC/x402 agent marketplace. Verified Base mainnet pilot, testnet and public enrollment.
DeFi pool yield+security intelligence & token/contract risk scanner. USDC on Base via x402.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that provides real-time access to Chainlink's decentralized on-chain price feeds, optimized for seamless integration into AI agents and autonomous systems.57MIT
- AlicenseAqualityAmaintenanceManage Uniswap and Aerodrome liquidity positions with leverage, automated rebalancing, and yield optimization on Base and Unichain.39508 npm5AGPL 3.0
- AlicenseAqualityBmaintenanceEight crypto and DeFi data tools for AI agents: prices, gas, one ParaSwap route quote, GoPlus token security and top-holder samples, DefiLlama yields, Hyperliquid/dYdX funding, and observed wallet balances. Inspect prices free; pay 0.001–0.008 USDC per call on Base through x402. No API key or subscription.8110 npmMIT
- AlicenseNot gradedqualityDmaintenanceOnchain agent-to-agent commerce protocol using x402 and ERC-8004. Enables AI agents to buy/sell services, manage vendor catalogs, and process payments on Base.MIT