SevereMCP
FreeNot checkedEnables AI agents to control Severe's Luau scripting environment, allowing operations like running Luau, inspecting the game tree, reading memory, and building
About
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

Connect Severe to any AI/LLM model of your choice. Run Luau, inspect the game, read memory, and build custom ESPs, aimbots & auto-farms — all from just prompting AI.
What is this
SevereMCP is a Model Context Protocol server that hooks Severe's Luau environment up to any AI you use — Claude, ChatGPT, Gemini, or any MCP client. Ask it to run Luau, walk the game tree, list players, read memory, or build an ESP, and it does it live in your session and 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. Add the MCP server to your AI client — pick yours below. Most use this JSON block; replace the path with your real path to server.py:
{
"mcpServers": {
"severe-bridge": {
"command": "python",
"args": ["C:/path/to/SevereMCP/server.py"],
"env": { "SEVERE_WS_HOST": "127.0.0.1", "SEVERE_WS_PORT": "8790" }
}
}
}
Claude Code (CLI)
One command — no file editing:
claude mcp add severe-bridge -e SEVERE_WS_HOST=127.0.0.1 -e SEVERE_WS_PORT=8790 -- python C:/path/to/SevereMCP/server.py
Restart Claude Code, then run claude mcp list — severe-bridge should show connected.
Claude Desktop
- Settings → Developer → Edit Config (opens
claude_desktop_config.json). - Paste the JSON block above (merge into
mcpServersif the file already has some). - Save, then fully quit and reopen Claude Desktop.
Claude — VS Code / JetBrains extension
It runs on Claude Code, so either:
- Run the Claude Code (CLI)
claude mcp addcommand above in a terminal, or - Drop a
.mcp.jsonfile (the JSON block) in your project root.
Then reload the window.
ChatGPT / OpenAI Codex CLI
Edit ~/.codex/config.toml and add (TOML, not JSON):
[mcp_servers.severe-bridge]
command = "python"
args = ["C:/path/to/SevereMCP/server.py"]
env = { SEVERE_WS_HOST = "127.0.0.1", SEVERE_WS_PORT = "8790" }
Restart Codex. (The ChatGPT app's own "connectors" only accept remote URLs — for this local server, use the Codex CLI.)
Gemini CLI
Add the JSON block to ~/.gemini/settings.json (create the file if it doesn't exist), then restart gemini. Confirm with /mcp.
Antigravity
Open the MCP settings (Settings → MCP servers → Edit config, i.e. its mcp_config.json), paste the JSON block, save, and reload.
LM Studio
Right sidebar → Program → Install → Edit mcp.json, paste the JSON block, and save. Enable the server in the chat's integrations panel.
Any other MCP-capable client works too — point it at
python C:/path/to/SevereMCP/server.pyover stdio. The server auto-starts and listens onws://127.0.0.1:8790for the bridge.
3. Load the bridge in Severe — run Severe, open its Script tab, and Execute one of:
Easy mode (recommended) — one line, always up to date:
loadstring(game:HttpGet("https://raw.githubusercontent.com/RealSlimShady2000/SevereMCP/main/bridge.lua"))()
Or paste the full contents of bridge.lua. Either way you should see:
[severe-bridge] starting (v1.3.0), candidates: 127.0.0.1
[severe-bridge] connected to ws://127.0.0.1:8790 (v1.3.0)
The bridge auto-reconnects every ~2s, so order doesn't matter. Re-Executing is safe too — a new run kills the previous one instead of stacking a second connection.
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 |
Instance→pointer (0x..) via Severe's undocumented Instance.Data address |
severe_read_chain |
Follow a pointer chain (base + offsets → type) — generalizes memory ESP reads |
severe_memory_scan |
Bounded scan for a value in a memory range (RE) |
severe_fire_remote |
Fire a RemoteEvent/RemoteFunction by path — the core of auto-farms/bots |
severe_call / severe_get / severe_set |
Call a method / read / write a property by path |
severe_input |
Synthetic keyboard/mouse input (keys, clicks, move, scroll) |
severe_game_info |
PlaceId / GameId / JobId / HWID / ping / player count / local player |
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" }
Four full demos an agent built live through the MCP — each shows a different technique:
- examples/LoneSurvival_esp.lua — the flagship: a full Player + World ESP with a two-tab SevereLib GUI (
Player ESP | World ESP). Player tab: 2D/3D box, skeleton, overlay chams, tracers, health bar, look-direction arrow, name/distance/weapon tags, and a "players behind you" list with live distances. World tab: ore, trees, plants, vehicles, loot crates (labeled by type), dropped loot, dismantlers, landmarks (lighthouse/airfield/…), and airdrop locked crates — each with its own toggle, colour picker and distance slider. All read live viawindow:getvalue, all cleanWorldToScreenPoint(no memory). - examples/RiotFall_esp.lua — a memory-read ESP + toggle GUI, tested 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 toggles into a UI library. - examples/LoneSurvival_hud.lua — a live status HUD on a DayZ-style survival game: reads Health / Hunger / Thirst / Radiation straight off character attributes (no memory) and paints bars via
DrawingImmediatein aRunService.Renderloop. - examples/LoneSurvival_resource_esp.lua — a focused loot / resource / entity ESP via
Camera:WorldToScreenPoint(the "clean" non-memory path). Documents two gotchas learned live — skip streamed-out objects (nil position = not loaded) and never call yielding APIs (e.g.send_notification) or blind-chase memory pointers inside the render loop (both froze the game's Luau scheduler during development).
All three wire toggles into the same UI library and are paste-and-run references for "what you can build."
Prompt recipes
Things you can just ask your AI (it explores the game and writes the Luau):
- "Call
severe_game_info, then build a box ESP with names for all enemies." - "Search ReplicatedStorage for remotes, find the one that collects currency, and fire it every 0.5s — stop when my cash stops going up."
- "Walk
game.Workspaceand list every model that looks like an ore/resource node with its position." - "Read my character's health from memory and auto-press the heal key when it drops below 50."
- "Reverse-engineer this game's real player positions like the RIOTFALL example and make an ESP."
- "Fire the
EquipToolremote, then auto-click every 200ms to farm." (severe_fire_remote+severe_input)
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 (desktop → laptop, optional)
Common setup: the AI client + server.py run on your desktop, and Severe runs on a second PC (a laptop) on the same LAN. The bridge dials out to the server, so the laptop just needs to know the desktop's LAN IP.
DESKTOP (server PC, e.g. 192.168.1.50) LAPTOP (Severe PC)
┌────────────────────────────────────────┐ ┌──────────────────────────────┐
│ AI client ──stdio──▶ server.py │ │ Severe.exe │
│ │ │ │ └─ bridge.lua │
│ WebSocket server ▼ │ │ │ │
│ ws://0.0.0.0:8790 ◀─────────────┼───LAN──┼── WebsocketClient (dials out)│
└────────────────────────────────────────┘ └──────────────────────────────┘
binds all interfaces, opens :8790 points at 192.168.1.50:8790 via
(firewall: allow inbound TCP 8790) _G.SEVERE_HOST (see below)
1. Desktop (server PC) — start server.py with SEVERE_WS_HOST=0.0.0.0 (bind all interfaces) and allow inbound TCP 8790 through its firewall. You don't need to hunt for its IP — call severe_status and it reports server_lan_ip plus a ready-to-paste cross_machine_hint (or use ipconfig → IPv4 Address, e.g. 192.168.1.50).
2. Laptop (Severe PC) — tell the bridge that IP. Pick whichever matches how you load it:
a) Pasting the full bridge.lua? Put this as the very first line, above everything else, then Execute:
_G.SEVERE_HOST = "192.168.1.50" -- ⬅ your desktop's LAN IP, NOT this example
--[[ ...the rest of bridge.lua unchanged... ]]
b) Using the one-line loader? Same idea, prepend the override:
_G.SEVERE_HOST = "192.168.1.50"
loadstring(game:HttpGet("https://raw.githubusercontent.com/RealSlimShady2000/SevereMCP/main/bridge.lua"))()
c) Set it once, then forget it — write the host file a single time and afterwards just paste/load the bridge with no prefix:
writefile("severe_host.txt", "192.168.1.50") -- saved to C:\v2\workspace
You only need to do this once. On its first successful connect the bridge auto-saves the working host to
severe_host.txt, so every later plain paste (no_G.SEVERE_HOSTline) reconnects to the same PC on its own.
3. Verify from the laptop: Test-NetConnection 192.168.1.50 -Port 8790 → TcpTestSucceeded : True. On Execute you should see:
[severe-bridge] starting (v1.3.0), candidates: 192.168.1.50, 127.0.0.1
[severe-bridge] connected to ws://192.168.1.50:8790 (v1.3.0)
Host resolution order:
_G.SEVERE_HOST→severe_host.txt→severe_hosts.txt(optional multi-host list) →127.0.0.1. The bridge tries each in turn and connects to the first that answers.SEVERE_PORT/SEVERE_TOKENwork the same way (globals orsevere_port.txt/severe_token.txt). If you setSEVERE_TOKEN, it must match the server'sSEVERE_TOKENenv var.
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 |
Default per-command timeout (severe_execute can override per call) |
SEVERE_UNSAFE |
(off) | Set to 1 for the legacy "allow all writes, no checks" mode. Off by default — the smart policy (below) already permits safe writes |
SEVERE_READONLY |
(off) | Set to 1 to refuse every write (memory_write, set) |
SEVERE_TOKEN |
(off) | Shared secret; if set, the bridge's WS_TOKEN must match (LAN safety) |
SEVERE_MAX_OUTPUT |
60000 |
Max chars returned to the AI (truncates huge results) |
Write policy (smart by default). Writes are tiered instead of a blunt on/off switch:
- Property writes (
severe_set) are allowed — low risk. - Memory writes (
severe_memory_write) are allowed to an instancepath+offset, or to a raw address the session has already read/resolved this session (viamemory_read/pointer/read_chain/memory_scan) — a blind write to a never-seen address is refused, since that's what crashes the game. Values are also range-checked against the declared type. - Set
SEVERE_UNSAFE=1to bypass validation entirely (legacy), orSEVERE_READONLY=1to block all writes.severe_statusreports the activewrite_policy.
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/LoneSurvival_esp.lua— full Player + World ESP, two-tab GUI (flagship demo)examples/LoneSurvival_hud.lua— attribute-driven survival HUD demoexamples/LoneSurvival_resource_esp.lua— clean WorldToScreenPoint loot/resource ESP demoexamples/RiotFall_esp.lua— memory-read ESP + GUI demo.mcp.json.example— MCP client config template
Created by robloxscripts.com & rsware.store — vibe coded with love ❤️
Want the tool this drives? Get Severe →
⭐ Star the repo if it helped! ⭐
Installing SevereMCP
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/RealSlimShady2000/SevereMCPFAQ
Is SevereMCP MCP free?
Yes, SevereMCP MCP is free — one-click install via Unyly at no cost.
Does SevereMCP need an API key?
No, SevereMCP runs without API keys or environment variables.
Is SevereMCP hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install SevereMCP in Claude Desktop, Claude Code or Cursor?
Open SevereMCP on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Gmail
Read, send and search emails from Claude
by GoogleSlack
Send, search and summarize Slack messages
by SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Compare SevereMCP with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All communication MCPs
