Repository avatar
Other Tools
v0.2.2
active

pimax-mcp

io.github.luangrezende/pimax-mcp

Pimax VR headset settings via the Pimax Play CLI, plus per-session FPS and missed frames from logs.

Documentation

simrig-mcp

CI License: MIT simrig-mcp MCP server

Three MCP servers that let an AI assistant (Claude Code, Claude Desktop, Cursor, ...) work on a Windows sim racing rig the way a careful engineer would: read the real configuration, change one thing, keep a backup, measure, and roll back if it got worse.

ServerWhat it does
ac-config-mcpReads and edits Assetto Corsa, Custom Shaders Patch and Content Manager configuration: video.ini, CSP overrides, Pure config, CM video/CSP presets, post-processing filters, Python/Lua apps, mod install from a zip. Every write is backed up and undoable.
pimax-mcpReads and adjusts a Pimax headset through the official Pimax Play CLI, and parses the Pimax runtime logs for what the CLI does not show: the render settings actually in effect per game, and per-session app/compositor FPS with missed, stale and discarded frames.
shakeit-mcpAudits SimHub ShakeIt haptics (bass shakers and motor outputs such as Arduino, Fanatec or Simagic, and a SimParts belt): the same event on several devices, continuous effects stacked on one shaker, gain headroom, effects that are on but routed nowhere. Read-only.

Status: beta, actively maintained (0.2.2, November 2026). I use it on my own rig every week; Windows only. Bug reports and ideas go in issues.

Why not just edit the files, or use Content Manager presets?

You can, and CM presets stay the right tool for setups you already trust. simrig-mcp lets an assistant try one change at a time on the real files without you losing track.

  • Backup before every write, one folder per change with a manifest, plus a JSON-lines changes.log.
  • ac_undo restores any backup, and backs up the current state first, so undo is undoable.
  • Surgical edits: comments, BOM and CRLF line endings survive; only the key you set changes.
  • Fenced paths: known roots and text extensions only. No .., no executables, no arbitrary files.
  • Mod install is a dry run by default, refuses zip-slip paths, never copies .exe/.dll/.bat/.ps1/..., and refuses to install while the game is open.
  • Pimax changes need confirm=True, which the model is told to pass only after you approve, against a closed list.
  • Read-only mode: AC_CONFIG_MCP_READ_ONLY=1 / PIMAX_MCP_READ_ONLY=1 and the write tools are not even registered.

Install

You need Windows and uv, which brings its own Python. In Claude Code:

claude mcp add acconfig -- uvx simrig-mcp acconfig
claude mcp add pimax -- uvx simrig-mcp pimax
claude mcp add shakeit -- uvx simrig-mcp shakeit

Any other MCP client (Claude Desktop, Cursor, ...):

{
  "mcpServers": {
    "acconfig": { "command": "uvx", "args": ["simrig-mcp", "acconfig"] },
    "pimax":    { "command": "uvx", "args": ["simrig-mcp", "pimax"] },
    "shakeit":  { "command": "uvx", "args": ["simrig-mcp", "shakeit"] }
  }
}

Add only the servers for the gear you have:

  • acconfig: Assetto Corsa (Steam). CSP and Content Manager are optional, but most tools assume them.
  • pimax: Pimax Play running (tested with Pimax Play 2.0.4 and a Crystal OG). The CLI ships with Pimax Play.
  • shakeit: SimHub installed. It reads the settings files; SimHub does not need to be running.

Without uv: pip install simrig-mcp (Python 3.10+) puts ac-config-mcp, pimax-mcp and simrig-mcp on your PATH. Published on PyPI and in the official MCP Registry as io.github.luangrezende/ac-config-mcp, io.github.luangrezende/pimax-mcp and io.github.luangrezende/shakeit-mcp.

Try it

Check your haptics without any AI, straight from a terminal:

uvx simrig-mcp shakeit-audit
Source: C:\Program Files (x86)\SimHub\PluginsData\Common
Bass profile: <your bass profile> | Motors profile: <your motors profile>
[INFO] Belt heave is on
        Heave on the belt pulls over bumps and kerbs and can be confused with braking. Check it adds something.

Add --json for the full result. With the servers added to your client, ask something like:

"AC in VR feels choppy on the straight after turn 1. Check what the Pimax runtime is doing and suggest one change."

The assistant reads pimax_runtime_stats(exe="acs") (missed frames, GPU%), pimax_runtime_state and ac_read("ext/vr_tweaks.ini"), proposes a single change, applies it with ac_set after you agree, and after your next stint compares the stats again. If it got worse: ac_undo.

What it does not do

  • Run on Linux or macOS: Assetto Corsa, Pimax Play and SimHub are Windows tools, and so are the paths here.
  • Change Pimax refresh rate, FOV, foveated rendering or Smart Smoothing: the Pimax CLI does not expose them, so set them in Pimax Play. The PimaxClient config.json (login token) is never read.
  • Write SimHub settings: shakeit-mcp only reads and reports.
  • Notice changes for an open Content Manager: CM may show old values until it reloads.

Guides

Two guides came out of this work and are useful without any AI at all:

Every tool, the file roots, the environment variables and how to run the tests: docs/tools.md.

Why I built this

I'm a huge sim racing fan. My rig is a Fanatec direct drive wheel, a Pimax Crystal in VR and a SimHub setup with bass shakers, vibration motors, wind and an active belt tensioner, mostly driving Assetto Corsa with CSP.

Anyone with a rig like that knows the pain: hundreds of settings spread across video.ini, CSP overrides, Content Manager presets, Pimax Play and the runtime, and every forum thread swears by a different combination. I wanted an assistant to tune it like an engineer would, so I built these servers to give it exactly that, safely. I'm sharing it in case it saves other sim racers some evenings of trial and error.

License

MIT. Not affiliated with Kunos Simulazioni, Ilja Jusupov (CSP / Content Manager), Pimax or SimHub.