MCP Sploit logo

MCP Sploit

Community
Claude-Reverser

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

PublisherClaude-Reverser
RepositoryMCP-Sploit
LanguageLuau
Forks
15
Stars
238
Available tools
0
Transport typestdio
LicenseMIT
Links
  • Connect tools to AI workflows

    MCP Sploit exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    238 stars and 15 forks from the linked 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.

Use MCP Sploit MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once MCP Sploit is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add MCP Sploit as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the MCP Sploit MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "mcp-sploit": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the MCP Sploit MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the MCP Sploit MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use MCP Sploit to help me with this task?
MCP Sploit
Sure. I read it.
Here is what I found using MCP Sploit.

Frequently asked questions

What is the MCP Sploit MCP server used for?

MCP Sploit is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use MCP Sploit MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use MCP Sploit with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use MCP Sploit MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With MCP Sploit connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect MCP Sploit MCP to TypingMind?

MCP Sploit runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does MCP Sploit MCP provide in TypingMind?

MCP Sploit exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use MCP Sploit MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If MCP Sploit requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