
Solana Alpha x402
io.github.nero-zng由 GitHub 账号 nero-zng 发布v1.4.0更新于 Nov 5, 2026
Pay-per-call Solana market intel via x402 USDC: price, news, trending, perps, rugcheck, wallet.
概览
本地 stdio MCP 服务器,让助手按次付费获取 Solana 市场情报(价格、新闻、热门、永续、rugcheck、钱包),通过 x402 以 USDC 结算。
- 可以做什么
- 免费查询各付费接口的价格清单
- 获取代币价格、新闻与新上线代币
- 获取热门代币与永续合约数据
- 执行 rugcheck 与钱包查询
- 生成完整代币报告
- 未配置密钥时返回可读的 402 付款要求
- 适用场景
- 当助手需要实时 Solana 市场情报——代币价格、新闻、热门榜、永续数据、rug 或钱包检查——且你愿意为每次调用支付少量 USDC,或只想先了解付款条件时使用。
- 运行要求
- 以本地 Node.js 进程(stdio)运行,可通过 node 或 npx 启动,也可使用已发布的容器镜像。需要能通过 HTTPS 访问 Solana Alpha API。可选环境变量:SOLANA_PRIVATE_KEY(base58 或 JSON 字节数组)用于自动付款,MAX_PRICE_USDC 限制单次花费,API_BASE_URL 或 SOLANA_ALPHA_API_BASE 覆盖接口地址。付费调用需要持有 USDC 的 Solana 钱包。
安装
在 SourceWeft 中
- 打开 控制台中的 Solana Alpha x402,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
solana-alpha-x402-mcp
stdio MCP server for the Solana Alpha API (x402 v2, USDC on Solana mainnet).
One tool per paid HTTP endpoint, plus a free list_pricing tool. Each tool calls the live API at https://solana-x402-data.netlify.app (override with API_BASE_URL).
PayTo (never change): 3WN7T7VMnRJzjRhKosbaT2oiwuMiBCe6KBfZGiZygv7n
Behavior
- No
SOLANA_PRIVATE_KEY: tools still call the live API. A402is returned as a readable JSON result (price, payTo, network, asset, feePayer) — not a hard failure — so agents can discover payment requirements. - With
SOLANA_PRIVATE_KEY: uses@x402/fetch+@x402/svm(ExactSvmScheme) to sign and settle USDC payments automatically. OptionalMAX_PRICE_USDCrejects calls above the cap. - This package is a standalone Node MCP server; it talks to the live Solana Alpha API over HTTPS and does not embed Netlify Functions.
Install (local / from this repo)
Published npm name (when published): solana-alpha-x402-mcp
Until then, point your MCP host at the local entry: node /absolute/path/to/solana-alpha-x402-mcp/src/index.mjs
Environment
Claude Desktop (claude_desktop_config.json)
With auto-pay (use a funded burner wallet only):
After npm publish of this package you can use:
Cursor (mcp.json)
Project or user MCP config:
Or via npx once published:
Discovery (HTTP, free)
Public discovery documents on the live API host:
- /.well-known/mcp.json — server card / install command
- /tools.json — Claude/OpenAI-style function schemas (incl. price)
- /.well-known/agent.json
- /openapi.json
- /llms.txt
Safety
- Do not put a real funded key in git, screenshots, or chat logs.
- Smoke tests intentionally unset
SOLANA_PRIVATE_KEYand never settle a payment. - PayTo is a receive-only public address hard-coded to match the API; changing it would break settlement against the live service.
来源:README.md,提交 3614eb1
工具
0版本历史
1- v1.4.0最新Nov 5, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分