Skip to main content
Glama

fakepose-mcp

First-person hands on a gun, posed the way games pose them.

A hold is an authored preset placed on a mark (a socket) of the gun, not solved from anatomy. Each finger closes until it touches. The arms reach the hands by two-bone IK. The one rule is the market's: no clipping the first-person camera can see. Anatomy (wrist, elbow, finger angles) is reported, not enforced.

It runs inside Weapon Lab's Gun Kit hands step, which keys and writes the clips. Gun Kit's job option pose_engine picks the engine: "fakepose" (the default) or "poselab".

What it does, in order

  1. The body at rest. Pelvis, spine, neck, head and collarbones take the rig's rest pose. A first-person template's idle can lift a shoulder above the head; at rest the shoulders sit below the eye, as on a person.

  2. The eye at the head. The camera sits on the head bone with the offset of Unreal Engine 5.6's first-person template (5.89 cm ahead, 2.8 cm down).

  3. The gun at aim. The sights are measured on the gun's mesh (rays down its middle plane). The gun is turned so the sight line runs along the view with no cant, and moved so the sight line passes through the eye. Its distance is the nearest at which both arms reach their holds.

  4. The holds from presets. The firing grip is a captured, approved hand-to-gun pose. The support grip is that grip mirrored across the gun's middle plane, moved forward and down, then set down onto the gun. The other holds (magazine grab, overhand rack, press check) are authored by palm facing and finger direction in the gun's axes.

  5. Curl to contact. Each digit turns toward a fist in equal steps. A segment that touches the gun stops its joint and the ones before it; the stop is found to a tenth of a step by halving.

  6. The clips. Gun Kit's actions drive every frame: the gun's moves, the parts (slide, magazine, release), the hands blending between holds, a part riding a hand.

  7. The eye's check. A ray from the eye through every pixel of the 90 degree, 16:9 view. A pixel clips when the first surface it meets is the gun inside the skin, or the skin inside the gun, deeper than the glove. Every 6th frame of every clip is checked, and a picture of each clip's start, middle and end is drawn.

Related MCP server: io.github.hpdkhoa/poselab-mcp

Result on the M1911A1 (the lab model)

All 11 clips written in about 4.5 minutes: idle, walk, run, fire, equip, holster, reload, reload_empty, charge, check_chamber, check_mag. Clipping seen from the eye: 0 pixels on every checked frame and every pictured frame. See docs/results.

Tools (MCP)

Tool

What it does

list_presets

The preset families and their holds, with sources; the captured grips.

show_preset

One hold in full.

set_preset

Adds or replaces an authored hold.

run_hands

Runs Gun Kit's hands step with fakepose on a gun's facts file.

hold_report

The last run's holds: curls, what stopped them, arm angles, set-down distance.

clip_report

The last run's clips: the eye's clipping per clip and the pictures.

Install

pip install -e .

Needs Blender 5.2 (headless) and Weapon Lab with Pose Lab installed; Gun Kit finds fakepose through the installed package.

Limits

  • Pistol presets only so far. A rifle family is next.

  • The eye sits 9.3 cm from the game's own camera place (Shared.json: the camera at the head bone's height). The game is not changed; set its arms offset to match if the clips should line up exactly in game.

  • The idle is the aim pose for now; a lowered idle is the aim pulled down, still to make.

  • Hands set down onto the gun may stand a little off it; hidden contact is allowed and listed, not fixed.

  • On the magazine grab and the overhand rack the index finger closes to a fist without reaching the gun.

Plan and decisions

docs/PLAN.md keeps the owner's words next to the design.

Available Tools

6 tools
clip_reportB

The last run's clips: frames, the eye's clipping per clip (frames checked, frames with clipping, the most pixels, the deepest seen), and the first-person pictures (start, middle, end).

Inputs: facts (required).

hold_reportB

The last run's holds: each preset's source, the fingers' curls and what stopped them, the arm's angles (reported, not enforced), how far a hand was set down off the surface.

Inputs: facts (required).

list_presetsC

The preset families (pistol, rifle ...), each hold in them (side:mark[:kind]) with its source, and the captured grips (a hand-to-gun pose kept from an approved hold).

Inputs: no named parameters.

run_handsB

Runs Weapon Lab's Gun Kit hands step with fakepose (Blender, at most 10 minutes): the gun at aim, the holds from the presets, every clip keyed and written, the eye's clipping checked. Returns the summary.

Inputs: facts (required), clips.

set_presetA

Adds or replaces one authored hold. The next run_hands uses it.

Inputs: hold (required), family (required), preset (required).

show_presetA

One preset in full: where the hand sits on the mark (palm facing, finger direction, offsets, push out) and each digit's rule (keep, or curl to contact toward the fist).

Inputs: hold (required), family (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 6 tools

    Disambiguation4/5

    Most tools are clearly distinct: list/show/set form an obvious preset CRUD subset, run_hands executes, and hold_report vs clip_report cleanly split hold vs clip diagnostics. Minor overlap exists because list_presets also surfaces captured grips while hold_report reports on holds, which could momentarily blur when to use which for grip data.

    Naming Consistency4/5

    All names use snake_case and are predictable. The verb_noun pattern holds for list_presets, show_preset, set_preset, and run_hands, but the two report tools use noun_report instead of a verb prefix, a minor deviation.

    Tool Count5/5

    Six tools is well-scoped for a focused Blender gun-kit hands pipeline: preset listing/inspection/authoring, one execution tool, and two complementary post-run reports. Every tool has a clear role with no filler.

    Completeness4/5

    The surface covers the main lifecycle: inspect presets, author/replace a hold, execute the hands step, and review hold and clip outcomes. The notable gap is a delete/remove operation for presets or captured grips, plus reports only reflect the last run, but these are workable around.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Enables MCP clients to inspect and edit animation inside a running Cascadeur instance without Computer Use, including scene/object and skeleton rig inspection, bounded joint and Point-target pose edits, snapshots, playback observation, and FBX export.
      37
      2
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables models to pose and measure first-person arms and a rifle in Blender, reporting positions in named frames, clearances, visibility, screen placement, and solving rifle moves against goals.
      17
      1
      MIT
    • A
      license
      C
      quality
      B
      maintenance
      Enables AI clients to track first-person weapon bugs as measurable cases, run a game's own probe to gather metrics and screenshots, and compare candidate fixes against a baseline before a change is approved. It also reads posed weapon parts dumps, rebuilds animation clips in Blender, and validates probe contracts.
      67
      2
      MIT