MCP Sploitのロゴ

MCP Sploit

コミュニティ
Claude-Reverser

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

公開者Claude-Reverser
リポジトリMCP-Sploit
言語Luau
フォーク
15
スター
238
利用可能なツール
0
通信方式stdio
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    MCP Sploitは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには238件のスターと15件のフォークがあります。


       ┌──────── 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を複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度MCP Sploitに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

MCP Sploitをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. MCP SploitのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "mcp-sploit": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてMCP SploitのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. MCP SploitのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
MCP Sploitを使ってこのタスクを手伝ってもらえますか?
MCP Sploit
はい、読みました。
MCP Sploitで調べた結果をお伝えします。

よくある質問

MCP Sploit MCPサーバーは何に使いますか?

MCP Sploitは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでMCP Sploit MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでMCP Sploitを利用できます。

TypingMindでMCP Sploit MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。MCP Sploitを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

MCP Sploit MCPをTypingMindに接続するにはどうすればよいですか?

MCP SploitはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでMCP Sploit MCPのどのようなツールを利用できますか?

MCP SploitはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

MCP Sploit MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。MCP Sploitで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