Logo vun MCP Sploit

MCP Sploit

Communautéit
Claude-Reverser

Drive Roblox's Luau VM from Python or MCP via the macsploit dylib

EditeurClaude-Reverser
RepositoryMCP-Sploit
SproochLuau
Forks
15
Stären
238
Disponibel Tools
0
Transporttypstdio
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    MCP Sploit stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    238 Stären an 15 Forks aus dem verlinkte Repository.


       ┌──────── MacSploit.app  (the official GUI)
       │
   ◄───┼──────── MCP-Sploit     (this project)
       │
       └──────── anything else that speaks the protocol
                         │
                         ▼
                   ┌───────────┐
                   │  Roblox   │
                   │ macsploit │ ◄─── injected dylib, owns the Lua state
                   │   dylib   │
                   └───────────┘

the idea

macsploit is a dylib that gets injected into Roblox. once it's in, it owns the lua state — it can compile and run any luau as if the game itself wrote it. the dylib also opens two local sockets:

tcp   127.0.0.1:5553-5563   single-client script-in
ws    127.0.0.1:8765        alternate channel

the MacSploit.app GUI you normally use is just a client of those sockets. nothing magical. so we cut the GUI out of the loop and connect to the dylib directly. from the dylib's perspective, MCP-Sploit and the official app are indistinguishable.

how the protocol got reversed

no fancy tools. one terminal:

sh
$ sudo tcpdump -i lo0 -A 'tcp port 5553'

then click Execute in the official app. the wire format falls out:

offset  bytes                            meaning
 0      00 00 00 00 00 00 00 00          (zero / unused)
 8      LL LL LL LL                      body length, little-endian u32
12      00 00 00 00                      (zero / padding)
16      <body bytes>                     luau source, utf-8
N-2     0a 00                            "\n\0" terminator

→ mcp_sploit/protocols/tcp.py

the websocket on :8765 is even less exotic — a normal ws frame with {"op":"load","string":"<luau>"} inside. for the dylib internals i poked at the binary in IDA, but tcpdump did 95% of the work.

why you have to close MacSploit.app

the dylib's tcp listener is single-client. when MacSploit.app is open it's holding the slot — every connect() after that gets refused. quit the app and the slot is yours. roblox itself can keep running; the dylib stays injected the whole time.

(the websocket on :8765 doesn't have this restriction, so MCP-Sploit can fall back to it.)

getting output back

both channels are fire-and-forget — the dylib doesn't echo print over either socket. but it doesn't have to. roblox itself logs every print / warn / error to:

~/Library/Logs/Roblox/*Player*.log

…under the [FLog::Output] tag. so execute_and_capture is just:

1. wrap the script with begin/end marker prints
2. note current log size
3. send the script
4. tail the log until the end marker shows up

cleaner than sniffing the ws.


install

sh
git clone https://github.com/Claude-Reverser/MCP-Sploit
cd MCP-Sploit
pip install -e .

requires macOS · python ≥ 3.10 · a working macsploit install.

use it

cli

sh
mcp-sploit discover
mcp-sploit exec 'print("hi")'
mcp-sploit exec luau/demos/player_v2.luau
mcp-sploit exec-all luau/demos/esp.luau

python

python
from mcp_sploit import discover, execute, execute_all
from mcp_sploit.bundle import with_ui

discover()                  # [Instance(port=5553, protocol='tcp'), ...]
execute('print("hi")')
execute_all('print("hi")')  # → {5553: True, 5554: True}

# bundle the in-game ui lib so _G.mcpsploit_ui is available
execute(with_ui([[
    local ui  = _G.mcpsploit_ui
    local win = ui.window("demo")
    win:section("hi"):button("click", function() print("clicked") end)
]]))

mcp (claude code)

sh
claude mcp add mcp-sploit --scope user -- mcp-sploit-mcp

then ask claude:

"discover any running roblox instances, then notify me with 'hello' and tail the last 20 lines of script output"

toolwhat it does
discoverlist active macsploit instances
executerun a luau script (fire-and-forget)
execute_on_allbroadcast a script to every instance
notifytop-right in-game notification
execute_and_capturerun a script and tail its print/warn/error
tail_logsrecent script output from the roblox client log

demos

luau/demos/
├── player_v2.luau   walkspeed · jump · gravity · fly · noclip
├── esp.luau         box / name / health / distance esp with a slider gui
├── aimbot.luau      camera lock with fov circle, smoothing, team check
├── combat.luau      esp + aimbot in one window (silent-aim hook included)
└── auto_roll.luau   toy auto-roller for a ugc roll game

each demo expects _G.mcpsploit_ui to be loaded — pass it through with_ui() from python or paste the lib first if you're running by hand.

layout

mcp_sploit/                 python
├── discovery.py              port scanner + Instance dataclass
├── executor.py               protocol dispatch
├── bundle.py                 prepend mcpsploit_ui to a script
├── logs.py                   roblox log tail / parse
├── mcp_server.py             fastmcp server
└── protocols/
    ├── tcp.py                wire format above
    └── websocket.py          rfc6455 by hand, no extra deps

luau/
├── lib/mcpsploit_ui.luau     in-game ui library
└── demos/                    examples (see above)

cli.py                        mcp-sploit {discover,exec,exec-all}

license / disclaimer

MIT.

for your own roblox sessions, private servers, and study. running an executor in public games is against roblox's tos — that's on you.

built by reading tcpdump -A output until the format clicked.

MCP Sploit MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal MCP Sploit verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

MCP Sploit als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu MCP Sploit an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "mcp-sploit": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu MCP Sploit. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu MCP Sploit.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat MCP Sploit?
MCP Sploit
Jo. Ech hunn et gelies.
Dat hunn ech mat MCP Sploit fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server MCP Sploit benotzt?

MCP Sploit ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech MCP Sploit MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir MCP Sploit mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat MCP Sploit MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann MCP Sploit verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech MCP Sploit MCP mat TypingMind?

MCP Sploit leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt MCP Sploit MCP an TypingMind zur Verfügung?

MCP Sploit stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir MCP Sploit MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann MCP Sploit eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