Skip to main content
Glama

⚡ Roblox Dex MCP Server (rbxmcp)

一个全面的 Model Context Protocol (MCP) 服务器,为你的 MCP 客户端(Claude Desktop、Cursor、Antigravity 等)带来 Dark Dex Explorer & Properties、Dex Console、Script Decompiler、3D Spatial Inspector、Remotes 和 Executor Environment Tools 的全部功能。


🚀 快速开始

1. 启动 MCP 服务器

python3 /root/rbxmcp/start.py

(或使用 python3 /root/rbxmcp/start.py --bridge-only 运行独立 Web 仪表盘)

2. 连接你的 Roblox 游戏

在你的 Roblox 执行器(Synapse、Wave、Delta、Solara、Krnl、Fluxus、Arceus X、Codex、Studio 等)中执行这一行代码:

loadstring(game:HttpGet("http://127.0.0.1:8765/client.lua"))()

Related MCP server: dex-mcp

🛠️ 完整的 40 个 MCP 工具参考

💻 1. 控制台、日志与性能

  • dex_get_console_logs:获取 Roblox 客户端控制台日志(LogService:GetLogHistory()),支持类型过滤(all、Output、Info、Warning、Error)和关键字搜索。

  • dex_clear_console_logs:清除控制台历史日志缓冲区。

  • dex_get_performance_stats:按类别(Physics、Textures、Meshes、Gui、Sounds、Instances、LuaHeap、Scripts)细分内存占用,并显示 FPS、Ping 和网络吞吐量。

🌳 2. 资源管理器与层级导航

  • dex_get_hierarchy:树状视图资源管理器,支持可配置深度、最大子项数量和类名过滤(Dark Dex Explorer)。

  • dex_find_parts:按名称模式(glob/模糊)和类名搜索实例。

  • dex_get_part_location:精确的 3D 包围盒、Position、Orientation、CFrame、Size、Mass、AssemblyLinearVelocity 和碰撞标志。

  • dex_get_instance_path:查找任意命名实例的完整层级路径字符串。

  • dex_clone_instance:深度克隆任意 Instance 并重新设置其父级。

  • dex_rename_instance:动态重命名实例。

  • dex_reparent_instance:在层级结构中移动实例。

  • dex_clear_children:删除实例的子项,并可选择按类过滤。

  • dex_get_nil_instances:扫描并返回父级为 nil 的实例(getnilinstances())。

⚙️ 3. 属性、Attributes 与标签

  • dex_get_properties:完整的属性反射,与 Dex Properties Window 一致,支持类型序列化(Vector3、CFrame、Color3、BrickColor、Enum、UDim2 等)。

  • dex_set_properties:通过自动类型转换修改实例上的多个属性。

  • dex_get_attributes:读取实例上的所有用户自定义属性。

  • dex_set_attribute:创建或更新属性。

  • dex_add_tag / dex_remove_tag:添加或移除 CollectionService 标签。

  • dex_get_tagged_instances:获取带有特定标签的所有实例。

📜 4. 脚本查看器、反编译器与字节码

  • dex_list_scripts:列出所有 LocalScript 和 ModuleScript 实例及其父级容器和启用状态。

  • dex_decompile_script:反编译并查看任何脚本或模块的 Luau 源代码。

  • dex_require_module:在运行时 Require 一个 ModuleScript,并检查返回的表和函数。

  • dex_get_running_scripts:通过 getrunningscripts() 查询 Lua VM 中的活动线程。

  • dex_get_loaded_modules:使用 getloadedmodules() 列出所有已缓存的模块。

🌐 5. Remotes 与网络通信

  • dex_list_remotes:发现 ReplicatedStorage 和 Workspace 中的所有 RemoteEvent 和 RemoteFunction 对象。

  • dex_fire_remote:使用自定义参数触发或调用远程事件/函数。

🎯 6. 世界交互、传送与视觉效果

  • dex_fire_click_detector:在任意距离触发 ClickDetector 点击。

  • dex_fire_proximity_prompt:无需长按即可立即触发 ProximityPrompt。

  • dex_fire_touch_interest:模拟两个部件之间的物理接触。

  • dex_teleport_player:安全地将本地玩家传送到任意 Part、Model、Player 或坐标。

  • dex_get_players:列出玩家及其生命值、团队、位置和背包数据。

  • dex_highlight_instance:在实例周围绘制 3D 高亮边界框。

  • dex_get_game_info:获取 Place ID、Job ID、Universe ID、游戏名称和创建者信息。

  • dex_save_instance:使用 saveinstance() 将游戏/模型层级保存为 .rbxl / .rbxm 文件。


📄 许可证

MIT 许可证。灵感来自 Moon & Dex Developers 开发的 Dark Dex V3 / Dex++。

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Debug and inspection tooling for Roblox projects, exposed as an MCP server so an AI agent can explore the instance tree, read/write properties, call remotes, and run Luau in a Roblox client driven by an executor.
    14
    9 npm
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Debug and inspection tooling for Roblox projects, exposed as an MCP server so an AI agent can explore the instance tree, read/write properties, call remotes, and run Luau in a Roblox client driven by an executor.
    14
    9 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    MCP server for controlling and reverse engineering Roblox games, providing 132 tools across 8 categories for instance exploration, property inspection, input simulation, and more.
    295 npm
    12
    MIT