Back to Home
dvansari65 icon

anchor-mcp-server

by dvansari65

Overview

An MCP server that enables programmatic deployment of Anchor programs to various Solana networks via a defined tool interface.

Installation

Run Command
cargo run

Environment Variables

  • RUST_LOG

Security Notes

The 'deploy_program' function in `src/anchor/mod.rs` directly invokes the 'anchor deploy' command using `std::process::Command` with user-supplied `program_path` and `network` arguments. This design introduces a critical command injection vulnerability if inputs from the MCP client are not thoroughly validated and sanitized. A malicious actor could potentially craft inputs to execute arbitrary commands on the host system.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassLow
Avg Tokens1
Stars0
Forks0
Last Update2025-11-22

Tags

MCP ServerAnchorSolanaProgram DeploymentRust