geckoguard-solana
Reads Solana mainnet via JSON-RPC to inspect SPL/Token-2022 mint authorities, holder concentration, and treasury token accounts, enabling pre-trade swap guardrails, token due diligence, treasury audits, and new-pool screening.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
GeckoGuard — Autonomous Solana Pre-Trade Risk Guardrail & MCP Agent
Data by CoinGecko API · Verified on-chain via Solana Mainnet JSON-RPC
GeckoGuard is a zero-dependency Model Context Protocol (MCP) server, autonomous policy engine, CLI, and security control plane that protects Solana AI trading agents and DAO/Squads treasuries from sandwiched quotes, honeypot SPL authorities, spoofed-liquidity traps, and concentration risk.
Built from scratch starting December 1, 2026 for the Superteam × CoinGecko Long Tail Hackathon (AI Agents Track). Every decision is deterministic, SHA-256 fingerprinted, and grounded in live CoinGecko API and Solana Mainnet RPC citations — zero hallucinated numbers.
Live Screenshots
1. Pre-Trade 7-Gate Swap Guardrail (Live Sandwich/Overpay BLOCK + SHA-256 Receipt)
Intercepts proposed agent swaps before signing, comparing the quote against live CoinGecko spot prices & pool reserves while verifying SPL mintAuthority, freezeAuthority, and Top-10 holder concentration directly on Solana mainnet.

2. Citation-Grounded Token Due-Diligence Agent
Generates structured research memos for any Solana ticker or mint address where every single number is traced directly to CoinGecko Onchain API endpoints and Solana RPC slots.

3. Autonomous Squads Multisig & Treasury Policy Watchdog
Enumerates live SOL, SPL Token, and Token-2022 vault holdings via Solana RPC, values them with CoinGecko API, evaluates stablecoin runway & single-asset concentration caps, and drafts liquidity-sized TWAP rebalance legs.

4. Autonomous Solana New-Pool Scout
Screens newly launched & trending Solana pools from CoinGecko against on-chain SPL authority, liquidity depth, and buy/sell order-flow gates — automatically dropping thin/spoofed traps and exporting a clean Markdown digest.

