Skip to main content
Glama

Frida MCP

MIT License
62
  • Linux
  • Apple

弗里达 MCP

Frida 动态检测工具包的模型上下文协议 (MCP) 实现。

概述

该软件包为 Frida 提供了一个符合 MCP 标准的服务器,使 AI 系统能够通过 Frida 的动态检测功能与移动和桌面应用程序进行交互。它使用官方的MCP Python SDK来实现与 AI 应用程序的无缝集成。

演示

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

特征

  • 使用官方 MCP Python SDK 构建
  • 通过 MCP 公开的综合 Frida 工具:
    • 进程管理(列出、附加、生成、恢复、终止)
    • 设备管理(USB、远程设备)
    • 具有实时执行功能的交互式 JavaScript REPL
    • 带有进度跟踪的脚本注入
    • 过程和设备监控
  • 向模型提供 Frida 数据的资源
  • 引导 Frida 分析工作流程的提示
  • 长期运行操作的进度跟踪
  • 全面支持所有 MCP 传输方法

安装

先决条件

  • Python 3.8 或更高版本
  • pip 包管理器
  • Frida 16.0.0 或更高版本

快速安装

pip install frida-mcp

开发安装

# 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 桌面集成

要将 Frida MCP 与 Claude Desktop 一起使用,您需要更新 Claude 配置文件:

  1. 找到您的 Claude Desktop 配置文件:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  2. 将以下内容添加到您的配置文件中:
{ "mcpServers": { "frida": { "command": "frida-mcp" } } }

用法

安装完成后,您可以直接从 Claude Desktop 使用 Frida MCP。该服务器提供以下功能:

流程管理

  • 列出所有正在运行的进程
  • 附加到特定进程
  • 产生新进程
  • 恢复暂停的进程
  • 终止进程

设备管理

  • 列出所有连接的设备(USB、远程)
  • 获取设备信息
  • 连接到特定设备

交互式 JavaScript REPL

  • 创建具有流程的交互式会话
  • 实时执行 JavaScript 代码
  • 监视进程状态和内存
  • 钩子函数和拦截调用
  • 捕获 console.log 输出
  • 优雅地处理错误和异常

脚本注入

  • 注入自定义 JavaScript 脚本
  • 跟踪注射进度
  • 处理脚本错误和异常

资源

  • 获取Frida版本信息
  • 以人类可读的格式访问进程列表
  • 以人类可读的格式访问设备列表

发展

# Clone repository git clone https://github.com/yourusername/frida-mcp.git cd frida-mcp # Install development dependencies pip install -e ".[dev]"

执照

麻省理工学院

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

符合 MCP 标准的服务器,使 AI 系统能够通过 Frida 的动态检测功能与移动和桌面应用程序交互,从而实现进程管理、设备控制、JavaScript 执行和脚本注入。

  1. 概述
    1. 演示
      1. 特征
        1. 安装
          1. 先决条件
          2. 快速安装
          3. 开发安装
        2. Claude 桌面集成
          1. 用法
            1. 流程管理
            2. 设备管理
            3. 交互式 JavaScript REPL
            4. 脚本注入
            5. 资源
          2. 发展
            1. 执照

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                An enhanced MCP server that grants AI assistants the ability to execute terminal commands on a user's system with improved security controls, designed for use in controlled environments.
                Last updated -
                Python
                MIT License
                • Apple
              • -
                security
                F
                license
                -
                quality
                An MCP server that allows AI models to execute system commands on local machines or remote hosts via SSH, supporting persistent sessions and environment variables.
                Last updated -
                10
                1
                TypeScript
              • -
                security
                A
                license
                -
                quality
                An MCP server that bridges AI agents with GUI automation capabilities, allowing them to control mouse, keyboard, windows, and take screenshots to interact with desktop applications.
                Last updated -
                Python
                MIT License
                • Apple
                • Linux
              • -
                security
                F
                license
                -
                quality
                A flexible server that enables communication between AI models and tools, supporting multiple MCP servers and compatible with Claude, MCP Dockmaster, and other MCP clients.
                Last updated -
                32
                TypeScript

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/dnakov/frida-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server