frida-mcp

MCP.Pizza Chef: dnakov

Frida is the toolkit security researchers and mobile developers use to watch a program from the inside while it runs. This wrapper hands those abilities to a chat assistant: list running programs, attach to one, start it paused, run small scripts inside it, and read back whatever they print. It is free and needs no account, but you must already have Python and Frida installed, and it is squarely a developer tool. The code has not changed since May 2025.

Unmaintained · no code changes since May 2025
Coding
Other

Use This MCP server To

List every program running on my phone or laptop Attach to an app and watch which functions it calls Run a short script inside a running app and read the output Start an app paused so I can inspect it before it runs See which devices are connected over USB

README

Frida MCP

A Model Context Protocol (MCP) implementation for Frida dynamic instrumentation toolkit.

Overview

This package provides an MCP-compliant server for Frida, enabling AI systems to interact with mobile and desktop applications through Frida's dynamic instrumentation capabilities. It uses the official MCP Python SDK to enable seamless integration with AI applications.

Demo

frida-mcp.mov

Features

  • Built with the official MCP Python SDK
  • Comprehensive Frida tools exposed through MCP:
    • Process management (list, attach, spawn, resume, kill)
    • Device management (USB, remote devices)
    • Interactive JavaScript REPL with real-time execution
    • Script injection with progress tracking
    • Process and device monitoring
  • Resources for providing Frida data to models
  • Prompts for guided Frida analysis workflows
  • Progress tracking for long-running operations
  • Full support for all MCP transport methods

Installation

Prerequisites

  • Python 3.8 or later
  • pip package manager
  • Frida 16.0.0 or later

Quick Install

pip install frida-mcp

Development Install

# Clone the repository
git clone https://github.com/yourusername/frida-mcp.git
cd frida-mcp

# Install in development mode with extra tools
pip install -e ".[dev]"

Claude Desktop Integration

To use Frida MCP with Claude Desktop, you'll need to update your Claude configuration file:

  1. Locate your Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  2. Add the following to your configuration file:

{
  "mcpServers": {
    "frida": {
      "command": "frida-mcp"
    }
  }
}

Usage

Once installed, you can use Frida MCP directly from Claude Desktop. The server provides the following capabilities:

Process Management

  • List all running processes
  • Attach to specific processes
  • Spawn new processes
  • Resume suspended processes
  • Kill processes

Device Management

  • List all connected devices (USB, remote)
  • Get device information
  • Connect to specific devices

Interactive JavaScript REPL

  • Create interactive sessions with processes
  • Execute JavaScript code in real-time
  • Monitor process state and memory
  • Hook functions and intercept calls
  • Capture console.log output
  • Handle errors and exceptions gracefully

Script Injection

  • Inject custom JavaScript scripts
  • Track injection progress
  • Handle script errors and exceptions

Resources

  • Get Frida version information
  • Access process list in human-readable format
  • Access device list in human-readable format

Development

# Clone repository
git clone https://github.com/yourusername/frida-mcp.git
cd frida-mcp

# Install development dependencies
pip install -e ".[dev]"

License

MIT

frida-mcp FAQ

Is this project still being worked on?
Not lately. The last code change was May 2025, around fifteen months ago. It is not archived and no replacement is named, but do not count on fixes or new features.
Do I need to be a programmer?
Realistically yes. Frida is an app-inspection toolkit, and reading what it reports back assumes you know how the program under test is built.
Do I need an account or a paid key?
No. It runs entirely on your own machine against programs you already have access to.
What has to be installed first?
Python 3.8 or newer and Frida 16 or newer, then a single install command for this wrapper.
Which apps does it work in?
Claude Desktop, set up by adding one short block to its settings file, plus other assistants that support MCP servers.
Can I use this to look inside an app on my phone?
Yes — it can talk to devices connected over USB, list what is running on them, and attach to a chosen app.