Overview
solvitor-mcp is an MCP server that enables interaction with the Solvitor API to help developers extract IDL files from closed-source Solana smart contracts and decompile them. The server exposes a decode tool that retrieves the IDL from a given Solana program using reverse-engineering techniques. Inputs include program_id (string): a Base58-encoded Solana program address, and an optional url (string): a Solana RPC endpoint URL (defaults to mainnet-beta). The tool returns an IDL structure with program metadata and a type field indicating either 'anchor' or 'native'. This server is implemented in Rust and is installable via cargo install solvitor-mcp. Configuration can be added to Claude desktop config JSON, for example mapping the solvitor-mcp command with an API key in environment variables. Prerequisites include the Rust toolchain and a Solvitor API key (obtainable from solvitor.xyz). For users requesting remote MCP, there is a note about availability via social channels. The project is MIT licensed.
Features
decode
Extract IDL (Interface Definition Language) from any Solana program using reverse engineering techniques. Inputs: program_id (string) Base58 Solana program address; url (string, optional) RPC endpoint (defaults to mainnet-beta). Returns: IDL structure with program metadata and type ('anchor' or 'native').
Who Is This For?
- Solana developers:Access Solvitor API to extract IDL from Solana programs and decompile contracts.




