SevereMCP
Enables AI agents to control Severe's Luau scripting environment, allowing operations like running Luau, inspecting the game tree, reading memory, and building ESP from chat.
README
<div align="center">
<img src="assets/severemcp-header.png" width="620" alt="SevereMCP">
Drive Severe — the Roblox external — with an AI agent. Run Luau, inspect the game, read memory, build ESP, all from chat.
⭐ If this saved you time, drop a star — it genuinely helps! ⭐
</div>
What is this
SevereMCP is a Model Context Protocol server that lets an AI agent (Claude, etc.) control Severe's Luau scripting environment. Ask your agent to run Luau, walk the game tree, list players, read memory, or build ESP — and it does it live in your session, then reads the results back.
How it works
AI client ──stdio (MCP)──> server.py ──ws://127.0.0.1:8790──> bridge.lua (in Severe's Luau env)
server.py— the MCP server (stdio, for the AI client) and an embedded WebSocket server, in one process.bridge.lua— runs inside Severe and uses Severe's nativeWebsocketClientto connect out to that server, execute the commands it receives, and send JSON results back.
The split (server = WS server, bridge = WS client) is required because Severe exposes a WebsocketClient but no HTTP request function, so the bridge can't poll an HTTP server.
Setup
Default setup: Severe and the AI client on the same PC. For two machines, see Cross-machine.
1. Install Python deps
pip install -r requirements.txt
2. Register the MCP server — copy .mcp.json.example into your client's MCP config and fix the path to server.py:
{
"mcpServers": {
"severe-bridge": {
"command": "python",
"args": ["C:/path/to/SevereMCP/server.py"],
"env": { "PYTHONUNBUFFERED": "1", "SEVERE_WS_HOST": "127.0.0.1", "SEVERE_WS_PORT": "8790" }
}
}
}
Your client launches server.py automatically; it listens on ws://127.0.0.1:8790.
3. Load the bridge in Severe — run Severe, open its Script tab, paste the contents of bridge.lua, and click Execute. You should see:
[severe-bridge] starting, target ws://127.0.0.1:8790
[severe-bridge] connected to ws://127.0.0.1:8790
The bridge auto-reconnects every ~2s, so order doesn't matter.
4. Confirm — in your AI client, call severe_status → it should report "connected": true.
Tools
| Tool | What it does |
|---|---|
severe_status |
Is the bridge connected? (local; always safe to call) |
severe_execute |
Run a Luau chunk; returns captured print/warn output + return values |
severe_eval |
Evaluate a single Luau expression and return its value |
severe_inspect |
Inspect an instance by path (props + children) — DEX-style |
severe_tree |
Descendants tree under a path, limited by depth |
severe_search_instances |
Find instances by name substring and/or ClassName |
severe_list_players |
Enumerate game.Players |
severe_file_read / severe_file_write |
Read/write files under Severe's workspace |
severe_memory_read / severe_memory_write |
MEM-style typed read/write at an address or instance+offset |
severe_memory_rtti |
RTTI class name (e.g. RBX::Workspace) at an address/instance |
severe_pointer |
Best-effort instance→pointer (probes for an undocumented accessor) |
severe_docs |
Search/browse Severe's full bundled API docs (docs/severe-api-full.txt) |
Anything without a dedicated tool is reachable via severe_execute — the full Severe API (Drawing/ESP, input, add_model_data, game:HttpGet, crypt, camera, …) is documented via severe_docs.
Examples
severe_eval→1+1⇒2severe_execute→print("hi"); return game.Players.LocalPlayer.Namesevere_inspect→game.Workspacesevere_search_instances→{ "class_name": "Humanoid" }severe_memory_read→{ "path": "game.Workspace", "offset": 0, "type": "u64" }⇒ value +rttisevere_docs→{ "query": "add_model_data" }
examples/esp.lua — a full memory-read ESP + toggle GUI an agent built through the MCP, tested live on RIOTFALL: it reverse-engineers real player positions from memory (RIOTFALL hides them behind bone-driven rigs + decoy HumanoidRootParts), draws team-colored boxes + names, and wires ESP / team-check toggles into a Severe UI library. Great "what you can build" reference.
Beyond ESP & aimbot — auto-farms and automation
The real power isn't the ESP — it's that the agent can discover how a game works and write automation for it, live. ESP and aimbot are just the obvious demos; the same read → understand → act loop builds auto-farms, quest bots, collectors, and more for games it has never seen before.
How an agent builds an auto-farm through the MCP:
- Map the game —
severe_tree/severe_search_instancesto find currency values, collectibles, NPCs, spawners, quest objects, and theRemoteEvent/RemoteFunctions the game uses. - Reverse the actions —
severe_executeto read aRemoteEvent's arguments (or decompile/inspect the game's own scripts) and figure out what call collects a coin, sells loot, claims a reward, or hits a mob. - Test one action — fire the remote once and read the result (currency went up? item added?) — the agent verifies before looping.
- Loop it —
severe_executeinstalls atask.spawn/RunServiceloop that repeats the farm action, teleports between resource nodes (via memory-written CFrame or the game's own teleport remote), and reads a stat to know when to stop (inventory full, quest done). - Iterate — if the game patches or behaves oddly, the agent inspects again and adjusts — no waiting for someone to update a static script.
Because every step runs through Luau + memory access, an auto-farm can be as simple as "fire the CollectCoin remote every 0.5s" or as deep as "read the nearest ore node from memory, walk to it, mine it, sell when full." You describe the goal in chat; the agent explores the game and writes the farm — the same way it reverse-engineered RIOTFALL's positions above.
The MCP is a capability layer, not a cheat pack: it gives an AI agent Severe's full Luau + memory reach. What it builds — ESP, aimbot, auto-farm, autoquest, or plain game inspection — is up to your prompt.
Cross-machine (optional)
Running the AI client on one PC and Severe on another (same LAN):
- Start
server.pywithSEVERE_WS_HOST=0.0.0.0(bind all interfaces). - In
bridge.lua, setWS_HOSTto the server PC's LAN IP (e.g.192.168.1.50). - Open the server PC's firewall for inbound TCP
8790. - From the Severe PC, verify with
Test-NetConnection <server-ip> -Port 8790.
Severe WebsocketClient quirks (why the bridge is written the way it is)
Hard-won from live testing — don't "simplify" these away:
WebsocketClient.new(url)blocks until the server sends the first frame. The handshake completing isn't enough — soserver.pysends awelcomeframe on connect. A silent server makesnew()hang 15s → "Scheduler Exhausted".- Receive is a method, not a signal:
s:DataReceived(function(payload, isBinary) end)— nots.DataReceived:Connect(...). - The
DataReceivedcallback is a C-call boundary — you cannot yield in it.Sendand game API calls yield, so the bridge hands each message totask.spawn(...)("attempt to yield across metamethod/C-call boundary" otherwise). - Don't use
crypt.jsonin the bridge —crypt.json.decodeblocks/yields and trips the watchdog. A bundled pure-Lua JSON is used instead. - Positions come back as the native
vectortype (typeof≠"Vector3") — read.X/.Y/.Z. Playershas noGetPlayers()in this build — the bridge falls back toGetChildren()filtered toPlayer.- Long scans yield every ~2000 nodes to dodge the 15s watchdog (
YIELD_EVERY).
Configuration
Set in the MCP config env block (mirror host/port in bridge.lua if you change them):
| Var | Default | Meaning |
|---|---|---|
SEVERE_WS_HOST |
127.0.0.1 |
WebSocket bind host (0.0.0.0 for cross-machine) |
SEVERE_WS_PORT |
8790 |
WebSocket port (also edit WS_PORT in bridge.lua) |
SEVERE_WORKSPACE |
C:\v2\workspace |
Sandbox root for file tools |
SEVERE_TIMEOUT |
15 |
Per-command timeout (seconds) |
Troubleshooting
severe_status=connected: false— make surebridge.luais Executed in Severe and the host/port match on both sides.- Tool returns "bridge not connected" — re-run
bridge.lua. compile error/load error— your Luau source didn't compile; check syntax.WebsocketClientis nil — your build may name it differently; adjust theWebsocketClient.new(...)call inbridge.lua.
Files
server.py— MCP server + WebSocket server + tool definitionsbridge.lua— in-Severe Luau bridge (WS client, JSON, exec sandbox, dispatch, memory)docs/severe-api-full.txt— Severe's own API docs, bundled sosevere_docsworks offlineexamples/esp.lua— memory-read ESP + GUI demo.mcp.json.example— MCP client config template
<div align="center">
Created by robloxscripts.com & rsware.store — vibe coded with love ❤️
Want the tool this drives? Get Severe →
⭐ Star the repo if it helped! ⭐
</div>
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。