Sponsored by Deepsite.site

Pyghidra Mcp

Created By
clearbluejar4 months ago
PyGhidra-MCP - Ghidra Model Context Protocol Server pyghidra-mcp is a command-line Model Context Protocol (MCP) server that brings the full analytical power of Ghidra, a robust software reverse engineering (SRE) suite, into the world of intelligent agents and LLM-based tooling. It bridges Ghidra’s ProgramAPI and FlatProgramAPI to Python using pyghidra and jpype, then exposes that functionality via the Model Context Protocol. MCP is a unified interface that allows language models, development tools (like VS Code), and autonomous agents to access structured context, invoke tooling, and collaborate intelligently. Think of MCP as the bridge between powerful analysis tools and the LLM ecosystem. With pyghidra-mcp, Ghidra becomes an intelligent backend—ready to respond to context-rich queries, automate deep reverse engineering tasks, and integrate into AI-assisted workflows. Yet another Ghidra MCP? Yes, the original ghidra-mcp is fantastic. But pyghidra-mcp takes a different approach: 🐍 No GUI required – Run entirely via CLI for streamlined automation and scripting. 🔁 Designed for automation – Ideal for integrating with LLMs, CI pipelines, and tooling that needs repeatable behavior. ✅ CI/CD friendly – Built with robust unit and integration tests for both client and server sessions. 🚀 Quick startup – Supports fast command-line launching with minimal setup. 📦 Project-wide analysis – Enables concurrent reverse engineering of all binaries in a Ghidra project 🤖 Agent-ready – Built for intelligent agent-driven workflows and large-scale reverse engineering automation. 🔍 Semantic code search – Uses vector embeddings (via ChromaDB) to enable fast, fuzzy lookup across decompiled functions, comments, and symbols—perfect for pseudo-C exploration and agent-driven triage.
Overview

what is PyGhidra-MCP?

PyGhidra-MCP is a command-line Model Context Protocol (MCP) server that integrates the analytical capabilities of Ghidra, a software reverse engineering suite, with intelligent agents and LLM-based tools. It allows users to automate reverse engineering tasks and access structured context through a unified interface.

how to use PyGhidra-MCP?

To use PyGhidra-MCP, run it as a CLI command or as a Docker container. You can execute commands like pyghidra-mcp /path/to/binary to analyze binaries or integrate it with other tools via the MCP API.

key features of PyGhidra-MCP?

  • No GUI required; operates entirely via CLI for automation.
  • Designed for integration with LLMs and CI pipelines.
  • Quick startup with minimal setup required.
  • Supports project-wide analysis of binaries in Ghidra projects.
  • Semantic code search using vector embeddings for efficient lookups.

use cases of PyGhidra-MCP?

  1. Automating reverse engineering tasks in CI/CD pipelines.
  2. Integrating with LLMs for intelligent code analysis.
  3. Performing concurrent analysis of multiple binaries in a Ghidra project.

FAQ from PyGhidra-MCP?

  • Can PyGhidra-MCP be used without Ghidra?

No, it requires Ghidra to function as it utilizes its APIs for analysis.

  • Is PyGhidra-MCP suitable for large-scale projects?

Yes, it is designed for scalability and can handle multiple binaries concurrently.

  • How can I contribute to PyGhidra-MCP?

You can contribute by providing feedback, reporting bugs, or submitting code on its GitHub repository.

Server Config

{
  "mcpServers": {
    "pyghidra-mcp": {
      "command": "uvx",
      "args": [
        "pyghidra-mcp",
        "/bin/ls",
        "/bin/jq",
        "/path/to/bin"
      ],
      "env": {
        "GHIDRA_INSTALL_DIR": "/path/to/ghidra"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Tavily Mcp
ChatWiseThe second fastest AI chatbot™
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Serper MCP ServerA Serper MCP Server
CursorThe AI Code Editor
Amap Maps高德地图官方 MCP Server
Playwright McpPlaywright MCP server
DeepChatYour AI Partner on Desktop
WindsurfThe new purpose-built IDE to harness magic
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.