smart402-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_DEMO | No | Set to `1` to enable demo mode against a local `DEMO_MODE=1` Smart402 instance — no keyfile, no payment. | |
| SOLANA_RPC_URL | No | Optional custom Solana RPC used to build payment transactions. | |
| SMART402_KEYFILE | No | Path to the payer keyfile: a `0x…` EVM private-key text file, a Solana CLI keypair JSON, or a base58 secret. Required in paid mode. | |
| SMART402_BASE_URL | No | API base URL. | https://smart.zero-orbit.online |
| SMART402_PAY_NETWORK | No | Settlement network: `base` (default), `solana` or `polygon`. Must match the keyfile type. | base |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| smart_money_feedA | Live smart-money feed in one Smart402 call ($0.02 Base / $0.01 Solana / $0.01 Polygon via x402): the curated profitable-wallet set's most recent priced swaps (SOL or USD-stable leg), merged newest-first — wallet, side, token + symbol, amounts, USD value, timestamp, signature. Cached server-side for 120s. |
| wallet_scoreA | Any Solana wallet's realized PnL + 0-100 score in one Smart402 call ($0.02 Base / $0.01 Solana / $0.01 Polygon via x402): average-cost PnL in SOL over the wallet's most recent 100 swaps, win rate, closed round-trips, top tokens by realized PnL, open positions with cost basis. Score = PnL 40 + win rate 35 + activity 15 + recency 10; wallets with no closed round-trip cap at 55. Sells of positions opened before the window count proceeds at zero cost basis (disclosed in the response). |
| token_smart_moneyA | What the curated smart-money set is doing in one Solana token, in one Smart402 call ($0.02 Base / $0.01 Solana / $0.01 Polygon via x402): per-wallet buys/sells in SOL, net flow, current holding + balance, plus the set-wide aggregate (buyers, sellers, holders, net SOL/USD). Answers 'are smart wallets accumulating or exiting this token, and who still holds it'. Cached server-side for 300s; a cold call can take up to ~60s. |
| smart_walletsA | The curated smart-money wallet set in one Smart402 call ($0.02 Base / $0.01 Solana / $0.01 Polygon via x402): the snapshot leaderboard the set was selected on — realized PnL (SOL + USD), win rate, round-trips, swaps, 0-100 score — best first, with the curation snapshot date and window. Wallets enter the set only with >=5 closed round-trips, win rate >=0.55 and net PnL > +2 SOL under the published method. (Direct HTTP callers get 10 free calls/IP/day on this endpoint; MCP calls pay per call.) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool targets a distinct slice: recent set-wide swaps (smart_money_feed), a single wallet's PnL/score (wallet_score), per-token set activity (token_smart_money), and the curated wallet leaderboard (smart_wallets). There is mild overlap between the feed/token views and between wallet_score/smart_wallets since both surface PnL and scores, but descriptions clearly separate individual vs. aggregate and live vs. snapshot.
All names are lower snake_case and descriptively consistent as noun phrases, so there is no style mixing. They don't follow a verb_noun action pattern, but for an analytics-fetch server that convention is less applicable and the set still reads as one coherent family.
Four tools is well-scoped for a focused smart-money analytics server, and each covers a genuinely different axis (feed, wallet, token, set). No tool feels redundant or bolted on.
The surface covers the core lifecycle: discover the wallet set, inspect a wallet, inspect a token, and stream recent set activity. Gaps exist for history/time-series, alerts, and token-level screening beyond the curated set, but agents can work around these with the four endpoints.