An unofficial / not affilited MCP server built on top of Wolvenkit
概览
An server that exposes WolvenKit's modding CLI (cp77tools) as an agent (Claude) can call — so you steer Cyberpunk 2077 modding from a chat window without writing code: read and edit game files, query and patch the TweakDB, create/pack/install mods, export meshes and textures, lint REDscript, diagnose a broken install, and even drive a game live. Built on the official ModelContextProtocol SDK 1.4.0 and WolvenKit 8.18.0; validated end-to-end on Windows 11 with a real Cyberpunk 2077 install. - — extract from archives, convert CR2W ↔ JSON, export meshes / textures / animations / audio. - — query tweakdb.bin, describe records, generate / validate / install .tweak (TweakXL). - — .archive mods, REDmods, REDscript, ArchiveXL items, localization. - — mod_doctor (frameworks health), lint_mod, detect_conflicts, log analysis, conflict bisection. - — a real grammar parser, line:column errors (0 false positives on 1374 real .reds).
README
以下为原文 README 节选,完整内容请查看原文。
WkMCP — an MCP server for Cyberpunk 2077 modding
An MCP (Model Context Protocol) server that exposes WolvenKit’s modding CLI
(cp77tools) as 168 tools an agent (Claude) can call — so you steer Cyberpunk
2077 modding from a chat window without writing code: read and edit game files,
query and patch the TweakDB, create/pack/install mods, export meshes and textures,
lint REDscript, diagnose a broken install, and even drive a running game live.
Status: stable v2.0.0 · Windows. Built on the official ModelContextProtocol
SDK 1.4.0 and WolvenKit 8.18.0; validated end-to-end on Windows 11 with a real
Cyberpunk 2077 install.
Highlights
- Read & write game files — extract from archives, convert CR2W ↔ JSON, export meshes / textures / animations / audio.
- TweakDB editing — query
tweakdb.bin, describe records, generate / validate / install.tweak(TweakXL). - Create, pack & install mods —
.archivemods, REDmods, REDscript, ArchiveXL items, localization. - Diagnostics —
mod_doctor(frameworks health),lint_mod,detect_conflicts, log analysis, conflict bisection. - REDscript lint — a real grammar parser, line:column errors (0 false positives on 1374 real
.reds). - Live in-game bridge — 36
live_*tools to drive a running game (Lua, state, spawn, teleport, weather, in-memory TweakDB, event observation). - Scenes — inspect, graph, validate, translate and edit
.scene(quest/dialogue) files headlessly: catch broken dialogue graphs and edit subtitles without the scene editor. - Structured JSON — every tool returns
{ ok, status, summary, produced, warnings, errors, log }, reliable for an agent to parse.
Quickstart (Windows, ~5 min)
- Prerequisites. Windows 10/11, the .NET 8 SDK (), the WolvenKit CLI (
dotnet tool install -g WolvenKit.CLI), and Cyberpunk 2077 installed (its root folder is written `` below). - Build — the daemon first (its build deploys
kraken.dllandDirectXTexNet.dll), then the server:
The server is atdotnet build src\WkDaemon dotnet build src\WkMcpsrc\WkMcp\bin\Debug\net8.0\WkMcp.dll. - Wire it to Claude Desktop — edit
%APPDATA%\Claude\claude_desktop_config.json:
Restart Claude Desktop. (Claude Code:{ "mcpServers": { "wolvenkit": { "command": "dotnet", "args": ["C:\\path\\to\\wkmcp\\src\\WkMcp\\bin\\Debug\\net8.0\\WkMcp.dll"] } } }claude mcp add wolvenkit -s user -- dotnet "C:\path\to\...\WkMcp.dll".) - Verify. Ask Claude to call
wk_status— it returns the CLI version and the cache/metrics stats, confirming the server is live. - Call a tool. Try
find_in_archiveswitharchivesFolder = \archive\pc\contentandpattern = *player*.ent. Every tool returns the same structured shape:
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"wolvenkit": {
"command": "dotnet",
"args": ["C:\\path\\to\\wkmcp\\src\\WkMcp\\bin\\Debug\\net8.0\\WkMcp.dll"]
}
}
}