simrig-mcp
This server safely reads and edits Assetto Corsa, Custom Shaders Patch, and Content Manager settings with backups and undo.
Inspect AC/CM status, file roots, recent changes, editable INI files, text/script files, CSP option docs, presets, apps, PP filters, and backups.
Set one or many INI keys, write/replace text files, enable/disable Python apps, and switch post-processing filters.
Apply/save CM video and CSP presets, and save/list/switch named VR or monitor modes that apply CSP and video presets together.
Install mods from .zip/.7z/.rar or extracted folders with a dry-run plan first, backups, and refusal of executables/scripts and unsafe paths.
Read crash reports, list backups, and undo any backup; every write is backed up and logged.
simrig-mcp
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.
Server | What it does |
| Reads and edits Assetto Corsa, Custom Shaders Patch and Content Manager configuration: |
| Reads 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. |
| Audits 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.3.0, 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_undorestores 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 archive entries that escape the game folder, 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=1and the write tools are not even registered.
Related MCP server: local-code-mcp
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 shakeitAny 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-auditSource: 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.
More things people ask:
"I just downloaded a ppfilter zip to Downloads. Install it and make it the filter in my VR preset."
ac_install_mod shows the plan first (files, overwrites, skipped executables), installs with a backup, then
ac_set_pp_filter and ac_save_video_preset keep your old preset untouched as a way back.
"AC crashed while loading the track. What happened?"
ac_crash_report pulls the crash stack from the AC log, the fatal lines from the CSP log, the track and the dump file.
"Switch to monitor" / "back to VR"
ac_switch_mode applies the CSP preset and the video preset together, so VR-only CSP options never end up on the
monitor (a common cause of crashes on load).
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-mcponly reads and reports.Stop an open Content Manager from writing its own settings back: every write warns you to restart CM first.
Guides
Two guides came out of this work and are useful without any AI at all:
Eye-tracked foveated rendering in Assetto Corsa on a Pimax, in CSP's native OpenXR mode. I couldn't find this written anywhere else.
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.
Available Tools
26 toolsac_apply_csp_presetA
Apply a Content Manager CSP preset: rewrites the ext/*.ini overrides of the modules it covers. Backup first.
Inputs: name (required).
ac_apply_video_presetB
Apply a Content Manager video preset (writes cfg/video.ini the way CM does). Backup first.
Inputs: name (required).
ac_crash_reportA
What went wrong in the last session: the 'CRASH in' stack from the AC log, CSP fatal lines, the track being loaded and the newest crash dump in Documents/Assetto Corsa/logs. Read only.
Inputs: no named parameters.
ac_csp_docB
Default value and inline docs of a CSP option, read from CSP's shipped config, plus the user's override (e.g. module='vr_tweaks', section='OPENXR_TWEAKS', key='EYE_TRACKING'). Without key: the whole section.
Inputs: module (required), key, section.
ac_install_modA
Install an already-downloaded mod (CSP/Pure-style folders, ppfilters, apps, cars, tracks) from a .zip, .7z, .rar or an already-extracted folder. dry_run=True only shows the plan. Real install: AC must be closed; every overwritten file is backed up and undo() restores them and removes files that did not exist. Executables and scripts are never copied. .7z/.rar need 7-Zip installed.
Inputs: zip_path (required), dry_run.
ac_list_appsC
AC apps: Python (apps/python, active per cfg/python.ini) and CSP Lua apps (apps/lua).
Inputs: no named parameters.
ac_list_backupsC
Most recent backups made by this server, newest first.
Inputs: limit. Returns: result
ac_list_filesA
Editable .ini files per root (cfg | ext | pure | sys | acroot | extcfg). Empty root = all, top level only.
Inputs: root.
ac_list_modesC
Named setups (e.g. 'vr', 'monitor'), each a Content Manager CSP preset + video preset applied together. 'current' is the mode whose video preset matches cfg/video.ini right now (None if no mode matches).
Inputs: no named parameters.
ac_list_pp_filtersA
Post-processing filters available (system/cfg/ppfilters) and the one active in video.ini.
Inputs: no named parameters.
ac_list_presetsC
Content Manager presets: video (.cmpreset) and CSP (.ini).
Inputs: no named parameters.
ac_readC
Read an ini as values, e.g. 'cfg/video.ini', 'ext/extra_fx.ini', 'pure/pure_config.ini'. section filters one.
Inputs: file (required), section.
ac_read_textC
Read a text/script file, e.g. 'apps/lua/MyApp/MyApp.lua' or 'sys/ppfilters/pureVR.ini'.
Inputs: file (required), max_chars.
ac_read_video_presetC
The video.ini stored inside a Content Manager video preset.
Inputs: name (required).
ac_replace_textB
Replace one exact, unique snippet inside a text/script file. Backup + log.
Inputs: new (required), old (required), file (required).
ac_save_csp_presetC
Save the current CSP overrides (ext/*.ini) as a Content Manager CSP preset.
Inputs: name (required).
ac_save_video_presetB
Save the current cfg/video.ini as a Content Manager video preset.
Inputs: name (required).
ac_setB
Set one key in an ini (backup + log). section='' for files without sections. Example: ac_set('ext/vr_tweaks.ini', 'OPENXR_TWEAKS', 'EYE_TRACKING', '1').
Inputs: key (required), file (required), value (required), section (required).
ac_set_manyC
Several changes with a single backup. changes: [{file, section, key, value}, ...].
Inputs: changes (required).
ac_set_modeB
Save or update a named mode: the CSP preset and video preset that must always be switched together.
Inputs: mode (required), csp_preset (required), video_preset (required).
ac_set_pp_filterC
Switch the active post-processing filter (video.ini [POST_PROCESS] FILTER), e.g. a VR-specific one.
Inputs: name (required).
ac_set_python_appB
Enable or disable an AC Python app (cfg/python.ini [APP] ACTIVE).
Inputs: app (required), active (required).
ac_statusC
Whether AC and Content Manager are running, the file roots, and the last recorded changes.
Inputs: no named parameters.
ac_switch_modeA
Switch between setups (e.g. VR <-> monitor) by applying the mode's CSP preset and video preset together. Applying only one of them can leave VR-only CSP options (OpenXR, VRS) active on a monitor, which may crash the game while loading. Refuses while Assetto Corsa is running; nothing changes if a preset is missing.
Inputs: mode (required).
ac_undoA
Restore a backup (empty = the most recent). The current state is backed up first, so undo is undoable.
Inputs: backup.
ac_write_textB
Replace the whole content of a text/script file (creates it if missing). Backup + log.
Inputs: file (required), content (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 26 tools
Most tools target clearly distinct actions and resources, with helpful descriptions distinguishing presets, modes, backups, and config-file operations. Some read/apply/set families overlap conceptually (e.g. ac_read vs ac_read_text vs ac_csp_doc, or ac_set vs ac_write_text vs ac_replace_text), but the boundaries are still mostly clear.
All tools use a consistent ac_ prefix and are mostly verb_noun or verb_object names such as ac_apply_video_preset and ac_list_backups. A few names are noun-only or bare verbs (ac_status, ac_crash_report, ac_read, ac_set), which are minor deviations but still readable.
With 26 tools, the surface exceeds the typical well-scoped 3-15 range and is heavy even for a specialized sim-rig configuration server. Many tools are granular variants or paired operations, which increases selection burden and makes the set feel over-expanded.
The server covers a broad lifecycle: status/crash inspection, file listing and reading, config mutation, presets, modes, apps, PP filters, backups, undo, and mod installation. Minor gaps remain around explicit deletion/uninstall operations for mods, presets, or files, and there is no tool to validate or launch the game.
Maintenance
Related MCP Connectors
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
Manage game servers, configurations, players, and groups through the GameServerApp MCP server.
- Discortics - Discord BotDeprecatedcom.discortics
Set up and manage your Discord server from MCP: channels, roles, verification, tickets and security.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceAn MCP server for agents to control MultiViewer, the best way to watch motorsports. Works locally or remotely.20MIT
- AlicenseNot gradedqualityBmaintenanceSafe local MCP server for Windows to list, read, search, patch, backup, and verify code files in allowed folders, with Git integration and dry-run diffs.1MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that provides Forza Horizon 5 telemetry tools (session listing, summaries, telemetry windows, tuning recommendations) to AI assistants, enabling natural language queries about driving sessions.-
- AlicenseAqualityCmaintenanceEnables an MCP client to control a local Assetto Corsa installation through a CSP Lua bridge: launching offline practice sessions, positioning free cameras and teleporting the car by world coordinates, setting time and date, capturing screenshots, and reading runtime state, materials, and track config values while automatically backing up and restoring changed config files.15MIT