Extract Solana Smart Contract IDLs
MCP server extracting IDL files from closed-source Solana smart contracts by reverse-engineering the on-chain program.
Why it matters
Reverse engineer closed Solana smart contracts to extract their Interface Definition Language (IDL) files. This asset facilitates understanding and interacting with compiled programs by recovering their structure and metadata.
Outcomes
What it gets done
Extract IDL from Solana programs using reverse engineering.
Decompile Solana programs with AI-powered techniques.
Support for both Anchor and native Solana programs.
Configure custom Solana RPC endpoints.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-solvitor | bash Capabilities
Tools your agent gets
Extracts IDL from Solana programs using reverse engineering techniques and AI-powered decompilation.
Overview
Solvitor MCP Server
A Rust MCP server that reverse-engineers closed-source Solana programs into IDL structures, using the hosted Solvitor API and a single decode tool. Use to reverse-engineer a closed-source Solana program's interface. Requires a free Solvitor API key; runs locally against Solvitor's hosted service, scoped to Solana only.
What it does
Solvitor MCP is a Rust-based MCP server for the Solvitor API, an AI-powered platform that extracts IDL (Interface Definition Language) files from closed-source Solana smart contracts and decompiles them. It exposes a single tool, decode, which takes a Base58-encoded Solana program address (32-44 characters) and an optional Solana RPC endpoint URL (defaults to mainnet-beta), and returns the reconstructed IDL structure along with program metadata and program type ("anchor" or "native").
cargo install solvitor-mcp
The server requires a free Solvitor API key, obtained from Solvitor's developer settings, passed via the SOLVITOR_API_KEY environment variable.
When to use - and when NOT to
Use this connector when you need to understand the interface of a closed-source Solana program that has no published IDL - reverse-engineering its instruction and account structure so it can be integrated with, audited, or interacted with programmatically.
It is scoped to a single decode operation against Solana programs specifically, not other blockchains, and depends on Solvitor's hosted reverse-engineering service (requiring an API key) rather than running the analysis locally. Remote MCP hosting was not yet available at the time of writing; the server runs locally via the installed Rust binary.
Capabilities
decode: extract an IDL from any Solana program via reverse engineering, returning its interface structure, metadata, and program type.
How to install
Install the Rust toolchain via rustup, then install the server with cargo install solvitor-mcp. Obtain a free Solvitor API key from Solvitor's developer settings. Add the installed binary's path to claude_desktop_config.json (or claude_config.json) with the SOLVITOR_API_KEY environment variable set.
Who it's for
Solana developers and security researchers who need to reverse-engineer the interface of a closed-source on-chain program.
Source README
🦾💀 solvitor-mcp: A Solvitor API MCP Server in Rust
Overview
A Model Context Protocol (MCP) server for interacting with the Solvitor API. This server provides tools to access the AI-powered platform that helps developers extract IDL files from closed-source Solana smart contracts and decompile them.
Features
This MCP server exposes the following tools for interacting with the Solvitor API:
decode- Extract IDL (Interface Definition Language) from any Solana program using reverse engineering techniques
- Inputs:
program_id(string): Base58-encoded Solana program address (32-44 characters)url(string, optional): Solana RPC endpoint URL (defaults to mainnet-beta)
- Returns: IDL structure with program metadata and type ("anchor" or "native")
Installation
Prerequisites:
- Rust toolchain (install via rustup) - for regular usage
- Solvitor API key. You can obtain one here for free.
Regular Usage
cargo install solvitor-mcp
where solvitor-mcp # -> /Users/$username/.cargo/bin/solvitor-mcp
Add the following to your claude_desktop_config.json or claude_config.json:
{
"mcpServers": {
"solvitor-mcp": {
"command": "/Users/$username/.cargo/bin/solvitor-mcp",
"args": [],
"env": {
"SOLVITOR_API_KEY": "your_solvitor_api_key"
}
}
}
}
Remote MCP
Need remote MCP? Ping us on Twitter, we'll build the feature in a couple of days: x.com/solvitor_xyz
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.