SlipSentry MCP
OfficialProvides deterministic pre-sign trade auditing for Solana autonomous agents, using Solana Mainnet RPC to verify mint/freeze authorities, CoinGecko pool and holder data, and Jupiter quotes to return ALLOW/WARN/BLOCK verdicts with signed receipts.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SlipSentry MCP audit a $1,000 USDC to WIF swap before I sign it"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SlipSentry MCP
Deterministic pre-sign trade firewall for autonomous Solana AI agents.
Live console: https://slipsentry.thecode.blog
Streamable HTTP MCP endpoint: POST https://slipsentry.thecode.blog/mcp (JSON discovery: GET /api/mcp-info)
What it solves
Autonomous Solana trading bots prepare swaps without a human watching pool depth or token metadata. Before a wallet daemon signs a swap transaction, it needs numeric answers: are the mint and freeze authorities revoked on Solana mainnet? Does the order exceed a safe share of the deepest DEX pool? Does live Jupiter routing create excessive price impact? Do the top 10 wallets control too much of the supply?
SlipSentry MCP evaluates 6 deterministic rules using CoinGecko On-Chain API, Solana Mainnet RPC, and Jupiter Swap v1 Quote. Every call returns a machine-readable ALLOW, WARN, or BLOCK verdict, a boolean canSign, an estimated maxSafeOrderUsd (reduced orders must be re-audited before signing), and an HMAC-SHA256 signed receipt with a 5-minute TTL.
Autonomous agents can connect through three interfaces:
Streamable HTTP MCP at
POST https://slipsentry.thecode.blog/mcp(JSON-RPC 2.0, protocol2025-03-26;GET /mcpreturns405 Method Not AllowedwithAllow: POSTbecause no GET SSE stream is offered, and notification-only batches return empty202 Accepted).Local
stdioMCP server (npm run mcp:stdioornode bin/slipsentry-mcp.mjs) for Claude Desktop, Cursor, or headless orchestrators.In-process JavaScript adapter (
lib/solanaAgentAdapter.mjs:getSlipSentryAgentTools()andassertSafeBeforeSign()) for Solana Agent Kit, OpenAI, or LangChain bots.
Related MCP server: geckoguard-solana
Screenshots
1. Live Pre-Sign Block ($100,000 USDC -> WIF)

2. Safe Order Size Pass ($1,000 USDC -> WIF)

3. MCP Wire Trace, Signed Receipt Verifier & Agent Config

