Solmachina X402

io.github.imnotamob由 GitHub 帳號 imnotamob 發布v1.4.0更新於 Oct 27, 2026

Solana & Base DeFi intelligence for AI agents over x402: decisions, risk, signed receipts.

已驗證Streamable HTTP可網頁執行金融資料與分析

概覽

AI 產生的概覽

給 AI 代理的 Solana 與 Base DeFi 情報服務:代幣風險、交易前檢查、報價與簽章回執,透過 x402 逐次付費。

可以做什麼
  • 探索並預覽 x402 目錄:列出端點、USDC 價格與網路,查看範例回應,了解付費流程
  • 檢查代幣與錢包風險:SMRI 指數、代幣風險掃描、批次掃描、持倉分布、錢包活動輪廓與一站式代幣情報
  • 執行交易前檢查:決策閘門、交易前綜合掃描、交易模擬、交易解碼與滑價曲線
  • 取得市場資料:Jupiter 兌換報價、熱門代幣、新資金池、NFT 集合快照、Kamino 市場
  • 讀取 Solana 網路狀態:優先費區間、Jito 小費下限、epoch 與出塊速率檢查點、服務狀態
  • 以 Ed25519 回執離線驗證付費結果
適用情境
當代理需要 Solana 代幣或錢包風險訊號、交易前檢查、兌換報價或網路費用資料,且已能透過 x402 以 USDC 逐次付費時適用。免費的目錄、範例、狀態與回執驗證工具適合在花錢之前先了解這項服務。
執行需求
可作為遠端端點執行,也可作為本機 npm 套件透過 stdio 執行。未宣告任何身分驗證、環境變數或請求標頭。付費端點需要一個支援 x402、在受支援網路上持有 USDC 的錢包;部分工具需要代幣 mint、錢包地址、交易簽章或集合代號。
安裝前請注意
多數工具按次以 USDC 收費,持有資金的代理可能自行花錢,建議先使用免費的目錄與範例工具。輸出明確不構成財務建議或保證,模擬與報價可能與真實鏈上結果不同。請求會送往第三方 API,服務會要求提供錢包地址、代幣 mint 與交易簽章。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.imnotamob%2Fsolmachina-x402/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "solmachina-x402": {
      "type": "http",
      "url": "https://api.solmachina.com/mcp"
    }
  }
}

README

該儲存庫沒有 README。

工具

25

solmachina_catalog

Discover the x402 catalog (endpoints, USDC prices, category, network, payTo). FREE.

無需輸入參數。

solmachina_sample

FREE preview of any endpoint: response shape/example, inputs and price — inspect before paying.

輸入參數endpoint必填

solmachina_how_to_pay

Explain the x402 402->sign->retry flow so an agent can pay a paid endpoint with its own wallet. FREE.

輸入參數endpoint

solmachina_verify_receipt

How to verify a paid answer's Ed25519 SIR receipt OFFLINE (proof of what you paid for). FREE.

輸入參數receipt

solmachina_status

Trust/health snapshot: version, uptime, WAL entry count + SHA-256 chain head. FREE.

無需輸入參數。

solmachina_smri

SolMachina Machine Risk Index (SMRI) for an SPL token: a 0-100 risk index (higher = lower assessed risk) with transparent components (contract authorities, top-10 concentration), a risk band, and confidence (= data completeness). The cheap, high-frequency score behind /v1/decision — for agents that just want the number. Verdict-free, returns 'unknown' over guessing. NOT financial advice. Requires ?mint=<token mint address>.

輸入參數mint必填

solmachina_simulate

Pre-flight transaction simulation for agents: dry-run a serialized Solana transaction (simulateTransaction) BEFORE executing — will it succeed, compute units consumed, program logs, and the error if any. NEVER signs or sends; simulation only, NOT a guarantee of the real on-chain outcome. NOT financial advice. Requires ?tx=<base64 serialized transaction>.

輸入參數tx必填

solmachina_decision

SolMachina Decision — the decision layer for autonomous agents: composes on-chain risk signals into ONE answer — EXECUTE / REVIEW / REJECT + SMRI (SolMachina Machine Risk Index 0-100) + confidence + full evidence. A transparent RISK GATE against stated thresholds — NOT financial advice, NOT a profit prediction; returns REVIEW/unknown instead of guessing. Requires ?mint=<token mint address>; optional ?action=, ?amountUsd=, and a named firewall ?policy= (conservative|bluechip|anti-rug|degen).

輸入參數txmint必填actionpolicyminSmriamountUsdminConfidencedenyHighRiskBanddenyMintAuthoritydenyTxMintMismatchdenyFreezeAuthoritymaxConcentrationPct

solmachina_token_holders

Solana SPL token holder distribution / whale map: the largest token accounts (up to 20) each with its share of supply, plus top-1/5/10/20 concentration and simple buckets. More detailed than /v1/token-risk's single top-10 signal. Owners are NOT resolved and an account is not necessarily a distinct wallet; concentration is a structural signal, NOT a verdict. NOT financial advice. Requires ?mint=<token mint address>.

輸入參數mint必填

solmachina_slippage_map

