Skip to main content
Glama

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 Signer checks on authority accounts, unconstrained PDA derivations in invoke_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_code and get_payment_invoice) compatible with Claude Code, Cursor, Codex, and OpenClaw.

Related MCP server: solidity-sentinel

Payout Recipient Configuration

All generated audit invoices route payments directly to the designated Solana recipient address:

FCGFGq1WRawg4oQ8zicwt3qX3FdsJPBZzAoC1ZSfp7oD

Quickstart

1. Install & Build

npm install
npm run build
npm test

2. 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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Agent payments ecosystem intelligence. Scans GitHub, Hacker News, and npm for activity across AP2, ACP, x402, MPP, and UCP protocols. Returns scored and classified opportunities. Free protocol info and comparison, paid scan via x402 USDC
    3
    64
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables static security audit of Solidity smart contracts by analyzing source code or deployed bytecode for vulnerabilities, providing risk scores and detailed findings.
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Checks token contract safety for honeypot, tax, proxy, blacklist, ownership risks, and returns a risk score, enabling rug-pull protection for agents via pay-per-call x402 micropayments.
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jdjdjjdrjnsn/solana-agent-audit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server