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 分

    请在仓库或注册中心条目中声明许可证。