solana-auditor
Provides security auditing for Solana programs and Anchor frameworks, with static vulnerability detection and x402 payment invoice generation for USDC micropayments.
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., "@solana-auditor run a security audit on this Anchor program code"
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.
Solana Agent Audit MCP
An autonomous security audit MCP server and CLI utility designed for Solana programs, Anchor frameworks, and AI Agent Wallets.
Supports automated x402 payment headers and micropayments in USDC for pay-per-audit AI workflows.
Features
Program Vulnerability Scanner: Static analysis detecting missing
Signerchecks on authority accounts, unconstrained PDA derivations ininvoke_signed, unverified external CPI program targets, and unsafe account closure resurrect vectors.x402 Micropayment Protocol: Built-in paywall invoice generator that creates standardized x402 payment memos for automated agent-to-agent transactions.
Standard MCP Protocol: Implements Model Context Protocol tools (
audit_solana_codeandget_payment_invoice) compatible with Claude Code, Cursor, Codex, and OpenClaw.
Related MCP server: token-security-mcp
Payout Recipient Configuration
All generated audit invoices route payments directly to the designated Solana recipient address:
FCGFGq1WRawg4oQ8zicwt3qX3FdsJPBZzAoC1ZSfp7oDQuickstart
1. Install & Build
npm install
npm run build
npm test2. Configure with MCP Client (Claude Code / Cursor / Codex)
Add to your MCP configuration:
{
"mcpServers": {
"solana-auditor": {
"command": "node",
"args": ["dist/index.js"]
}
}
}3. Available Tools
audit_solana_code({ sourceCode, programName }): Performs static security audit returning structured findings, severity, recommendations, and security score (0-100).get_payment_invoice({ serviceName, amountUsdc }): Generates an x402 payment request invoice with recipient address and unique transaction memo.
License
MIT
Available Tools
2 toolsaudit_solana_codeA
Runs static security vulnerability audit on Solana Rust/Anchor source code.
Inputs: sourceCode (required), programName.
get_payment_invoiceB
Generates an x402 payment invoice for automated agent micropayments in USDC.
Inputs: amountUsdc, serviceName.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have completely distinct purposes: one audits Solana code, the other generates payment invoices. There is no overlap or ambiguity between them.
Both tools follow a consistent verb_noun pattern (audit_solana_code, get_payment_invoice), making the naming predictable and clear.
With only two tools, the server feels thin. The payment invoice tool is tangential to the core auditing purpose, making the tool count borderline for the stated domain.
The audit surface is minimal with only a single audit operation, lacking supporting features like audit history or status retrieval. The inclusion of payment invoicing is odd and doesn't fill functional gaps in the auditing workflow.
Maintenance
Related MCP Connectors
AI code security audits via x402 USDC: $0.01 scans, $0.50 audits, $5 auto-fixes. SAST/SCA.
Smart-contract risk reports for AI agents on 20 EVM chains, paid per call via x402 ($0.02 USDC).
Solana wallet forensics SDK, x402 pay-per-call, AI agents.
On-chain DeFi smart contract auditor, arbitrage scanner, and agent tollbooth via x402 on Base.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables static security audit of Solidity smart contracts by analyzing source code or deployed bytecode for vulnerabilities, providing risk scores and detailed findings.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables paid, per-request access to raw on-chain token security data (honeypot, taxes, holders, liquidity) on Arc mainnet via x402 payments, without scores or advice.MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP-compatible agents to submit source code for automated SAST/SCA security audits paid via x402 USDC micropayments on Base, returning structured vulnerability findings, CWE IDs, and optional remediated code patches.MIT
- AlicenseAqualityCmaintenanceEnables agents to run pre-signature security checks: identifying who can replace a Solana program's code or control an EVM contract's upgrades, surfacing dependency advisories for lockfiles, scanning public repos before release, and setting 30-day signed-webhook alerts on changes. Calls are paid per use in USDC over x402 from a wallet with per-call caps and a session budget.858 npmMIT