
hpdkhoa/weaponlab-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Finds and fixes first-person weapon bugs behind a gate
Обзор
First-person weapon bugs fixed once per kind, then for every weapon, behind a gate. An MCP server that finds and fixes first-person weapon bugs behind a gate: hands off the gun, a magazine crooked in its well, a blade held wrong, arms covering the screen. Each bug becomes a : a metric, a weapon, an action and a pass rule. Your game's own measures the weapons. The passes a change only when its target cases pass and nothing else got worse. Fix each kind of bug once, then check every weapon with it. Weapon Lab never runs your game itself. You write a small probe for your engine that follows the probe contract: a job file in, a rows file out. Everything else works on what the probe writes back. The demo is a toy game with two planted bugs and a probe in about 150 lines. It needs no engine. (python -m weaponlab works the same when pip's scripts folder is not on your PATH.) The rifle's left hand misses its handguard by 3.75 cm. The knife's hilt lies 90 degrees across the fist.
README
Показан фрагмент оригинального README. Открыть оригинал.
Weapon Lab
First-person weapon bugs fixed once per kind, then for every weapon, behind a gate.
An MCP server that finds and fixes first-person weapon bugs behind a gate: hands off the gun, a magazine crooked in its well, a blade held wrong, arms covering the screen.
Each bug becomes a case: a metric, a weapon, an action and a pass rule. Your game’s own probe measures the weapons. The Gate passes a change only when its target cases pass and nothing else got worse. Fix each kind of bug once, then check every weapon with it.
Weapon Lab never runs your game itself. You write a small probe for your engine that follows the probe contract: a job file in, a rows file out. Everything else works on what the probe writes back.
What it does
| Group | Tools | What for |
|---|---|---|
| Gate | gate_run, gate_verdict, gate_propose, gate_approve, gate_set_baseline, gate_cases, … |
Keeps the bugs as cases, measures, compares against a baseline, judges a change, records a person’s approval. |
| Probe | probe_run, probe_plan, probe_status |
Starts your game’s probe. Tries a fix before it is written: tuned fields, staged assets, screenshots, parts dumps. |
| Rig Lab | rig_pieces, rig_facts, rig_align, rig_part_line, rig_fist |
Reads the posed weapon from a parts dump: its pieces, real-world facts (the magazine behind the barrel), a magazine’s line into its well, a hilt in the fist. |
| Motion Lab | motion_roll, motion_roll_profile, motion_roll_set, motion_track, motion_render |
Rebuilds clips in Blender: turns a hand about its forearm inside the forearm’s range, puts a sliding part back on its axis. |
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{"mcpServers": {"weaponlab": {"command": "weaponlab-mcp", "env": {"WEAPONLAB_PROJECT": "C:/path/to/your/game"}}}}