{"report":{"v":1,"package":"@edgemodders/redcode-mcp","version":"0.5.1","ranAt":"2026-11-16T11:49:27.659Z","install":{"ok":true,"integrity":"sha512-uMtEiuXloqWhPv6dVExgFjgToS3OIKbMcQDsHt13kDBe1K75LzVKlpUFUa9Kqa3LOX8+aFwUIAfHE+1BBzB/VA==","deps":0,"scripts":[],"bins":["redcode-mcp"],"license":"MIT","engines":"node >=20","repository":"git+https://github.com/Edgemodders/REDcode.git","bin":"redcode-mcp"},"start":{"ok":true,"ms":84,"serverName":"redcode","serverVersion":"0.5.1","protocol":"2025-06-18","stderr":"[redcode-mcp] redcode-mcp 0.5.1 ready (bridge REDbridge.exe)\n[redcode-mcp] starting REDbridge.exe\n[redcode-mcp] bridge error: spawn REDbridge.exe ENOENT\n[redcode-mcp] bridge_info: Pending response rejected since connection got disposed\n[redcode-mcp] starting REDbridge.exe\n[redcode-mcp] bridge error: spawn REDbridge.exe ENOENT\n[redcode-mcp] archive_list: Pending response rejected since connection got disposed\n"},"tools":[{"name":"bridge_info","description":"Bridge and game status: versions, game folder, archive and file counts.","params":[]},{"name":"archive_search","description":"Search the game archives by file name or path substring. Returns matching game paths with sizes and the archive they live in.","params":["query","limit"]},{"name":"archive_list","description":"List game files, optionally under a path prefix or inside one archive, with paging.","params":["archive","prefix","offset","limit"]},{"name":"archive_tree","description":"One level of the archive folder tree: the folders and files directly under a game path. Empty path is the root (base, dlc, engine, ep1).","params":["path"]},{"name":"archive_extract","description":"Extract one game file to disk as-is (the raw CR2W or other format).","params":["path","outFile"]},{"name":"archive_extract_many","description":"Extract many game files to disk in one call.","params":["items"]},{"name":"cr2w_to_json","description":"Convert a game file (by game path) to WolvenKit JSON. Large files (a localization file is 21 MB) should go to outFile; without outFile the JSON comes back inline, cut at maxChars.","params":["path","outFile","maxChars"]},{"name":"cr2w_file_to_json","description":"Convert a CR2W file on disk (for example one in a mod project) to WolvenKit JSON.","params":["file","outFile","maxChars"]},{"name":"cr2w_from_json","description":"Write a CR2W file from WolvenKit JSON, given inline or as a file. Three rules of the file format: numbers are 32-bit floats (0.22 is stored as 0.219999999); in .ent and .app files compiledData is rebuilt from components when the file is saved, so edit components, never compiledData; properties at their default value are not stored. Values are in WolvenKit JSON form, the same as cr2w_to_json shows; a CName may be given as a plain string.","params":["outFile","json","jsonFile"]},{"name":"texture_to_png","description":"Decode a texture (.xbm) from the archives to a PNG on disk.","params":["path","outFile"]},{"name":"texture_file_to_png","description":"Decode a texture file on disk to a PNG.","params":["file","outFile"]},{"name":"project_export","description":"Export a game file under a project's source/archive to the same relative path under source/raw through WolvenKit's exporter: glTF for meshes (with material textures), an image for textures, WAV for sounds, and so on. Returns ok and the files written, relative to rawDir. Types WolvenKit cannot export are refused; use cr2w_to_json for those. Bridge 0.7.0.","params":["file","archiveDir","rawDir","textureFormat","meshBinary","meshMaterials","meshLods"]},{"name":"project_import","description":"Import a raw file under a project's source/raw back into source/archive through WolvenKit's importer (images to .xbm, glTF or GLB to .mesh, CSV and so on; sound effects go through sound_import). With keep (default), the file it replaces keeps its settings: a texture its group, format, compression and flags. A GLB imports only over an existing .mesh at the same path: for a new asset, pass template (a game path or .mesh to start from, bridge 0.9.0). A mesh import also returns mesh: submesh count, the GLB's material names per submesh, the mesh's material entries, appearances, and how appearances were sized to the new submeshes. Returns ok and the files written, relative to archiveDir. Bridge 0.7.0.","params":["file","rawDir","archiveDir","keep","template","texture"]},{"name":"library_add","description":"Add a game file or a project's file to the EDGE Library, the modder's store shared by every EDGE tool, as one asset item: <name>.<kind>.asset with asset.json and source/archive holding the file and the files it needs (a mesh's materials and textures; an entity's appearances and meshes), at their game paths. Game-wide files (base materials, templates, surfaces, effects, rigs) stay in the game and are referred to. Returns the item's folder, id, version, the files copied, those that stay, and those it names that are not in the game (the game's own files name some such). Writes outside the game, in the modder's Library only. With no Library yet, it answers where one would go: ask the modder, then call again with root. With no folder, it answers the modder's folders: ask which, or pass the folder, since the folders are theirs and tools never pick one on their own.","params":["path","folder","gamePathFolders","root","ifExists","allowLarge"]},{"name":"project_pack","description":"Pack a folder (a project's source/archive) into <modName>.archive in outDir through WolvenKit's packer. Returns the archive path, size, file count and warnings for paths with capital letters or spaces. Bridge 0.6.1.","params":["dir","outDir","modName"]},{"name":"archive_open_mod","description":"List the resources inside a mod .archive on disk. No game needed.","params":["path"]},{"name":"archive_extract_from_mod","description":"Extract resources from a mod .archive on disk, by game path or hash, to files of your choosing; for a project, outFile is source/archive/<game path>. Missing or failing resources are listed, the rest are written. No game needed. Bridge 0.7.1.","params":["archivePath","items"]},{"name":"hash_fnv1a64","description":"The FNV1a64 hash of a string, as the game uses for paths and names.","params":["value"]},{"name":"hash_resolve","description":"The game path for a known hash, if the hash list knows it.","params":["hash"]},{"name":"tweakdb_types","description":"The TweakDB record types with their record counts, most first. TweakDB as the game ships it, read offline from r6/cache/tweakdb_ep1.bin (no mods; REDnode reads the live one). The first TweakDB call loads it, about 12 s; later calls take milliseconds. Paths look like Items.money; ids are 0x hex hashes (path null when WolvenKit's names list does not know one). Flat values are plain JSON: record links as paths (0x id when unknown), LocKeys as { key, text } (text with resolveLocKeys), resource references as paths. Bridge 0.8.0.","params":[]},{"name":"tweakdb_records","description":"TweakDB records by type (gamedataClothing_Record or the short form Clothing; subtypes included, so Item covers clothing and weapons) and/or path prefix, paged, each with only the flats asked for. TweakDB as the game ships it, read offline from r6/cache/tweakdb_ep1.bin (no mods; REDnode reads the live one). The first TweakDB call loads it, about 12 s; later calls take milliseconds. Paths look like Items.money; ids are 0x hex hashes (path null when WolvenKit's names list does not know one). Flat values are plain JSON: record links as paths (0x id when unknown), LocKeys as { key, text } (text with resolveLocKeys), resource references as paths. Bridge 0.8.0.","params":["type","prefix","flats","offset","limit","resolveLocKeys","language"]},{"name":"tweakdb_record","description":"One TweakDB record, by path or id, with every flat: name, RED type and value. TweakDB as the game ships it, read offline from r6/cache/tweakdb_ep1.bin (no mods; REDnode reads the live one). The first TweakDB call loads it, about 12 s; later calls take milliseconds. Paths look like Items.money; ids are 0x hex hashes (path null when WolvenKit's names list does not know one). Flat values are plain JSON: record links as paths (0x id when unknown), LocKeys as { key, text } (text with resolveLocKeys), resource references as paths. Bridge 0.8.0.","params":["path","resolveLocKeys","language"]},{"name":"tweakdb_flat","description":"One TweakDB flat by its full path (Record.flat, such as Items.money.quality) or id. TweakDB as the game ships it, read offline from r6/cache/tweakdb_ep1.bin (no mods; REDnode reads the live one). The first TweakDB call loads it, about 12 s; later calls take milliseconds. Paths look like Items.money; ids are 0x hex hashes (path null when WolvenKit's names list does not know one). Flat values are plain JSON: record links as paths (0x id when unknown), LocKeys as { key, text } (text with resolveLocKeys), resource references as paths. Bridge 0.8.0.","params":["path","resolveLocKeys"]},{"name":"tweakdb_search","description":"TweakDB records whose path contains every word, any case, optionally of one type. TweakDB as the game ships it, read offline from r6/cache/tweakdb_ep1.bin (no mods; REDnode reads the live one). The first TweakDB call loads it, about 12 s; later calls take milliseconds. Paths look like Items.money; ids are 0x hex hashes (path null when WolvenKit's names list does not know one). Flat values are plain JSON: record links as paths (0x id when unknown), LocKeys as { key, text } (text with resolveLocKeys), resource references as paths. Bridge 0.8.0.","params":["text","type","limit"]},{"name":"tweakdb_names","description":"Paths for TweakDB ids (0x hex or decimal) from WolvenKit's names list, null when unknown. Only the low 40 bits count, so ids with a flat-buffer offset match. Needs no TweakDB load. Bridge 0.8.0.","params":["ids"]},{"name":"mesh_items","description":"The TweakDB item records whose look shows a mesh: the reverse of record > factory .csv > root .ent > .app look > mesh. Each item has record, type, displayName ({ key, text }), appearanceName, meshAppearance (the mesh appearance its look shows), app and look, and entity with entityAppearances (one per body and camera, such as s1_casual_01_basic_01_&Male). looks lists every .app look that shows the mesh, also those no item reaches (NPC appearances). Covers items that pick their look by appearanceName, such as clothing; not weapons, nor a mesh only a part entity holds. Loads TweakDB on the first call (about 10 s); the index after it takes under a second. Bridge 0.11.0.","params":["path","appearance","language"]},{"name":"loc_languages","description":"The languages the game has on-screen texts for, and whether Phantom Liberty has them too. Bridge 0.10.0.","params":[]},{"name":"loc_search","description":"Find on-screen texts: 'LocKey#123' or a number finds that LocKey, otherwise every word must appear, any case, in the secondary key or the female or male text. Each result has key (the LocKey number as text), secondaryKey, female, male, source (base, ep1 or project), and file and index: its onscreens file (a game path, or relative to projectDir for a project entry) and its row there, for cr2w_open and cr2w_get_node. Languages are folder names such as en-us or de-de (default en-us). With projectDir, the project's onscreens entries replace the game's ones with the same key. The first call per language loads it, about 1 s. Bridge 0.10.0.","params":["query","language","limit","projectDir"]},{"name":"loc_get","description":"The texts for LocKeys, by number or secondary key, with or without 'LocKey#'; null where there is none. Languages are folder names such as en-us or de-de (default en-us). With projectDir, the project's onscreens entries replace the game's ones with the same key. The first call per language loads it, about 1 s. Bridge 0.10.0.","params":["keys","language","projectDir"]},{"name":"sound_events","description":"Find the game's sound effect events by name or tag (words must all match), with the hashes of each event's sounds (its variations). Names come from WolvenKit's event list (game 1.6), so a newer event may be missing. Bridge 0.7.2.","params":["query","limit"]},{"name":"sound_import","description":"Override game sound effects in a WolvenKit project from WAV files, each named after the sound's hash (832549876.wav; sound_events gives the hashes). Writes the changed .opuspak files and a new sfx_container.opusinfo under the project's source/archive; earlier overrides there stay. Any rate and 16-bit, 24-bit or float WAV; encoded at 48 kHz Opus. Bridge 0.9.0.","params":["wavFiles","archiveDir"]},{"name":"sound_extract","description":"Write game sound effects as .opus files (Ogg Opus, 48 kHz) named by sound hash: every variation of an event, by name or hash, or single sounds by hash. Voice lines are .wem files instead: use project_export.","params":["event","sounds","outDir"]},{"name":"cr2w_open","description":"Open a CR2W file as a document session for node-by-node reading and patching. A file on disk is editable; a game path opens read-only (save it with cr2w_save and outFile to get an editable copy). Returns the session id to pass to the other cr2w_* tools. Paths are dotted from the root chunk and match WolvenKit's JSON: property names, array indices, \"Data\" under a handle or a buffer, \"Chunks\" under a package (for example components.3.name, compiledData.Data.Chunks.1.radius, root.Data.entries.41023.femaleVariant).","params":["file","path"]},{"name":"cr2w_get_node","description":"Read one node of an open document: its kind (class, array, handle, buffer, package, value), type, value for leaves and small structs, and one line per child. Arrays page from offset, limit items at a time. Paths are dotted from the root chunk and match WolvenKit's JSON: property names, array indices, \"Data\" under a handle or a buffer, \"Chunks\" under a package (for example components.3.name, compiledData.Data.Chunks.1.radius, root.Data.entries.41023.femaleVariant).","params":["doc","path","offset","limit"]},{"name":"cr2w_patch","description":"Apply JSON Patch operations (replace, add, remove, move) to an open document, all or none. Returns the inverse operations for undo. Nothing is written until cr2w_save. Paths are dotted from the root chunk and match WolvenKit's JSON: property names, array indices, \"Data\" under a handle or a buffer, \"Chunks\" under a package (for example components.3.name, compiledData.Data.Chunks.1.radius, root.Data.entries.41023.femaleVariant). Three rules of the file format: numbers are 32-bit floats (0.22 is stored as 0.219999999); in .ent and .app files compiledData is rebuilt from components when the file is saved, so edit components, never compiledData; properties at their default value are not stored. Values are in WolvenKit JSON form, the same as cr2w_to_json shows; a CName may be given as a plain string.","params":["doc","ops"]},{"name":"cr2w_get_nodes","description":"Several nodes of an open document in one call. A path that fails gives a node of kind 'error' with the message as its type, instead of failing the call.","params":["doc","paths","limit"]},{"name":"cr2w_search","description":"Find leaves in an open document whose text or property name contains the query (case-insensitive), below a path. Returns paths with previews; total counts every match. Use it to locate a value before patching, or to filter rows of a localization file (path root.Data.entries). Paths are dotted from the root chunk and match WolvenKit's JSON: property names, array indices, \"Data\" under a handle or a buffer, \"Chunks\" under a package (for example components.3.name, compiledData.Data.Chunks.1.radius, root.Data.entries.41023.femaleVariant).","params":["doc","query","path","limit"]},{"name":"cr2w_save","description":"Write an open document through WolvenKit's writer, to its own file or to outFile. compiledData is rebuilt from components during the write.","params":["doc","outFile"]},{"name":"cr2w_close","description":"Close a document session.","params":["doc"]},{"name":"cr2w_documents","description":"List the open document sessions.","params":[]},{"name":"cr2w_describe_type","description":"What a RED type is made of: a class's properties with types, kinds and defaults; an enum's values; an array's or handle's element type. Use it to know which properties exist and what values they take before patching.","params":["type"]},{"name":"cr2w_create_instance","description":"A default instance of a RED type in WolvenKit JSON form, to use as the value of an add operation or to fill a handle.","params":["type"]},{"name":"cr2w_edit_file","description":"Edit a CR2W file in one call: open it, apply the operations, save, close. Give file for a file on disk (saved in place unless outFile is set) or path for a game file (outFile is then required, and the result is a modified copy; the archives are never changed). Returns what was written and the inverse operations. Paths are dotted from the root chunk and match WolvenKit's JSON: property names, array indices, \"Data\" under a handle or a buffer, \"Chunks\" under a package (for example components.3.name, compiledData.Data.Chunks.1.radius, root.Data.entries.41023.femaleVariant). Three rules of the file format: numbers are 32-bit floats (0.22 is stored as 0.219999999); in .ent and .app files compiledData is rebuilt from components when the file is saved, so edit components, never compiledData; properties at their default value are not stored. Values are in WolvenKit JSON form, the same as cr2w_to_json shows; a CName may be given as a plain string.","params":["file","path","outFile","ops"]},{"name":"cr2w_read","description":"Read values from a CR2W file in one call, without keeping a session: opens the file, reads each path, closes. Use it to look before editing. Paths are dotted from the root chunk and match WolvenKit's JSON: property names, array indices, \"Data\" under a handle or a buffer, \"Chunks\" under a package (for example components.3.name, compiledData.Data.Chunks.1.radius, root.Data.entries.41023.femaleVariant).","params":["file","path","paths"]}],"toolsHash":"0892470c70a9125ea4be03793caf09566669e0209e6b85d974fbcd522100a170","wrote":[],"callsAt":"2026-11-16T11:49:31.806Z","calls":[{"tool":"bridge_info","ok":false,"ms":8,"bytes":0,"error":"tool reported an error: Pending response rejected since connection got disposed"},{"tool":"archive_list","ok":false,"ms":2,"bytes":0,"error":"tool reported an error: Pending response rejected since connection got disposed"}],"host":{"commit":"eaaffffaf52255d1b77dc4aacffdfaf353f0c12c","run":"https://github.com/itsHaddad/bragproof/actions/runs/43857070216"},"network":{"names":["registry.npmjs.org"],"conns":[],"callNames":[],"callConns":[]}},"summary":{"outcome":"started","needs":[],"contacts":[],"flags":[],"tools":44,"wrote":0,"callsTried":2,"callsAnswered":0,"callContacts":[]},"history":[{"package":"@edgemodders/redcode-mcp","version":"0.5.1","ranAt":"2026-11-16T11:49:27.659Z","outcome":"started","tools":44,"contacts":0,"flags":0,"serious":0,"toolsHash":"0892470c70a9125ea4be03793caf09566669e0209e6b85d974fbcd522100a170"}],"page":"https://bragproof.smaverk.com/r/%40edgemodders/redcode-mcp"}