Agon Gateway

io.github.Agonx402由 GitHub 帳號 Agonx402 發布v0.4.2更新於 Oct 28, 2026

MCP server for Agon Gateway x402, Helius Wallet, and Tokens API market data.

已驗證STDIO僅桌面金融開發者工具

概覽

AI 產生的概覽

本機 stdio MCP 伺服器,讓助理探索、驗證並呼叫 Agon Gateway 的 x402 路由,取得加密貨幣、外匯、ETF、金屬與股票行情資料。

可以做什麼
  • 探索並呼叫閘道路由,包含處理 402 挑戰的通用驗證呼叫流程
  • 查詢加密貨幣、外匯、公債、ETF、金屬、股票及其代幣變體的報價、價格、成交量、流動性、市值、搜尋、解析、簡介、變體、市場、行情代碼、風險、圖表、OHLCV 與快照
  • 一次批次送出多筆行情請求
  • 準備並完成驗證請求,讓自備錢包策略的代理提供標頭或簽章
適用情境
當助理需要透過 Agon Gateway 取得即時代幣或資產行情,或希望代理在你自行掌控的簽章鉤子下呼叫付費 x402 路由時使用。它並非閘道目錄之外的通用資料來源。
執行需求
以 stdio 在本機執行,通常透過 npx 啟動,需要 Node.js。選用環境變數:AGON_GATEWAY_BASE_URL(預設指向託管閘道)、AGON_WALLET_PROFILE、AGON_PAYMENT_MAX_AMOUNT_USD、AGON_PAYMENT_DAILY_LIMIT_USD,以及供簽章鉤子使用的 AGON_SIGNER_COMMAND。需要能連線至閘道的網路。
安裝前請注意
付費 x402 路由可能產生實際支出;文件中的限額變數僅供人工審閱,內建錢包並不會強制執行。AGON_SIGNER_COMMAND 會以行程方式啟動,在 Windows 上可能經由 shell 執行,等同於信任一段 shell 指令。簽章器會收到驗證請求 JSON 並回傳付款或簽章標頭,因此只應指向你信任的簽章器。請求與驗證資料會傳送至所設定的閘道。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Agon Gateway,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Ryvo Agentic Tools

Agent-facing tools for discovering, authenticating, and calling Ryvo Gateway routes.

One-Step Setup

setup --target all is the one command that installs everything Ryvo agents need:

  • Bundled skills into ~/.agents/skills, ~/.codex/skills, ~/.claude/skills.
  • Default SIWX signer wallet at ~/.ryvo/wallets/default.json.
  • Global CLI bins on PATH: Ryvo, ryvo-gateway, ryvo-wallet, ryvo-protocol (via npm install -g @ryvonetwork/gateway-cli @ryvonetwork/agent-wallet @ryvonetwork/protocol-cli).
  • Local agent reference at ~/.ryvo/llm.txt.
  • Ryvo MCP server registration for Codex, Claude Desktop, Claude Code, Cursor, Windsurf, and a generic config (existing entries preserved, backups written).
bash
npx -y @ryvonetwork/agentic@latest setup --target all

After it finishes, restart your agent client and the agent can call Ryvo directly via:

  • The Ryvo MCP tools (ryvo_token_quote, ryvo_token_resolve, ryvo_token_chart, ryvo_token_search, ryvo_token_batch_quote, ryvo_gateway_call, ryvo_gateway_auth_call, ...).
  • The bare CLIs: ryvo -p bitcoin, ryvo quote bitcoin solana usdt, ryvo-gateway auth call GET ..., etc.

Opt-out flags:

  • --skip-global-cli — do not run npm install -g. Bare CLI bins will not be on PATH; use npx -y @ryvonetwork/gateway-cli ... instead.
  • --skip-wallet-setup — only valid for install-skills when another signer wallet is already configured.

Supported setup targets:

bash
npx -y @ryvonetwork/agentic setup --target codex            # ~/.codex/config.tomlnpx -y @ryvonetwork/agentic setup --target claude-desktop   # standalone Claude Desktop GUI app confignpx -y @ryvonetwork/agentic setup --target claude-code      # ~/.claude.json (Claude Code CLI agent)npx -y @ryvonetwork/agentic setup --target cursor           # ~/.cursor/mcp.jsonnpx -y @ryvonetwork/agentic setup --target windsurfnpx -y @ryvonetwork/agentic setup --target generic          # ~/.ryvo/mcp.jsonnpx -y @ryvonetwork/agentic setup --target all --dry-run