Related MCP server: SolGuard
Quick Start
Prerequisites
Node.js >= 20 (zero external runtime dependencies)
1. Install & Run Deterministic Test Suite
git clone https://github.com/oppo2357/geckoguard-solana.git
cd geckoguard-solana
cp .env.example .env
npm install
npm test2. Start the Security Control Plane Web UI
npm run dev
# Open http://localhost:3090Works out of the box in zero-key public mode. Supply a CoinGecko Analyst/Pro key via .env (COINGECKO_API_KEY, COINGECKO_API_TIER=pro) or the in-memory API Key modal to unlock 500 RPM.
3. Connect as a Native MCP Server (Claude Code / Cursor / Codex / Gemini CLI)
{
"mcpServers": {
"geckoguard-solana": {
"command": "node",
"args": ["dist/src/mcp.js"],
"env": {
"COINGECKO_API_KEY": "",
"COINGECKO_API_TIER": "public",
"SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com"
}
}
}
}Exposed MCP tools (2024-11-05 JSON-RPC 2.0 stdio):
guard_solana_swap— 7-gate pre-tradeALLOW | WARN | BLOCKdecision with SHA-256 receiptdue_diligence_solana_token— citation-grounded token DD memoaudit_solana_treasury— live SOL/SPL/Token-2022 vault audit + liquidity-sized Squads rebalance proposalscout_new_solana_pools— automated new-pool trap filter & surviving candidates digest
4. Run the Headless CLI
npm run cli -- dd --token JUP
npm run cli -- guard --out JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN --amount 1000 --quote 3800
npm run cli -- treasury --wallet <SOLANA_MULTISIG_OR_WALLET>
npm run cli -- scout --minTvl 15000How CoinGecko API is Used
All pricing, pool liquidity, order flow, and new-pool feeds run through src/clients/coingecko.ts (supporting CoinGecko Analyst/Pro x-cg-pro-api-key, Demo x-cg-demo-api-key, and zero-key public fallback), recording an explicit DataCitation for every request:
CoinGecko Onchain Endpoint | Agent Module | Purpose |
| Swap Guardrail, DD, Treasury | Ground-truth live USD spot pricing to detect quote overpayment (bps) and value vault NAV |
| Swap Guardrail, DD, Treasury | Cross-DEX pool depth, spoofed-reserve anomaly detection, and TWAP chunk sizing |
| Token Due Diligence | Resolves tickers (including Solana |
| New-Pool Scout | Streams brand-new Solana pool launches for automated trap rejection |
Every view, Markdown memo, CLI output, and MCP receipt includes Data by CoinGecko API attribution.
How Solana is Used
On-Chain SPL & Token-2022 Mint Security (
getAccountInfojsonParsed): Directly inspects livemintAuthorityandfreezeAuthorityon Solana mainnet to block supply-inflation and wallet-freeze honeypots before an agent signs a swap.Live Holder Concentration (
getTokenLargestAccounts): Measures real Top-1 and Top-10 holder share directly from Solana mainnet supply.Full Treasury & Squads Vault Enumeration (
getBalance+getTokenAccountsByOwner): Reads native SOL, classic SPL Token (Tokenkeg...), and Token-2022 (TokenzQd...) holdings live from Solana mainnet.Browser Wallet Connect & Solana Actions: Supports Phantom/Solflare wallet selection in the Treasury Watchdog plus
/actions.jsonand/api/actions/guard-check?mint=<address>.
License
MIT License — see LICENSE. Built from scratch starting December 1, 2026.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Pre-trade token safety checks for AI agents on Solana and Base. x402 USDC per call, no key.
Parallel Solana token risk and transaction safety for AI agents. Paid MCP tools inspect tokens and unsigned transactions; the HTTP risk panel queries compatible advisors in parallel and returns an indicative consensus. x402-compatible clients pay USDC automatically, with no signup or API key.
1,000 pay-per-result MCP/x402 APIs (Base+Solana USDC): gov/compliance, web/PDF, media, RAG & trust.
31 verifiable M2M open-data, compliance, Web3 token-safety, and prediction-market endpoints under HTTP x402 v2 (Coinbase CDP + PayAI across Base, Polygon, Arbitrum, and Solana USDC) and MCP v2.2.0 (33 tools). Features 4-block official sanctions (OFAC SDN, UN, EU FSFi, UK OFSI), EVM/Solana Token Safety, Polymarket+Kalshi odds, multi-service POST /batch, 100% transient Web-to-Markdown extraction, and ECDSA secp256k1 oracle proofs.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for real-time Solana token risk analysis. Cross-references RugCheck.xyz, DexScreener, and GoPlus Security to generate three-layer reports: machine verdict → LLM analysis → raw on-chain evidence. Live on Solana mainnet with USDC micropayments ($0.02/audit). Give any AI agent the ability to check if a token is safe before trading.2MIT
- AlicenseNot gradedqualityCmaintenanceOn-chain Solana token safety MCP — screens SPL / Token-2022 tokens for rug-pull and honeypot patterns (mint/freeze authority, liquidity, holders, sellability), then executes MEV-protected swaps.1MIT
- AlicenseAqualityCmaintenanceOn-chain Solana cabal & rug detection as an MCP server. Scans any Solana token mint before your agent buys and returns an Exit-Liquidity Risk verdict.169 npm2MIT

pnllabs-mcpofficial
AlicenseNot gradedqualityCmaintenanceGives AI trading agents machine-readable trust and risk verdicts on Solana by checking whether a wallet's realized PnL makes it worth copying, where its funds came from, whether a token is structurally safe, and what a given trade size would really cost in slippage. Exposes these four checks as MCP tools callable against a hosted x402 pay-per-call API, so agents can hard-stop bad trades without RPC keys, signup, or local setup.1MIT