anchor-mcp
by honey-guard
Overview
Provides a Model Context Protocol (MCP) server for LLM applications to perform security analysis on Anchor Solana programs and files using solana-fender.
Installation
anchor-mcp --mcpSecurity Notes
The server directly uses user-provided 'program_path' and 'file_path' arguments from MCP client requests (e.g., 'security_check_program', 'security_check_file') without any validation or sanitization. These paths are then passed to the 'solana_fender' library for file system operations. This is a critical security risk as it could allow for path traversal attacks, arbitrary file reads (if solana_fender allows reading outside intended directories), or denial-of-service by pointing to large/malformed files or devices.
Similar Servers
mcp-server-wazuh
This Rust-based server acts as a bridge between a Wazuh SIEM system and applications requiring contextual security data, especially for AI assistants using the Model Context Protocol (MCP).
rust-mcp-schema
Provides a type-safe Rust implementation of the Model Context Protocol (MCP) schema, enabling developers to build robust MCP servers and clients.
mcp-framework
A Rust framework for building AI agents with built-in Model Context Protocol (MCP) support, multi-LLM integration, and a web-based inspector for debugging.
kodegen
A Rust-native Model Context Protocol (MCP) server providing blazing-fast auto-coding and development tools for AI agents.