mcpField
F
Frida MCP

Frida MCP

Local
github.com/dnakovSecurity461Updated 76w ago

About Frida MCP

Frida MCP is an MCP stdio server for the Frida dynamic instrumentation toolkit, letting AI systems work with mobile and desktop applications at the process, device and script level. It is built on the official MCP Python SDK and is intended for analysts doing dynamic analysis.

Key features

  1. 01List, attach, spawn, resume and kill processes
  2. 02Manage USB and remote devices
  3. 03Interactive JavaScript REPL
  4. 04Script injection with progress tracking
  5. 05Resources with Frida version and process or device lists

Use cases

  1. 01Dynamic analysis of applications from Claude Desktop
  2. 02Drafting Frida scripts with AI help and injecting them into a target process

MCP support

This project is an MCP server that exposes Frida process, device, REPL and script injection capabilities as tools to MCP clients, with resources and prompts for analysis workflows.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project 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

https://github.com/user-attachments/assets/5dc0e8f5-5011-4cf2-be77-6a77ec960501

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.