Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Radare2 Mcp

    MCP stdio server for radare2

    101 stars
    C
    Updated Oct 27, 2025

    Table of Contents

    • Features
    • Installation
    • Using r2pm
    • Using Docker
    • Configuration
    • Claude Desktop Integration
    • VS Code Integration
    • Zed Integration
    • For Developers
    • Build from Source
    • Linux/macOS
    • Windows

    Table of Contents

    • Features
    • Installation
    • Using r2pm
    • Using Docker
    • Configuration
    • Claude Desktop Integration
    • VS Code Integration
    • Zed Integration
    • For Developers
    • Build from Source
    • Linux/macOS
    • Windows

    Documentation

    Radare2 MCP Server

    ci

    radare2

    An MCP server to use radare2 with AI agents such as OpenCode, Mai, VSCode, Claude, CLION, ...

    Features

    This implementation provides:

    • 💻 Fully written in C using the native r2 APIs
    • 🧩 Works from the CLI, as an r2 plugin and as an MCP server
    • 🔍 Seamless binary analysis with radare2
    • 🔗 Connect to any local or remote r2/iaito session via r2pipe
    • 🔒 Supports readonly mode, sandbox lock and restrict tools
    • 🔩 Fine grained tools configuration
    • 🔁 Direct stdin/stdout communication model
    • 🛠️ Optional raw access to run r2 commands or r2js scripts

    Installation

    Using r2pm

    The simplest way to install the package is by using r2pm:

    bash
    $ r2pm -Uci r2mcp

    The r2mcp executable will be copied into r2pm's bindir in your home directory. However, this binary is not supposed to be executed directly from the shell; it will only work when launched by the MCP service handler of your language model of choice.

    bash
    $ r2pm -r r2mcp

    That's the common mcpServer JSON configuration file:

    json
    {
      "mcpServers": {
        "radare2": {
          "command": "r2pm",
          "args": ["-r", "r2mcp"]
        }
      }
    }

    Using Docker

    Alternatively, you can build the Docker image:

    bash
    docker build -t r2mcp .

    Update your MCP client configuration file (see below) to use the Docker image to use:

    • "command": "docker"
    • "args": ["run", "--rm", "-i", "-v", "/tmp/data:/data", "r2mcp"].

    Configuration

    Claude Desktop Integration

    In the Claude Desktop app, press CMD + , to open the Developer settings. Edit the configuration file and restart the client after editing the JSON file as explained below:

    1. Locate your Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json

    2. Add the following to your configuration file:

    json
    {
      "mcpServers": {
        "radare2": {
          "command": "r2pm",
          "args": ["-r", "r2mcp"]
        }
      }
    }

    VS Code Integration

    To use r2mcp with GitHub Copilot Chat in Visual Studio Code by adding it to your user configuration (see other options here):

    1. Open the Command Palette with CMD + Shift + P (macOS) or Ctrl + Shift + P (Windows/Linux).

    2. Search for and select Copilot: Open User Configuration (typically found in ~/Library/Application Support/Code/User/mcp.json in macOS).

    3. Add the following to your configuration file:

    json
    {
      "servers": {
        "radare2": {
          "type": "stdio",
          "command": "r2pm",
          "args": ["-r", "r2mcp"]
        }
      },
      "inputs": []
    }

    Zed Integration

    You can use r2mcp with Zed as well by adding it to your configuration:

    1. Open the command palette: CMD + Shift + P (macOS) or Ctrl + Shift + P (Windows/Linux).

    2. Search of agent: open configuration or search of settings.

    3. Add your server as such:

    json
    "context_servers": {
        "r2-mcp-server": {
          "source": "custom",
          "command": "r2pm",
          "args": ["-r", "r2mcp"],
          "env": {}
        }
      }

    Note: you will need another LLM agent, such as Claude, Gemini or else to be able to use it.

    For Developers

    Build from Source

    Linux/macOS

    To test the server locally, you can build and install it with make:

    bash
    make install

    This will compile the server and place the r2mcp binary in /usr/local/bin on macOS.

    Windows

    For Windows, just use meson and ninja like it's done in the CI:

    cmd
    meson b
    ninja -C b

    Similar MCP

    Based on tags & features

    • CO

      Code To Tree

      C·
      60
    • OP

      Openai Gpt Image Mcp

      TypeScript·
      75
    • MC

      Mcp Access Point

      Rust·
      135
    • MC

      Mcgravity

      TypeScript·
      71

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • CO

      Code To Tree

      C·
      60
    • OP

      Openai Gpt Image Mcp

      TypeScript·
      75
    • MC

      Mcp Access Point

      Rust·
      135
    • MC

      Mcgravity

      TypeScript·
      71

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k