Solana Security Standard (SOL-0XX) MCP Server
io.github.Copenhagen0x/solana-security-mcp is a Model Context Protocol server that scans Solana/Anchor Rust code against the Solana Security Standard (SOL-0XX) and serves the ruleset to MCP clients. It exposes tools for static-pattern scanning, returning advisory findings rather than confirmed bug reports.
🛠️ Key Features
- Scans Solana/Anchor Rust against SOL-0XX fast patterns
- Provides advisory findings (rule id + line:col + fix hint)
- Excludes off-chain paths (client/cli/offchain/sdk/tests)
- Serves the SOL-0XX ruleset to MCP clients
🚀 Use Cases
- Security review of Solana/Anchor code snippets
- Guiding investigation to specific lines using rule matches
- Integrating standardized security rules into assistant workflows
⚡ Developer Benefits
- Tool-based access from MCP clients (e.g., Cline, GitHub Copilot, Cursor, Claude, Windsurf)
- Advisory “look here” output to support faster iteration
⚠️ Limitations
- A match indicates guidance, not a confirmed bug
- Off-chain paths are excluded from scanning