Advan: Solana trading tools
Non-custodial Solana trading MCP: Jupiter quotes/swaps, token risk, portfolio. x402-paid.
我该使用它吗
质量与安全性
发现(1)
- LOW在 wallet_portfolio 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"advan": {
"command": "npx",
"args": [
"advan-mcp"
]
}
}
}可运行的软件包
0.1.0stdio远程端点
https://advan.fly.dev/mcpstreamable-http它能做什么
工具清单
工具(4)
🟢get_quote(inputMint, outputMint, amount, slippageBps)
Free Jupiter Swap API V2 quote (GET /swap/v2/order, no taker). Returns amounts, route, slippage, and referral fee fields. Does not return a transaction.
输入模式
{
"type": "object",
"properties": {
"inputMint": {
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
},
"outputMint": {
"$ref": "#/properties/inputMint"
},
"amount": {
"type": "string",
"pattern": "^[0-9]{1,40}$"
},
"slippageBps": {
"type": "integer",
"minimum": 0,
"maximum": 10000
}
},
"required": [
"inputMint",
"outputMint",
"amount"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡build_swap_tx(inputMint, outputMint, amount, slippageBps, taker, ...)
Free. Returns an UNSIGNED base64 transaction for the taker wallet to sign. Advan never signs and never holds keys. Default (selfBroadcast false) keeps JupiterZ routes, which need Jupiter POST /swap/v2/execute to add the market-maker co-signature. Pass selfBroadcast true to exclude jupiterz so the taker can broadcast the signed transaction.
输入模式
{
"type": "object",
"properties": {
"inputMint": {
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
},
"outputMint": {
"$ref": "#/properties/inputMint"
},
"amount": {
"type": "string",
"pattern": "^[0-9]{1,40}$"
},
"slippageBps": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"taker": {
"$ref": "#/properties/inputMint"
},
"selfBroadcast": {
"type": "boolean"
},
"receiver": {
"$ref": "#/properties/inputMint"
}
},
"required": [
"inputMint",
"outputMint",
"amount",
"taker"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪token_risk(mint)
Paid token risk report ($0.02 USDC via x402 exact on solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp). Combines RPC mint/freeze authority, Jupiter Tokens V2, and RugCheck. Ordinary MCP clients that cannot pay receive a payment-required error.
输入模式
{
"type": "object",
"properties": {
"mint": {
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
}
},
"required": [
"mint"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪wallet_portfolio(owner)
Paid wallet portfolio ($0.02 USDC via x402 exact). SOL plus SPL Token and Token-2022 balances, priced with Jupiter Price V3.
输入模式
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
}
},
"required": [
"owner"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据