SolanaShield MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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 |
|---|---|
| audit-programA | Run a full security audit on Solana/Anchor program source code. Returns findings sorted by severity with fix suggestions. |
| check-accountsC | Check account validation: owner checks, signer verification, authority, token accounts, duplicate mutable accounts. |
| check-cpiA | Analyze Cross-Program Invocations for safety: arbitrary CPI, reentrancy, privilege escalation, program ID validation. |
| check-pdaA | Audit PDA (Program Derived Address) usage: seed confusion, bump storage, collisions. |
| check-arithmeticB | Detect integer overflow/underflow, precision loss, and unsafe type casting. |
| risk-scoreB | Calculate a 0-100 risk score for Solana program code. Quick triage without full details. |
| list-patternsB | List all vulnerability patterns SolanaShield checks for, optionally filtered by severity or category. |
| explain-findingA | Get detailed explanation, exploit scenario, and remediation for a specific vulnerability pattern. |
| compare-versionsB | Compare two versions of code to see if fixes resolved previous findings or introduced new issues. |
| generate-fixC | Generate a code fix suggestion for a specific finding at a given line. |
| check-tokensB | Analyze SPL Token operations: authority checks, mint validation, freeze authority, token-2022 compatibility. |
| audit-jsonC | Run audit and return structured JSON results for programmatic consumption. |
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 12 tools
The check-* family cleanly partitions the vulnerability domain (accounts, CPI, PDA, arithmetic, tokens), and audit-program vs audit-json vs risk-score are distinguishable by depth/output format. There is still mild overlap between audit-program, audit-json, and risk-score, which all effectively audit code and could be confused by an agent choosing how deep to go.
All 12 tools use consistent kebab-case with a verb-first pattern (check-*, audit-*, generate-*, list-*, explain-*, compare-*). The only deviation is risk-score, which is noun-based rather than verb-based, but it remains readable and unambiguous.
Twelve tools is well within the sweet spot for a security-audit server, with each tool covering a distinct check category or workflow step. No tool feels redundant or filler.
The surface covers the full audit lifecycle: pattern discovery, targeted category checks, full audit, triage scoring, fix generation, explanation, and version comparison. Minor gaps exist around persisting/exporting reports beyond JSON and filtering or paging findings by ID, but core workflows have no dead ends.