FC

franklinatongo-code/kali-mcp

浏览器自动化

本页由 AI 翻译,技术细节请以原文为准。 查看原文

0 stars 0 forks 质量 74 趋势 14MIT

将 Kali Linux 主机变成 MCP 服务器:系统信息、局域网侦测、远程控制以及 Claude 的持久化 Playwright Firefox 自动化,开放代码及任何支持 MCP 的 AI

概览

——向任何支持MCP的AI(开放代码、Claude Desktop、Claude Mobile、通过HTTP隧道)、Cline等,公开系统信息、网络侦察、远程控制和持久的Playwright Firefox浏览器自动化。 没有Docker,没有容器,也没有云端账户需要设置——只有一个Python虚拟环境和几个原生包。克隆它,运行一个脚本,你的机器几分钟内就能和Claude通信了。 终端、open_app、截图、通知、剪贴板、媒体和lock_screen工具均已开放——任何拥有服务器网址的人都可以完全控制这台机器。在公开发布此信息之前,请查看安全状态。 - 没有 Docker,没有虚拟机,没有重型运行时——一个 Python venv 和一些你在 Linux 桌面上已有的 CLI 工具。- 一个脚本(start-https.sh)启动服务器和公共隧道,并打印所有需要粘贴到 Claude 中的内容。- 运行后,Claude 移动端可以通过普通聊天读取你的系统状态、扫描局域网、启动应用、截图等功能。

概述(AI 翻译)

将Kali Linux主机变成MCP服务器——向任何支持MCP的AI(Opencode、Claude Desktop、Claude Mobile(通过HTTP隧道)、Cline等,暴露系统信息、网络侦察、远程控制和持久Playwright Firefox浏览器自动化。

没有Docker,没有容器,也没有云端账户需要设置——只有一个Python虚拟环境和几个原生包。克隆它,运行一个脚本,你的机器几分钟内就能和Claude通信了。

安全状态:PIN 门当前禁用。 terminal、open_app、screenshot、notify、clipboard、media和[lock_screen工具均已开放——任何拥有服务器网址的人均可完全控制该机器。公开发布前请查看安全状态。


为什么是卡利-MCP

  • 轻量级。 没有 Docker,没有虚拟机,没有重型运行时——一个 Python venv 和一些你在 Linux 桌面上已有的 CLI 工具。
  • 站起来很快。 一个脚本(start-https.sh)启动服务器和公共隧道,并打印所有粘贴到Claude中所需的内容。
  • 在你的手机上运行。 一旦运行,Claude Mobile 可以通过普通聊天读取你的系统状态、扫描局域网、启动应用、截图等功能。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

kali-mcp — Kali Linux as an MCP server (Playwright Firefox automation)

Turn a Kali Linux box into an MCP server — expose system info, network recon, remote control, and persistent Playwright Firefox browser automation to any MCP-capable AI: opencode, Claude Desktop, Claude mobile (via HTTP tunnel), Cline, and others.

No Docker, no containers, no cloud account to set up — just a Python virtualenv and a handful of native packages. Clone it, run one script, and your machine is talking to Claude in minutes.

Security status: PIN gate currently DISABLED. The terminal, open_app, screenshot, notify, clipboard, media, and lock_screen tools are open — anyone with the server URL has full control of this machine. See Security status before exposing this publicly.


Why kali-mcp

  • Lightweight. No Docker, no VM, no heavyweight runtime — a Python venv and a few CLI tools you already have on a Linux desktop.
  • Fast to stand up. One script (start-https.sh) starts the server and the public tunnel, and prints everything you need to paste into Claude.
  • Works from your phone. Once it’s running, Claude mobile can read your system state, scan your LAN, launch apps, take screenshots, and more — all through a normal chat.
  • Built for Kali. Ships with the recon and forensics tooling already on the box in mind — nmap_quick, net_status, wifi_scan — not a generic shell wrapper.

Tools

Tool What it does Access
sysinfo OS / kernel / CPU / memory / disk / uptime Read-only
wifi_scan Nearby Wi-Fi networks via nmcli Read-only
net_status IPs, routes, DNS, listening ports Read-only
nmap_quick Fast nmap scan — LAN-only, public IPs refused Read-only
list_desktop_projects Lists ~/Desktop AI projects Read-only
list_apps Installed GUI apps Read-only
terminal Run any shell command as the desktop user Open (PIN disabled)
open_app Launch any GUI app by fuzzy name Open (PIN disabled)
screenshot Capture the screen as an image Open
notify Desktop notification Open
clipboard Read / write the clipboard Open
media Play-pause / next / previous / volume Open
lock_screen Lock the PC Open
browser_open Go to a URL (starts persistent Firefox session if needed, visible by default) Open
browser_click Click element by CSS/XPath selector or visible text Open
browser_type Type into a field, optional Enter to submit Open
browser_read Visible page/element text (prefer this over screenshots) Open
browser_screenshot Current page as PNG (only when asked) Open
browser_eval Run JavaScript on the page, return result Open
browser_tabs List / switch / close / open tabs Open
browser_close Shut the browser session down Open

Security status

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →