CET MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CET MCPAdd 1000 eddies to my inventory."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CET MCP — Cyberpunk 2077 AI Bridge
MCP server that connects Claude Code to Cyber Engine Tweaks (CET) in Cyberpunk 2077. Execute Lua code, query game state, manipulate TweakDB, manage inventory, and observe game events — all from your terminal while the game is running.
How it works
Claude Code → stdio/JSON-RPC → MCP Server → TCP (RedSocket) → CET Bridge Mod → Game EngineThe MCP server runs as a Claude Code subprocess. It opens a TCP server on localhost:27010. The CET Bridge Mod (Lua) connects to it via RedSocket and executes commands in the game's Lua VM. Falls back to file-based IPC automatically if RedSocket is not installed or if the TCP port is already in use (multiple sessions supported).
Pairs with WolvenKit MCP for a complete AI-assisted modding pipeline.
Related MCP server: claudecode-mcp
Requirements
Node.js >= 18
Cyberpunk 2077 with Cyber Engine Tweaks >= 1.32
RED4ext >= 1.25
RedSocket (recommended — enables TCP transport, ~1ms latency vs ~16-33ms with file IPC)
Setup
# 1. Clone and build
git clone https://github.com/y4rd13/cyber-engine-tweak-mcp.git
cd cyber-engine-tweak-mcp
npm install
npm run build
# 2. Copy CET mod to game directory
cp -r cet-mod/CETBridge "/path/to/Cyberpunk 2077/bin/x64/plugins/cyber_engine_tweaks/mods/CETBridge"
# 3. Add to Claude Code globally
claude mcp add cet-bridge -s user \
-e "CET_BRIDGE_DIR=/path/to/cyber_engine_tweaks/mods/CETBridge" \
-e "CET_TRANSPORT=tcp" \
-- node /path/to/cyber-engine-tweak-mcp/build/index.jsTools (37)
Execution
Tool | Description |
| Run Lua code in the CET console |
| Evaluate a Lua expression and return the result |
| Execute multiple Lua statements in one round-trip |
Game State
Tool | Description |
| Player level, health, street cred, position |
| In-game time, scene tier, weather, zone type |
| Add item to inventory by TweakDB ID |
| Teleport player to world coordinates |
| Change in-game time of day |
| Change weather (Sunny, Rain, Fog, Sandstorm, etc.) |
Inventory
Tool | Description |
| List player inventory with type filtering |
| Remove items from inventory |
| Show currently equipped weapons, clothing, cyberware |
Player
Tool | Description |
| Modify player stats (Health, Armor, Level, etc.) |
| Apply buffs/debuffs to the player |
| Remove status effects |
| List all active status effects on the player |
| Toggle invulnerability on/off |
| Set player level and/or street cred directly |
| Get player's current visual appearance |
| List all vehicles in the player's garage |
World
Tool | Description |
| Spawn a vehicle near the player |
| Scan for nearby NPCs, vehicles, items |
| Kill hostile (or all) NPCs in radius |
| Show in-game UI notification |
| Play a sound event in-game |
| Get info about the entity you're looking at |
Quest
Tool | Description |
| Read a quest progression flag |
| Set a quest progression flag |
TweakDB
Tool | Description |
| Read a TweakDB flat or record |
| Write a TweakDB flat value |
| Search TweakDB records by pattern |
| Introspect a game RTTI type (methods, properties) |
Observation
Tool | Description |
| Subscribe to game events via CET Observe |
| Read buffered event observations |
Dev Tools
Tool | Description |
| Check bridge connectivity and transport type |
| Read CET scripting.log |
| List installed CET mods |
Configuration
Variable | Default | Description |
| (see .mcp.json) | Path to CETBridge mod directory |
|
| Transport: |
|
| TCP server port |
Multi-Session Support
Multiple Claude Code sessions can use cet-bridge simultaneously:
First session: binds TCP port 27010 (fast, ~1ms)
Additional sessions: automatically fall back to file-based IPC (~16-33ms)
No session crashes — the fallback is seamless
Architecture
See docs/architecture.md for detailed diagrams.
Component | Language | Role |
MCP Server | TypeScript | stdio transport for Claude Code, TCP server for game bridge |
CET Bridge Mod | Lua | Runs in-game, dispatches commands to CET Lua VM |
Development
npm run build # Compile TypeScript
npm run dev # Watch mode
npm run inspect # Test with MCP InspectorAfter changing Lua files, copy them to the game directory:
cp cet-mod/CETBridge/*.lua "/path/to/cyber_engine_tweaks/mods/CETBridge/"Safety
TCP binds to
localhostonly — no network exposureAll user code runs in
pcall()— errors are caught, never crash the gameThis is a development tool — not intended for multiplayer or production use
Infinite loops in executed Lua will freeze the game (no mitigation possible without native code)
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Y4rd13/cyber-engine-tweak-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server