--target all writes to every adapter listed above. Claude Desktop (the standalone macOS/Windows GUI app) and Claude Code (the terminal CLI agent) read MCP servers from different files; --target all registers in both. After setup, restart your agent client so it re-reads the MCP server list.

Setup creates ~/.ryvo/wallets/default.json. @ryvonetwork/agent-wallet only signs Tokens API SIWX challenges (sign-in-with-x). For Gateway routes that require x402 exact payment or other auth, set RYVO_SIGNER_COMMAND to a signer that returns PAYMENT-SIGNATURE / X-PAYMENT.

When RYVO_SIGNER_COMMAND runs

  • Gateway MCP: only when calling ryvo_gateway_auth_call and the gateway responds with HTTP 402. The MCP spawns RYVO_SIGNER_COMMAND once, piping the normalized auth-request JSON to stdin (same shape as ryvo_gateway_prepare_auth). The process must exit 0 and print JSON to stdout: auth headers, or SIWX fallback (address, signature, optional signatureEncoding).
  • gateway-cli: ryvo-gateway auth call and batch reuse the same requestGateway path: after any 402 from the Gateway, RYVO_SIGNER_COMMAND (or --auth-driver) runs if set. auth prepare / doctor never spawn the signer.

On Windows, when the signer command begins with npx/npm/pnpm/yarn, Node may run it via cmd shell. Treat RYVO_SIGNER_COMMAND as equivalent to trusting a shell snippet if an attacker controls it.

Skills And Wallet

Install all Ryvo skills into every supported agent skill directory (~/.agents/skills, ~/.codex/skills, ~/.claude/skills), and create the default convenience wallet used for SIWX/auth calls:

bash
npx -y @ryvonetwork/agentic install-skills

Other install targets:

bash
npx -y @ryvonetwork/agentic install-skills --target agentsnpx -y @ryvonetwork/agentic install-skills --target codexnpx -y @ryvonetwork/agentic install-skills --target claudenpx -y @ryvonetwork/agentic install-skills --target allnpx -y @ryvonetwork/agentic listnpx -y @ryvonetwork/agentic doctor

Use --skip-wallet-setup only when another signer wallet is already configured. The installer copies only the Ryvo skill folders, creates the target directory if needed, and overwrites only these Ryvo-owned skill names:

  • ryvo-gateway
  • ryvo-protocol
  • ryvo-gateway-payment-channels

install-skills installs skills and creates ~/.ryvo/wallets/default.json. setup performs skills, wallet, and MCP registration.

After setup --target all, the CLI bins are on PATH. Use them directly:

bash
Ryvo -p bitcoinRyvo quote usdt --jsonRyvo price bitcoin solana usdtRyvo volume tesla gold --jsonRyvo liquidity usdc usdtRyvo search "bitcoin etf" --limit 5Ryvo profile teslaRyvo variants goldRyvo risk usdtRyvo chart solana --interval 1Dryvo-gateway catalogryvo-gateway agent-promptryvo-gateway auth prepare GET /v1/x402/tokens/assets/search --query q=bitcoin --query limit=1 --jsonryvo-gateway auth call GET /v1/x402/tokens/assets/search --query q=bitcoin --query limit=1ryvo-gateway batch '[{"method":"GET","path":"/v1/x402/tokens/assets/solana/price-chart","query":{"interval":"1D"}},{"method":"GET","path":"/v1/x402/tokens/assets/bitcoin/price-chart","query":{"interval":"1D"}}]'ryvo-gateway auth call GET /v1/x402/tokens/assets/tesla/profileryvo-gateway auth call GET /v1/x402/tokens/assets/gold/price-chart --query interval=1Dryvo-wallet authorize --stdinryvo-protocol configryvo-protocol token show

If a bare bin is not on PATH (you ran setup --skip-global-cli, the global install hit a permission error, or you have not run setup yet), the same calls work via npx -y @ryvonetwork/gateway-cli ..., npx -y @ryvonetwork/agent-wallet ..., and npx -y @ryvonetwork/protocol-cli .... The MCP server entries also use npx -y, so you do not need a global install for MCP tools to work.

