About Bn Ebpf Solana
Bn Ebpf Solana is an MCP server published by otter-sec in the Developer Tools category: binary Ninja plugin for Solana eBPF.
The repository has 255 stars and 42 forks, with the last commit 7 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/otter-sec/bn-ebpf-solanaThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Bn Ebpf Solana
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
Releases
README
bn-ebpf-solana
A pure-python Binary Ninja plugin for Solana EBPF.
Regular install from plugin manager
Be sure to install both bn-ebpf-solana and binary_ninja_mcp from the plugin manager
Tested on Binary Ninja 5.0.7486-Stable
Manual installation (advanced, latest features)
This is only needed if you wish to tinker with the plugin to modify it.
Clone this repo, aswell as the mcp plugin repo, in your Binja plugins folder, located in the user folder.
Now install the requirements :
- either by running
Install python3 modulein Binja'scommand palette(Ctrl + P) and install the following modules
lief
anthropic
fastmcp
tenacity
rust_demangler
pygments
anchorpy
solana
solders
base58
- or by going to the user folder and installing the requirements.txt
Also for the MCP integration to work please install mcp globally (outside the binja venv) like so:
pip install mcp
See our introductory blog post.
Instruction lifting!

Solana SDK Structures!

Copy this directory into your Binary Ninja plugins folder and restart.
Features
- Instruction Lifting: All EBPF instructions are lifted to LLIL
- Accurate Memory Maps: We implement Solana-specific memory maps (0x{1/2/3/4}00000000 addresses for data/stack/heap/input)
- Solana ELF Relocations: Solana-specific ELF relocations
- Syscall Function Signatures: Full signatures for all of the Solana syscalls
- (partial) Solana SDK Types: Type definitions for all Solana SDK objects. (fully complete for C, in-progress for Rust)
MCP integration
In order to use the MCP integration please set up your anthropic api key in the settings under
MCP settings > Anthropic API Key
You will now be able to use the side menu on the right, symbolized by an R. Click on any function to start prompting the model to call MCP actions, and to ultimately display a Rust version in the side panel
TODO:
- Solana SDK Signature Matching: Automatically match common Solana SDK functions.
Debugging
[ScriptingProvider] ModuleNotFoundError: No module named 'lief'
Is lief installed?
Run the following in the Binja python console
import lief
lief.__version__
If you get an error, refer to the Installation section
README fetched from the repository 4 days ago. The original is authoritative.