Overview
solvitor-mcp is a Model Context Protocol (MCP) server written in Rust for interacting with the Solvitor API. It provides tools to help developers extract IDL files from closed-source Solana smart contracts and decompile them.
Main Capabilities
The MCP server exposes the following tools:
- decode: Uses reverse engineering techniques to extract the IDL (Interface Definition Language) from any Solana program.
- Input:
- program_id (string): Base58-encoded Solana program address (32-44 characters)
- url (string, optional): Solana RPC endpoint URL, defaults to mainnet-beta
- Returns: An IDL structure containing program metadata and type ("anchor" or "native").
- Input:
Usage
- Requires the Rust toolchain (installable via rustup) for regular use.
- Requires a Solvitor API key, available for free here.
- Add the following to claude_desktop_config.json or claude_config.json (the specific configuration example is not provided in the supplied material).
- For remote MCP, contact via Twitter (x.com/solvitor_xyz); the developer says this feature will be built within a few days.
Use Cases
Suitable for Solana developers analyzing closed-source smart contracts, performing reverse engineering, and extracting IDL files.
Limitations
The supplied material does not explicitly list usage limitations.