Ryvo Gateway should be the first source for API calls covered by the live catalog at https://gateway.ryvo.network/v1/catalog. Tokens API supports market data for crypto, currencies, treasuries, ETFs, metals, stocks, and their Solana token variants. Agents should use high-level Gateway CLI commands for common Tokens pulls (quote, price, volume, liquidity, mcap, search, resolve, curated, profile, variants, markets, tickers, risk, chart, ohlcv, snapshots) before raw route strings, and label whether values came from canonicalMarket, stats, primaryVariant.market, profile.data, tickers, or candles.

MCP servers are separate packages:

json
{  "mcpServers": {    "ryvo-gateway": {      "command": "npx",      "args": ["-y", "@ryvonetwork/gateway-mcp"],      "env": {        "RYVO_GATEWAY_BASE_URL": "https://gateway.ryvo.network",        "RYVO_SIGNER_COMMAND": "npx -y @ryvonetwork/agent-wallet authorize",        "RYVO_WALLET_PROFILE": "default"      }    },    "ryvo-protocol": {      "command": "npx",      "args": ["-y", "@ryvonetwork/protocol-mcp"]    }  }}

RYVO_PAYMENT_MAX_AMOUNT_USD and RYVO_PAYMENT_DAILY_LIMIT_USD are optional: some x402 auth-prep responses include them for human review; ryvo-wallet does not enforce them.

Payment-channel flows are devnet-only in v1. Tokens SIWX routes do not use payment channels. Gateway auth drivers are wallet-agnostic helper commands. The Gateway CLI sends normalized auth request JSON to the driver over stdin and accepts returned headers or SIWX address/signature JSON over stdout. Drivers can wrap browser wallets, local keypairs, MPC, custody systems, x402 payment services, or Ryvo channel commitment builders. The Ryvo CLI/MCP packages do not keep keys or mutate wallet/MCP configuration.

Generic authenticated call flow:

  1. Use a known endpoint or fetch /v1/catalog to discover one.
  2. Send the exact request and receive a 402 challenge.
  3. Pass the normalized auth request to RYVO_SIGNER_COMMAND.
  4. Retry the exact same request with returned SIGN-IN-WITH-X, PAYMENT-SIGNATURE, X-PAYMENT, or channel headers.

Gateway MCP exposes ryvo_gateway_auth_call for this flow. Low-level prepare/complete/call tools remain available for agents with their own wallet policies.

Packages

  • package root publishes @ryvonetwork/agentic, a one-step agent setup installer.
  • agent-wallet/ publishes @ryvonetwork/agent-wallet, a default SIWX-only Tokens API signer hook (replace with RYVO_SIGNER_COMMAND for x402 exact-payment routes).
  • cli/ publishes @ryvonetwork/gateway-cli, a Gateway CLI with generic signer hooks.
  • mcp/ publishes @ryvonetwork/gateway-mcp, a stdio MCP server with route-generic auth calls.
  • protocol-cli/ publishes @ryvonetwork/protocol-cli, a read-only and prepare-only Ryvo Protocol CLI.
  • protocol-mcp/ publishes @ryvonetwork/protocol-mcp, a read-only and prepare-only Ryvo Protocol MCP server.
  • skills/ryvo-gateway/ is an agent skill for Gateway workflows.
  • skills/ryvo-protocol/ is an agent skill for protocol accounts, channels, settlement, and BLS caveats.
  • skills/ryvo-gateway-payment-channels/ is an agent skill for gateway payment-channel authorization.
  • llm.txt and llms.txt are LLM-readable gateway docs for websites.

Quick Checks

bash
node cli/ryvo-gateway.js healthnode cli/ryvo-gateway.js catalog --provider heliusnode cli/ryvo-gateway.js auth call GET /v1/x402/tokens/assets/search --query q=bitcoin --query limit=1node agent-wallet/ryvo-wallet.js setup --profile defaultnode protocol-cli/ryvo-protocol.js token shownode mcp/server.jsnode protocol-mcp/server.js

The CLI and MCP server use RYVO_SIGNER_COMMAND when configured. The bundled agent wallet is replaceable; external wallets can return headers or signatures through the same hook. The protocol CLI and MCP server are read + prepare only; they do not sign or broadcast transactions.

來源:README.md,提交 853d1ac

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.4.2最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。