Solana swap slippage / price-impact curve by trade SIZE: quotes the same pair at decade multiples of your base amount (via the Jupiter aggregator) and returns the impact per size plus a factual depth summary (largest tested size that stays under 1% / 5% impact). Execution intelligence beyond a single /v1/dex-quote. A quote, NOT an execution guarantee. NOT financial advice. Requires ?inputMint=&outputMint=&amount= (input base units).

輸入參數multsamount必填inputMint必填outputMint必填slippageBps

solmachina_tipfloor

Jito bundle tip-floor snapshot + rolling history (p50/p95/p99/EMA). Optional ?fresh=true bypasses the ~60s cache for a live snapshot.

輸入參數fresh

solmachina_epoch

Live epoch info + ETA to epoch end (dual measured slot-rates labeled). Optional ?rate= selects which measured rate drives the ETA.

輸入參數rate

solmachina_kamino_markets

Kamino mainnet market list (trimmed JSON). Optional ?limit caps how many markets are returned.

輸入參數limit

solmachina_sgp_checkpoint

SolMachina's own Solana epoch-transition checkpoint series: the live epoch/slot reading (getEpochInfo via multi-RPC) measured against our accumulating on-disk series to yield a MEASURED slot-rate + ETA (not a model) and last epoch-transition detection. Optional ?n sets how many recent series points to return.

輸入參數n

solmachina_token_risk

Heuristic Solana SPL token risk/signal scan: mint + freeze authority, Token-2022 dangerous extensions, top-10 holder concentration, plus best-effort holder-count/age context. Transparent methodology, conservative (reports 'unknown' over guessing). NOT financial advice. Requires ?mint=<token mint address>.

輸入參數mint必填

solmachina_wallet_scan

Solana wallet activity profile: age, transaction activity, SOL balance, SPL token holdings, and a factual footprint band (fresh/active/heavy/empty). Transparent, conservative ('unknown' over guessing), never a trust/scam judgement. NOT financial advice. Requires ?address=<wallet address>.

輸入參數address必填

solmachina_token_intel

One-call Solana token intelligence bundle: the full token-risk analysis PLUS a decision-ready executive digest and factual top-holder classification (burn/system labels; unknowns left unresolved with owner exposed). Verdict-free, transparent, conservative ('unknown' over guessing). NOT financial advice. Requires ?mint=<token mint address>.

輸入參數mint必填

solmachina_batch_token_risk

Batch heuristic risk scan for up to 10 SPL token mints in ONE call (mint + freeze authority, Token-2022 dangerous extensions, top-10 holder concentration per token). A portfolio/watchlist bundle over the token-risk engine; each mint returns its own result or an explicit error. Transparent, conservative ('unknown' over guessing). NOT financial advice. Requires ?mints=<comma-separated mint addresses>.

輸入參數mints必填

solmachina_priority_fee

Solana priority-fee intelligence: the observed distribution (percentiles + suggested economy/normal/fast/aggressive bands) of prioritization fees actually paid in recent slots, in micro-lamports per compute unit. Optional ?accounts= narrows to txs write-locking specific markets. Observed history, NOT a prediction or inclusion guarantee.

輸入參數accounts

solmachina_dex_quote

Live aggregated Solana swap quote from the Jupiter aggregator: best-route output, price impact with stated thresholds (minimal/low/moderate/high), min-received after slippage, transparent route path, USD value and a freshness slot. A quote, NOT an execution guarantee (impact/liquidity move block to block). NOT financial advice. Requires ?inputMint=&outputMint=&amount= (amount in the input token's base units).

輸入參數amount必填inputMint必填outputMint必填slippageBps

solmachina_new_pairs

Newest Solana liquidity pools (GeckoTerminal): name, base mint, creation time, age in minutes, liquidity, 24h volume and price change. New pools are UNVETTED and structurally high-risk — pair each mint with /v1/token-risk before acting. Factual observation only, NOT a recommendation. NOT financial advice. Optional ?limit (1-20, default 15).

輸入參數limit

solmachina_nft_collection

Solana NFT collection snapshot from Magic Eden: floor price (SOL + lamports), listed count, 24h average price and 7-day volume. The floor is the lowest CURRENT ask (not a guaranteed sale price) and moves continuously. Factual snapshot, NOT a recommendation. NOT financial advice. Requires ?symbol=<Magic Eden collection symbol>.

輸入參數symbol必填

solmachina_tx_inspect

Decode a Solana transaction into a structured summary: success/fee/compute-units, the programs it invoked (named for well-known ones), SOL balance deltas and SPL token balance deltas. Reports on-chain effects only, never intent. Requires ?sig=<transaction signature>.

輸入參數sig必填

solmachina_pretrade

One-call PRE-TRADE SWEEP for a token: the full token-intel bundle (risk + executive digest + factual holder classification) PLUS a wallet-activity profile of the largest remaining holder PLUS observed priority-fee landing bands, distilled into a factual, threshold-stated checklist. Verdict-free (never 'buy'/'avoid'); partial sub-analyses are explicit errors, never silence. NOT financial advice. Requires ?mint=<token mint address>.

輸入參數mint必填

版本歷史

1
  1. v1.4.0最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分

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