How CoinGecko API is used
SlipSentry calls four CoinGecko Solana On-Chain API endpoints from the server (lib/coingecko.mjs) with in-flight request deduplication, bounded caching, per-mint refresh cooldowns, and a 10-minute stale fallback ceiling (STALE_UPSTREAM_DATA suppresses ALLOW if cached fallback data exceeds 10 minutes):
GET /onchain/networks/solana/tokens/{mint}/info: retrieves token metadata, holder count, CoinGecko GT composite safety score (gt_score),gt_verified, tri-stateis_honeypot(flagged,clean, orunknown), and primary top-10 holder concentration (holders.distribution_percentage.top_10).GET /onchain/networks/solana/tokens/{mint}/pools?page=1: aggregates active Solana DEX pools (Raydium, Orca, Meteora, PumpSwap) to compute top-5 pool liquidity depth, deepest single-pool reserve, and 24-hour volume.GET /onchain/networks/solana/tokens/{mint}/top_holders: provides top holder rows and acts as the fallback source for top-10 concentration when/infoomitsdistribution_percentage.top_10.GET /onchain/networks/solana/pools/{pool_address}/trades: reads recent buy and sell flow on the deepest pool for provenance diagnostics (not counted as a pass/block rule).
Without CoinGecko On-Chain API, Solana RPC can check account authority flags and Jupiter can quote one swap route, but neither supplies cross-DEX pool liquidity depth, holder concentration, or GT safety scoring.
Data by CoinGecko API.
How Solana is used
Every audit queries live Solana Mainnet state and routing (lib/solana.mjs):
Solana Mainnet RPC
getAccountInfo(mint, { encoding: "jsonParsed" })(with automatic failover betweenapi.mainnet-beta.solana.comandsolana-rpc.publicnode.com) reads the on-chain SPL Token or Token-2022 mint account to verify thatmintAuthority,freezeAuthority, and Token-2022permanentDelegateare absent.Jupiter Swap v1 Quote (
https://lite-api.jup.ag/swap/v1/quote) quotes USDC (EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v) into the target mint at the exact requested atomic amount to measure live executable price impact in basis points and hop-by-hop AMM route labels. Non-USDCinputMintvalues and out-of-range amounts (< $1,> $10,000,000, or more than 6 decimals) are rejected instead of clamped.Solana Agent Kit pre-sign middleware (
lib/solanaAgentAdapter.mjs) exposesassertSafeBeforeSign({ outputMint, amountUsd, policy }), which blocks unlessverdict === "ALLOW"and the HMAC-SHA256 receipt passes signature, TTL,policyHash, and trade-intent verification.
MCP Tools
Tool | Purpose |
| Runs the 6-rule pre-sign audit ( |
| Returns Solana RPC |
| Computes CoinGecko top-5 pool reserves, deepest pool ratio, and live Jupiter Swap v1 price impact for a USDC order size. |
| Verifies the HMAC-SHA256 signature ( |
Receipt verification and signing authorization
Signature validity and signing authorization are separate fields:
valid: trueconfirms the receipt was signed by SlipSentry and has not expired. ABLOCKorWARNreceipt still returnsvalid: trueso audit logs can prove a rejection was authentic.authorizedToSign: trueis returned only whenvalid === true,verdict === "ALLOW", and every caller-suppliedexpectedfield (expectedPolicyHash,expectedChain,expectedInputMint,expectedOutputMint,expectedAmountUsd) matches the receipt payload.
Signing daemons must require both valid === true and authorizedToSign === true, and verify policyHash against their own trusted policy configuration (getPolicyHash(policy)).
Quickstart for Autonomous Agents
1. Call the live Streamable HTTP MCP endpoint
curl -sS -X POST https://slipsentry.thecode.blog/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "audit_solana_trade",
"arguments": {
"outputMint": "EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm",
"amountUsd": 100000
}
}
}'2. Connect Claude Desktop or Cursor via local stdio MCP
{
"mcpServers": {
"slipsentry": {
"command": "node",
"args": ["/absolute/path/to/slipsentry-mcp/bin/slipsentry-mcp.mjs"],
"env": {
"COINGECKO_API_KEY": "your_coingecko_api_key",
"COINGECKO_TIER": "pro"
}
}
}
}3. Gate a Solana Agent Kit or JavaScript bot before signing
import { assertSafeBeforeSign } from './lib/solanaAgentAdapter.mjs';
// Throws SLIPSENTRY_BLOCKED if verdict !== 'ALLOW', or SLIPSENTRY_RECEIPT_REJECTED if policyHash/intent verification fails
const signedReceipt = await assertSafeBeforeSign({
outputMint: 'EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm',
amountUsd: 1000,
});Local Setup
Requirements: Node.js 22+ and a CoinGecko API key (COINGECKO_TIER=pro for Analyst/Pro keys or demo for Demo keys).
git clone https://github.com/ByKite/slipsentry-mcp.git
cd slipsentry-mcp
cp .env.example .env
# Edit .env and set COINGECKO_API_KEY and SLIPSENTRY_SIGNING_SECRET
npm installRun the API and Streamable HTTP MCP server (http://127.0.0.1:8445):
npm run dev:serverIn a second terminal, run the Vite console (http://127.0.0.1:5175, proxies /api and /mcp to port 8445):
npm run dev:webOr run the standalone stdio MCP server directly:
npm run mcp:stdioChecks & Tests
npm run check
npm testThe test suite verifies input validation, deterministic policy verdicts, separation of valid and authorizedToSign, tri-state is_honeypot handling, 10-minute stale cache rejection, unrounded pool-depth comparison, MCP 2025-03-26 HTTP behavior (GET /mcp -> 405, notification batch 202, Origin check), a stdio subprocess roundtrip (tools/list and tools/call), assertSafeBeforeSign, and live mainnet calls for WIF and TRUMP.
Limitations
SlipSentry audits trade intent and issues signed receipts. It does not hold private keys, parse or bind raw serialized Solana transaction bytes, or broadcast transactions on-chain. Binding the final serialized transaction message on the signer side is the next production step.
Only USDC-denominated buys (
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v) are quoted in this release; otherinputMintaddresses return a parameter error.maxSafeOrderUsdis an analytical estimate derived from current deepest-pool reserves and single-point quote impact. If an agent reduces its order size, it must run a freshaudit_solana_tradecall before signing.On Solana SPL tokens, CoinGecko commonly returns
is_honeypot: "unknown". SlipSentry keeps all three states (flagged,clean,unknown): unverified tokens withunknownstatus produceWARN(HONEYPOT_UNVERIFIED), while CoinGeckogt_verifiedtokens pass Rule 6 with on-chain mint and freeze authorities checked separately in Rule 1.Top-10 holder percentages and GT safety scores reflect CoinGecko upstream refresh intervals. Public
/mcpand/api/auditroutes enforce per-IP rate limiting, a concurrency cap, and browserOriginchecks while permitting headless MCP clients with noOriginheader.Receipt verification requires
SLIPSENTRY_SIGNING_SECRETto stay consistent across restarts; when unset, the server creates an ephemeral per-process secret (signingMode: "ephemeral").
License
MIT. See LICENSE.
Available Tools
4 toolsaudit_solana_tradeA
Run a deterministic pre-sign safety audit for a Solana token buy using CoinGecko on-chain liquidity/holders/GT score, live Solana RPC mint & freeze authority checks, and live Jupiter Swap v1 price impact. Returns an HMAC-SHA256 signed ALLOW, WARN, or BLOCK receipt.
Inputs: amountUsd (required), outputMint (required), policy, inputMint, +1 more.
check_token_safetyA
Inspect a Solana SPL mint for active on-chain mint/freeze authorities (Solana RPC), CoinGecko GT safety score, honeypot flag, and top-10 holder concentration.
Inputs: mint (required).
verify_policy_receiptA
Verify the HMAC-SHA256 signature and 5-minute TTL of a SlipSentry verdict receipt and check whether authorizedToSign is true (verdict === ALLOW plus optional policyHash and trade-intent bindings).
Inputs: receipt (required), expected.
verify_pool_depth_and_impactA
Measure CoinGecko aggregated Solana DEX pool reserves, 24h volume, order-to-depth ratio, and live Jupiter Swap v1 execution price impact for a given USD order size.
Inputs: mint (required), amountUsd (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
audit_solana_trade is a composite that bundles the checks performed by check_token_safety (authorities, holders, GT score) and verify_pool_depth_and_impact (pool depth, price impact), so an agent may be unsure when to run the granular tools versus the one-shot audit. verify_policy_receipt is clearly distinct as the post-hoc receipt verifier. The descriptions do signal that the audit is the end-to-end path, which mitigates most confusion.
All four names are snake_case and follow a verb_noun structure (audit_/check_/verify_/verify_). Minor deviation: three different near-synonym verbs (audit, check, verify) are used for closely related inspection actions, and one name is a long conjunction (verify_pool_depth_and_impact). Still readable and predictable.
Four tools is well-scoped for a narrow pre-sign Solana trade safety service: one composite audit, two granular checks, and one receipt verifier. Each tool earns its place and there is no filler.
The surface covers the core lifecycle of assess -> sign -> verify receipt, with both coarse and granular inspection. Gaps: audits are only defined for buys (no sell/exit-side audit) and there is no tool to list, fetch, or refresh an existing receipt beyond signature/TTL verification, which agents must work around by re-running the audit.
Maintenance
Related MCP Connectors
Pre-trade risk gating and verifiable decision evidence for AI trading agents. Oracle-backed price/safety checks across Base, Solana, Hyperliquid and BNB, plus signed receipts and portable evidence bundles for any agent action.
Pre-sign Solana tx guard for agents: ALLOW/WARN/BLOCK verdict, x402 USDC pay-per-call.
Safe Solana swaps for AI agents with risk checks, unsigned transactions, x402, and 3-bp fees.
Zero-custody pre-trade anti-rug protection and native execution for Solana, Hyperliquid, and EVM.
41
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to score Solana tokens, simulate and decode transactions, and apply owner-defined limits, allowlists and slippage rules before anything is signed, returning a clear allow, confirm, block or freeze verdict. Also supports on-chain enforcement through a Squads multisig so an agent can propose trades but only execute when the gateway approves, with a kill-switch and owner approval flows for risky actions.MIT
- AlicenseNot gradedqualityCmaintenanceEnables Solana AI agents and treasury operators to run pre-trade swap safety checks, citation-grounded token due diligence, multisig treasury policy audits, and new-pool screening through MCP tools backed by CoinGecko data and Solana RPC. It returns deterministic ALLOW/WARN/BLOCK decisions and evidence-grounded reports with SHA-256 receipts.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents and MCP clients to screen Solana long-tail trades through deterministic fail-closed policy checks, block unsafe or prompt-injected swaps, compute safe trade limits, run red-team probes, and commit and verify decisions in a SHA-256 hash-chained audit ledger using CoinGecko and Solana RPC data.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents and Blink clients to run Solana token due-diligence with traceable evidence, gate swaps by comparing live Jupiter quotes against CoinGecko benchmarks, scout DEX pools 24/7, analyze price catalysts, and audit wallet risk. Every price, liquidity, and onchain authority figure is tied to a provenance ledger entry or Solana RPC response.MIT