simrig-mcp 0.2.1__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. simrig_mcp-0.2.2/PKG-INFO +143 -0
  2. simrig_mcp-0.2.2/README.md +126 -0
  3. simrig_mcp-0.2.2/docs/tools.md +70 -0
  4. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/pyproject.toml +1 -1
  5. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/registry/ac-config-mcp.server.json +2 -2
  6. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/registry/pimax-mcp.server.json +2 -2
  7. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/registry/shakeit-mcp.server.json +2 -2
  8. simrig_mcp-0.2.2/src/simrig_mcp/__init__.py +1 -0
  9. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/uv.lock +1 -1
  10. simrig_mcp-0.2.1/PKG-INFO +0 -186
  11. simrig_mcp-0.2.1/README.md +0 -169
  12. simrig_mcp-0.2.1/src/simrig_mcp/__init__.py +0 -1
  13. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/.github/scripts/install-mcp-publisher.sh +0 -0
  14. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/.github/workflows/ci.yml +0 -0
  15. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/.github/workflows/publish.yml +0 -0
  16. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/.gitignore +0 -0
  17. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/LICENSE +0 -0
  18. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/docs/assetto-corsa-csp-openxr-eye-tracked-vrs.md +0 -0
  19. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/docs/simhub-haptics-one-event-one-owner.md +0 -0
  20. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/glama.json +0 -0
  21. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/run.cmd +0 -0
  22. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/src/simrig_mcp/__main__.py +0 -0
  23. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/src/simrig_mcp/acconfig/__init__.py +0 -0
  24. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/src/simrig_mcp/acconfig/ini.py +0 -0
  25. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/src/simrig_mcp/acconfig/paths.py +0 -0
  26. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/src/simrig_mcp/acconfig/server.py +0 -0
  27. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/src/simrig_mcp/acconfig/store.py +0 -0
  28. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/src/simrig_mcp/compat.py +0 -0
  29. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/src/simrig_mcp/pimax/__init__.py +0 -0
  30. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/src/simrig_mcp/pimax/cli.py +0 -0
  31. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/src/simrig_mcp/pimax/logs.py +0 -0
  32. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/src/simrig_mcp/pimax/server.py +0 -0
  33. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/src/simrig_mcp/shakeit/__init__.py +0 -0
  34. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/src/simrig_mcp/shakeit/audit.py +0 -0
  35. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/src/simrig_mcp/shakeit/server.py +0 -0
  36. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/tests/conftest.py +0 -0
  37. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/tests/test_acconfig.py +0 -0
  38. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/tests/test_ini.py +0 -0
  39. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/tests/test_install_mod.py +0 -0
  40. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/tests/test_pimax.py +0 -0
  41. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/tests/test_release.py +0 -0
  42. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/tests/test_servers.py +0 -0
  43. {simrig_mcp-0.2.1 → simrig_mcp-0.2.2}/tests/test_shakeit.py +0 -0
@@ -0,0 +1,143 @@
1
+ Metadata-Version: 2.5
2
+ Name: simrig-mcp
3
+ Version: 0.2.2
4
+ Summary: MCP servers for sim racing on Windows: Assetto Corsa / CSP / Content Manager config, Pimax VR headsets and SimHub ShakeIt haptics.
5
+ Project-URL: Homepage, https://github.com/luangrezende/simrig-mcp
6
+ Project-URL: Issues, https://github.com/luangrezende/simrig-mcp/issues
7
+ Project-URL: Guide, https://github.com/luangrezende/simrig-mcp/blob/main/docs/assetto-corsa-csp-openxr-eye-tracked-vrs.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Keywords: assetto-corsa,bass-shaker,content-manager,csp,haptics,mcp,openxr,pimax,sim-racing,simhub,vr
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Topic :: Games/Entertainment :: Simulation
14
+ Requires-Python: >=3.10
15
+ Requires-Dist: mcp>=1.2
16
+ Description-Content-Type: text/markdown
17
+
18
+ # simrig-mcp
19
+
20
+ [![CI](https://github.com/luangrezende/simrig-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/luangrezende/simrig-mcp/actions/workflows/ci.yml)
21
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/luangrezende/simrig-mcp/blob/main/LICENSE)
22
+ [![simrig-mcp MCP server](https://glama.ai/mcp/servers/luangrezende/simrig-mcp/badges/score.svg)](https://glama.ai/mcp/servers/luangrezende/simrig-mcp)
23
+
24
+ Three [MCP](https://modelcontextprotocol.io) servers that let an AI assistant (Claude Code, Claude Desktop, Cursor, ...)
25
+ work on a Windows sim racing rig the way a careful engineer would: read the real configuration, change one thing,
26
+ keep a backup, measure, and roll back if it got worse.
27
+
28
+ | Server | What it does |
29
+ |---|---|
30
+ | **`ac-config-mcp`** | Reads 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. |
31
+ | **`pimax-mcp`** | 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. |
32
+ | **`shakeit-mcp`** | 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. |
33
+
34
+ **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
35
+ [issues](https://github.com/luangrezende/simrig-mcp/issues).
36
+
37
+ ## Why not just edit the files, or use Content Manager presets?
38
+
39
+ You can, and CM presets stay the right tool for setups you already trust. simrig-mcp lets an assistant try one
40
+ change at a time on the real files without you losing track.
41
+
42
+ - **Backup before every write**, one folder per change with a manifest, plus a JSON-lines `changes.log`.
43
+ - **`ac_undo`** restores any backup, and backs up the current state first, so undo is undoable.
44
+ - **Surgical edits**: comments, BOM and CRLF line endings survive; only the key you set changes.
45
+ - **Fenced paths**: known roots and text extensions only. No `..`, no executables, no arbitrary files.
46
+ - **Mod install is a dry run by default**, refuses zip-slip paths, never copies `.exe/.dll/.bat/.ps1/...`,
47
+ and refuses to install while the game is open.
48
+ - **Pimax changes need `confirm=True`**, which the model is told to pass only after you approve, against a closed list.
49
+ - **Read-only mode**: `AC_CONFIG_MCP_READ_ONLY=1` / `PIMAX_MCP_READ_ONLY=1` and the write tools are not even registered.
50
+
51
+ ## Install
52
+
53
+ You need Windows and [uv](https://docs.astral.sh/uv/), which brings its own Python. In Claude Code:
54
+
55
+ ```powershell
56
+ claude mcp add acconfig -- uvx simrig-mcp acconfig
57
+ claude mcp add pimax -- uvx simrig-mcp pimax
58
+ claude mcp add shakeit -- uvx simrig-mcp shakeit
59
+ ```
60
+
61
+ Any other MCP client (Claude Desktop, Cursor, ...):
62
+
63
+ ```json
64
+ {
65
+ "mcpServers": {
66
+ "acconfig": { "command": "uvx", "args": ["simrig-mcp", "acconfig"] },
67
+ "pimax": { "command": "uvx", "args": ["simrig-mcp", "pimax"] },
68
+ "shakeit": { "command": "uvx", "args": ["simrig-mcp", "shakeit"] }
69
+ }
70
+ }
71
+ ```
72
+
73
+ Add only the servers for the gear you have:
74
+
75
+ - `acconfig`: Assetto Corsa (Steam). CSP and Content Manager are optional, but most tools assume them.
76
+ - `pimax`: Pimax Play running (tested with Pimax Play 2.0.4 and a Crystal OG). The CLI ships with Pimax Play.
77
+ - `shakeit`: SimHub installed. It reads the settings files; SimHub does not need to be running.
78
+
79
+ Without uv: `pip install simrig-mcp` (Python 3.10+) puts `ac-config-mcp`, `pimax-mcp` and `simrig-mcp` on your PATH.
80
+ Published on [PyPI](https://pypi.org/project/simrig-mcp/) and in the official
81
+ [MCP Registry](https://registry.modelcontextprotocol.io) as `io.github.luangrezende/ac-config-mcp`,
82
+ `io.github.luangrezende/pimax-mcp` and `io.github.luangrezende/shakeit-mcp`.
83
+
84
+ <!-- mcp-name: io.github.luangrezende/ac-config-mcp -->
85
+ <!-- mcp-name: io.github.luangrezende/pimax-mcp -->
86
+ <!-- mcp-name: io.github.luangrezende/shakeit-mcp -->
87
+
88
+ ## Try it
89
+
90
+ Check your haptics without any AI, straight from a terminal:
91
+
92
+ ```powershell
93
+ uvx simrig-mcp shakeit-audit
94
+ ```
95
+
96
+ ```text
97
+ Source: C:\Program Files (x86)\SimHub\PluginsData\Common
98
+ Bass profile: <your bass profile> | Motors profile: <your motors profile>
99
+ [INFO] Belt heave is on
100
+ Heave on the belt pulls over bumps and kerbs and can be confused with braking. Check it adds something.
101
+ ```
102
+
103
+ Add `--json` for the full result. With the servers added to your client, ask something like:
104
+
105
+ > "AC in VR feels choppy on the straight after turn 1. Check what the Pimax runtime is doing and suggest one change."
106
+
107
+ The assistant reads `pimax_runtime_stats(exe="acs")` (missed frames, GPU%), `pimax_runtime_state` and
108
+ `ac_read("ext/vr_tweaks.ini")`, proposes a single change, applies it with `ac_set` after you agree, and after
109
+ your next stint compares the stats again. If it got worse: `ac_undo`.
110
+
111
+ ## What it does not do
112
+
113
+ - Run on Linux or macOS: Assetto Corsa, Pimax Play and SimHub are Windows tools, and so are the paths here.
114
+ - Change Pimax refresh rate, FOV, foveated rendering or Smart Smoothing: the Pimax CLI does not expose them, so set
115
+ them in Pimax Play. The PimaxClient `config.json` (login token) is never read.
116
+ - Write SimHub settings: `shakeit-mcp` only reads and reports.
117
+ - Notice changes for an open Content Manager: CM may show old values until it reloads.
118
+
119
+ ## Guides
120
+
121
+ Two guides came out of this work and are useful without any AI at all:
122
+
123
+ - [Eye-tracked foveated rendering in Assetto Corsa on a Pimax](https://github.com/luangrezende/simrig-mcp/blob/main/docs/assetto-corsa-csp-openxr-eye-tracked-vrs.md),
124
+ in CSP's native OpenXR mode. I couldn't find this written anywhere else.
125
+ - [SimHub haptics: one event, one owner](https://github.com/luangrezende/simrig-mcp/blob/main/docs/simhub-haptics-one-event-one-owner.md).
126
+
127
+ Every tool, the file roots, the environment variables and how to run the tests:
128
+ [docs/tools.md](https://github.com/luangrezende/simrig-mcp/blob/main/docs/tools.md).
129
+
130
+ ## Why I built this
131
+
132
+ 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
133
+ bass shakers, vibration motors, wind and an active belt tensioner, mostly driving Assetto Corsa with CSP.
134
+
135
+ Anyone with a rig like that knows the pain: hundreds of settings spread across `video.ini`, CSP overrides, Content
136
+ Manager presets, Pimax Play and the runtime, and every forum thread swears by a different combination. I wanted an
137
+ assistant to tune it like an engineer would, so I built these servers to give it exactly that, safely. I'm sharing
138
+ it in case it saves other sim racers some evenings of trial and error.
139
+
140
+ ## License
141
+
142
+ [MIT](https://github.com/luangrezende/simrig-mcp/blob/main/LICENSE). Not affiliated with Kunos Simulazioni,
143
+ Ilja Jusupov (CSP / Content Manager), Pimax or SimHub.
@@ -0,0 +1,126 @@
1
+ # simrig-mcp
2
+
3
+ [![CI](https://github.com/luangrezende/simrig-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/luangrezende/simrig-mcp/actions/workflows/ci.yml)
4
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/luangrezende/simrig-mcp/blob/main/LICENSE)
5
+ [![simrig-mcp MCP server](https://glama.ai/mcp/servers/luangrezende/simrig-mcp/badges/score.svg)](https://glama.ai/mcp/servers/luangrezende/simrig-mcp)
6
+
7
+ Three [MCP](https://modelcontextprotocol.io) servers that let an AI assistant (Claude Code, Claude Desktop, Cursor, ...)
8
+ work on a Windows sim racing rig the way a careful engineer would: read the real configuration, change one thing,
9
+ keep a backup, measure, and roll back if it got worse.
10
+
11
+ | Server | What it does |
12
+ |---|---|
13
+ | **`ac-config-mcp`** | Reads 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. |
14
+ | **`pimax-mcp`** | 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. |
15
+ | **`shakeit-mcp`** | 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. |
16
+
17
+ **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
18
+ [issues](https://github.com/luangrezende/simrig-mcp/issues).
19
+
20
+ ## Why not just edit the files, or use Content Manager presets?
21
+
22
+ You can, and CM presets stay the right tool for setups you already trust. simrig-mcp lets an assistant try one
23
+ change at a time on the real files without you losing track.
24
+
25
+ - **Backup before every write**, one folder per change with a manifest, plus a JSON-lines `changes.log`.
26
+ - **`ac_undo`** restores any backup, and backs up the current state first, so undo is undoable.
27
+ - **Surgical edits**: comments, BOM and CRLF line endings survive; only the key you set changes.
28
+ - **Fenced paths**: known roots and text extensions only. No `..`, no executables, no arbitrary files.
29
+ - **Mod install is a dry run by default**, refuses zip-slip paths, never copies `.exe/.dll/.bat/.ps1/...`,
30
+ and refuses to install while the game is open.
31
+ - **Pimax changes need `confirm=True`**, which the model is told to pass only after you approve, against a closed list.
32
+ - **Read-only mode**: `AC_CONFIG_MCP_READ_ONLY=1` / `PIMAX_MCP_READ_ONLY=1` and the write tools are not even registered.
33
+
34
+ ## Install
35
+
36
+ You need Windows and [uv](https://docs.astral.sh/uv/), which brings its own Python. In Claude Code:
37
+
38
+ ```powershell
39
+ claude mcp add acconfig -- uvx simrig-mcp acconfig
40
+ claude mcp add pimax -- uvx simrig-mcp pimax
41
+ claude mcp add shakeit -- uvx simrig-mcp shakeit
42
+ ```
43
+
44
+ Any other MCP client (Claude Desktop, Cursor, ...):
45
+
46
+ ```json
47
+ {
48
+ "mcpServers": {
49
+ "acconfig": { "command": "uvx", "args": ["simrig-mcp", "acconfig"] },
50
+ "pimax": { "command": "uvx", "args": ["simrig-mcp", "pimax"] },
51
+ "shakeit": { "command": "uvx", "args": ["simrig-mcp", "shakeit"] }
52
+ }
53
+ }
54
+ ```
55
+
56
+ Add only the servers for the gear you have:
57
+
58
+ - `acconfig`: Assetto Corsa (Steam). CSP and Content Manager are optional, but most tools assume them.
59
+ - `pimax`: Pimax Play running (tested with Pimax Play 2.0.4 and a Crystal OG). The CLI ships with Pimax Play.
60
+ - `shakeit`: SimHub installed. It reads the settings files; SimHub does not need to be running.
61
+
62
+ Without uv: `pip install simrig-mcp` (Python 3.10+) puts `ac-config-mcp`, `pimax-mcp` and `simrig-mcp` on your PATH.
63
+ Published on [PyPI](https://pypi.org/project/simrig-mcp/) and in the official
64
+ [MCP Registry](https://registry.modelcontextprotocol.io) as `io.github.luangrezende/ac-config-mcp`,
65
+ `io.github.luangrezende/pimax-mcp` and `io.github.luangrezende/shakeit-mcp`.
66
+
67
+ <!-- mcp-name: io.github.luangrezende/ac-config-mcp -->
68
+ <!-- mcp-name: io.github.luangrezende/pimax-mcp -->
69
+ <!-- mcp-name: io.github.luangrezende/shakeit-mcp -->
70
+
71
+ ## Try it
72
+
73
+ Check your haptics without any AI, straight from a terminal:
74
+
75
+ ```powershell
76
+ uvx simrig-mcp shakeit-audit
77
+ ```
78
+
79
+ ```text
80
+ Source: C:\Program Files (x86)\SimHub\PluginsData\Common
81
+ Bass profile: <your bass profile> | Motors profile: <your motors profile>
82
+ [INFO] Belt heave is on
83
+ Heave on the belt pulls over bumps and kerbs and can be confused with braking. Check it adds something.
84
+ ```
85
+
86
+ Add `--json` for the full result. With the servers added to your client, ask something like:
87
+
88
+ > "AC in VR feels choppy on the straight after turn 1. Check what the Pimax runtime is doing and suggest one change."
89
+
90
+ The assistant reads `pimax_runtime_stats(exe="acs")` (missed frames, GPU%), `pimax_runtime_state` and
91
+ `ac_read("ext/vr_tweaks.ini")`, proposes a single change, applies it with `ac_set` after you agree, and after
92
+ your next stint compares the stats again. If it got worse: `ac_undo`.
93
+
94
+ ## What it does not do
95
+
96
+ - Run on Linux or macOS: Assetto Corsa, Pimax Play and SimHub are Windows tools, and so are the paths here.
97
+ - Change Pimax refresh rate, FOV, foveated rendering or Smart Smoothing: the Pimax CLI does not expose them, so set
98
+ them in Pimax Play. The PimaxClient `config.json` (login token) is never read.
99
+ - Write SimHub settings: `shakeit-mcp` only reads and reports.
100
+ - Notice changes for an open Content Manager: CM may show old values until it reloads.
101
+
102
+ ## Guides
103
+
104
+ Two guides came out of this work and are useful without any AI at all:
105
+
106
+ - [Eye-tracked foveated rendering in Assetto Corsa on a Pimax](https://github.com/luangrezende/simrig-mcp/blob/main/docs/assetto-corsa-csp-openxr-eye-tracked-vrs.md),
107
+ in CSP's native OpenXR mode. I couldn't find this written anywhere else.
108
+ - [SimHub haptics: one event, one owner](https://github.com/luangrezende/simrig-mcp/blob/main/docs/simhub-haptics-one-event-one-owner.md).
109
+
110
+ Every tool, the file roots, the environment variables and how to run the tests:
111
+ [docs/tools.md](https://github.com/luangrezende/simrig-mcp/blob/main/docs/tools.md).
112
+
113
+ ## Why I built this
114
+
115
+ 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
116
+ bass shakers, vibration motors, wind and an active belt tensioner, mostly driving Assetto Corsa with CSP.
117
+
118
+ Anyone with a rig like that knows the pain: hundreds of settings spread across `video.ini`, CSP overrides, Content
119
+ Manager presets, Pimax Play and the runtime, and every forum thread swears by a different combination. I wanted an
120
+ assistant to tune it like an engineer would, so I built these servers to give it exactly that, safely. I'm sharing
121
+ it in case it saves other sim racers some evenings of trial and error.
122
+
123
+ ## License
124
+
125
+ [MIT](https://github.com/luangrezende/simrig-mcp/blob/main/LICENSE). Not affiliated with Kunos Simulazioni,
126
+ Ilja Jusupov (CSP / Content Manager), Pimax or SimHub.
@@ -0,0 +1,70 @@
1
+ # Tools and configuration
2
+
3
+ Reference for the three servers in [simrig-mcp](../README.md).
4
+
5
+ ## ac-config-mcp
6
+
7
+ Files are addressed as `<root>/<relative path>`:
8
+ `cfg/` (Documents\Assetto Corsa\cfg), `ext/` (CSP overrides), `pure/`, `sys/` (game `system\cfg`),
9
+ `apps/`, `extcfg/` (`extension\config-ext`), `acroot/` (only `opencomposite.ini`).
10
+
11
+ | Read | Write (backup + log + undo) |
12
+ |---|---|
13
+ | `ac_status` - AC/CM running, roots, last changes | `ac_set`, `ac_set_many` - set ini keys |
14
+ | `ac_list_files`, `ac_read` - ini files as values | `ac_apply_video_preset`, `ac_save_video_preset` |
15
+ | `ac_csp_doc` - CSP default + inline docs + your override | `ac_apply_csp_preset`, `ac_save_csp_preset` |
16
+ | `ac_list_presets`, `ac_read_video_preset` | `ac_set_pp_filter`, `ac_set_python_app` |
17
+ | `ac_list_pp_filters`, `ac_list_apps` | `ac_write_text`, `ac_replace_text` - Lua/Python/config text |
18
+ | `ac_read_text`, `ac_list_backups` | `ac_install_mod` (dry run by default), `ac_undo` |
19
+
20
+ Content Manager does not watch these files, so an open CM may show old values until it reloads.
21
+ With AC running, most changes apply on the next session.
22
+
23
+ ## pimax-mcp
24
+
25
+ | Tool | Source |
26
+ |---|---|
27
+ | `pimax_status`, `pimax_doctor` | Pimax CLI |
28
+ | `pimax_settings` | Pimax CLI: quality, brightness, local dimming, overlay scale, eye tracking |
29
+ | `pimax_runtime_state` | PiService log: per-app render scale, FOV, foveated/quad views, smart smoothing, upscaling actually read by the runtime |
30
+ | `pimax_runtime_stats` | Compositor log: app vs compositor FPS, % missed frames, stale/discarded, GPU%/CPU% per session (`exe="acs"` for AC) |
31
+ | `pimax_set` | Pimax CLI, closed list of settings, `confirm=True` required |
32
+
33
+ Refresh rate, FOV, foveated rendering and Smart Smoothing are not exposed by the Pimax CLI; change them in Pimax Play.
34
+ The PimaxClient `config.json` (login token) is never read.
35
+
36
+ ## shakeit-mcp
37
+
38
+ | Tool | What it returns |
39
+ |---|---|
40
+ | `shakeit_audit` | Findings for the active bass and motor profiles, following [one event, one owner](simhub-haptics-one-event-one-owner.md) |
41
+ | `shakeit_effects` | Effects of the active `bass` or `motors` profile: enabled, gain, filter, output, routed |
42
+ | `shakeit_outputs` | Shaker sound outputs (filters, latency mode, channels) and the motor routing table per output |
43
+
44
+ The same audit runs without any AI: `uvx simrig-mcp shakeit-audit` (add `--json` for the full result).
45
+
46
+ ## Configuration
47
+
48
+ Everything is auto-detected; override only if needed.
49
+
50
+ | Variable | Default |
51
+ |---|---|
52
+ | `AC_ROOT` | Steam library containing `steamapps\common\assettocorsa` (reads `libraryfolders.vdf`) |
53
+ | `AC_DOCUMENTS` | `<Documents>\Assetto Corsa` (follows OneDrive folder redirection) |
54
+ | `CM_PRESETS` | `%LOCALAPPDATA%\AcTools Content Manager\Presets` |
55
+ | `AC_CONFIG_MCP_HOME` | `%LOCALAPPDATA%\ac-config-mcp` (backups and `changes.log`) |
56
+ | `AC_CONFIG_MCP_READ_ONLY` | off |
57
+ | `PIMAX_CLI` | `%ProgramFiles%\Pimax\PimaxClient\pimaxui\resources\pimaxcli\pimax.exe` |
58
+ | `PIMAX_MCP_HOME` | `%LOCALAPPDATA%\pimax-mcp` (`changes.log`) |
59
+ | `PIMAX_MCP_READ_ONLY` | off |
60
+ | `SIMHUB_DIR` | `%ProgramFiles(x86)%\SimHub` (settings read from `PluginsData\Common`) |
61
+
62
+ ## Development
63
+
64
+ ```powershell
65
+ uv sync
66
+ uv run pytest
67
+ uv run ruff check .
68
+ ```
69
+
70
+ Tests run against temporary folders and fake processes; they never touch a real game or headset.
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "simrig-mcp"
7
- version = "0.2.1"
7
+ version = "0.2.2"
8
8
  description = "MCP servers for sim racing on Windows: Assetto Corsa / CSP / Content Manager config, Pimax VR headsets and SimHub ShakeIt haptics."
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -7,12 +7,12 @@
7
7
  "url": "https://github.com/luangrezende/simrig-mcp",
8
8
  "source": "github"
9
9
  },
10
- "version": "0.2.1",
10
+ "version": "0.2.2",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "pypi",
14
14
  "identifier": "simrig-mcp",
15
- "version": "0.2.1",
15
+ "version": "0.2.2",
16
16
  "runtimeHint": "uvx",
17
17
  "transport": {
18
18
  "type": "stdio"
@@ -7,12 +7,12 @@
7
7
  "url": "https://github.com/luangrezende/simrig-mcp",
8
8
  "source": "github"
9
9
  },
10
- "version": "0.2.1",
10
+ "version": "0.2.2",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "pypi",
14
14
  "identifier": "simrig-mcp",
15
- "version": "0.2.1",
15
+ "version": "0.2.2",
16
16
  "runtimeHint": "uvx",
17
17
  "transport": {
18
18
  "type": "stdio"
@@ -7,12 +7,12 @@
7
7
  "url": "https://github.com/luangrezende/simrig-mcp",
8
8
  "source": "github"
9
9
  },
10
- "version": "0.2.1",
10
+ "version": "0.2.2",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "pypi",
14
14
  "identifier": "simrig-mcp",
15
- "version": "0.2.1",
15
+ "version": "0.2.2",
16
16
  "runtimeHint": "uvx",
17
17
  "transport": {
18
18
  "type": "stdio"
@@ -0,0 +1 @@
1
+ __version__ = "0.2.2"
@@ -1054,7 +1054,7 @@ wheels = [
1054
1054
 
1055
1055
  [[package]]
1056
1056
  name = "simrig-mcp"
1057
- version = "0.2.1"
1057
+ version = "0.2.2"
1058
1058
  source = { editable = "." }
1059
1059
  dependencies = [
1060
1060
  { name = "mcp" },
simrig_mcp-0.2.1/PKG-INFO DELETED
@@ -1,186 +0,0 @@
1
- Metadata-Version: 2.5
2
- Name: simrig-mcp
3
- Version: 0.2.1
4
- Summary: MCP servers for sim racing on Windows: Assetto Corsa / CSP / Content Manager config, Pimax VR headsets and SimHub ShakeIt haptics.
5
- Project-URL: Homepage, https://github.com/luangrezende/simrig-mcp
6
- Project-URL: Issues, https://github.com/luangrezende/simrig-mcp/issues
7
- Project-URL: Guide, https://github.com/luangrezende/simrig-mcp/blob/main/docs/assetto-corsa-csp-openxr-eye-tracked-vrs.md
8
- License-Expression: MIT
9
- License-File: LICENSE
10
- Keywords: assetto-corsa,bass-shaker,content-manager,csp,haptics,mcp,openxr,pimax,sim-racing,simhub,vr
11
- Classifier: Operating System :: Microsoft :: Windows
12
- Classifier: Programming Language :: Python :: 3
13
- Classifier: Topic :: Games/Entertainment :: Simulation
14
- Requires-Python: >=3.10
15
- Requires-Dist: mcp>=1.2
16
- Description-Content-Type: text/markdown
17
-
18
- # simrig-mcp
19
-
20
- [![CI](https://github.com/luangrezende/simrig-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/luangrezende/simrig-mcp/actions/workflows/ci.yml)
21
- [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
22
-
23
- Three [MCP](https://modelcontextprotocol.io) servers that let an AI assistant (Claude Code, Claude Desktop, Cursor, ...)
24
- work on a Windows sim racing rig the way a careful engineer would: read the real configuration, change one thing,
25
- keep a backup, measure, and roll back if it got worse.
26
-
27
- | Server | What it does |
28
- |---|---|
29
- | **`ac-config-mcp`** | Reads 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. |
30
- | **`pimax-mcp`** | 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. |
31
- | **`shakeit-mcp`** | Audits **SimHub ShakeIt** haptics (bass shakers, every motor output such as Arduino, Fanatec or Simagic, and a SimParts belt): the same event on several devices, continuous effects stacked on one shaker, redundant effect pairs, gain headroom, filters and motor effects that are on but routed nowhere. Read-only. Also a plain CLI: `uvx simrig-mcp shakeit-audit`. |
32
-
33
- Two guides came out of this work and are useful without any AI at all:
34
- [eye-tracked foveated rendering in Assetto Corsa on a Pimax](docs/assetto-corsa-csp-openxr-eye-tracked-vrs.md) and
35
- [SimHub haptics: one event, one owner](docs/simhub-haptics-one-event-one-owner.md).
36
-
37
- ## Why I built this
38
-
39
- 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
40
- bass shakers, vibration motors, wind and an active belt tensioner, mostly driving Assetto Corsa with CSP.
41
-
42
- Anyone with a rig like that knows the pain: hundreds of settings spread across `video.ini`, CSP overrides, Content
43
- Manager presets, Pimax Play and the runtime, and every forum thread swears by a different combination. I wanted an
44
- AI assistant to help me tune it like an engineer would: look at the real config, change one thing at a time,
45
- measure, and roll back if it got worse. So I built these servers to give it exactly that, safely.
46
-
47
- The first thing it helped me find was something I couldn't find written anywhere: a guide to
48
- [running AC in CSP's native OpenXR mode with eye-tracked foveated rendering on a Pimax](docs/assetto-corsa-csp-openxr-eye-tracked-vrs.md).
49
- I'm sharing it all in case it saves other sim racers some evenings of trial and error.
50
-
51
- ## Why not just edit the files?
52
-
53
- You can. The point is letting an assistant do it **safely**:
54
-
55
- - **Backup before every write**, one folder per change with a manifest, plus a JSON-lines `changes.log`.
56
- - **`ac_undo`** restores any backup (and backs up the current state first, so undo is undoable).
57
- Files a change created are removed on undo.
58
- - **Edits are surgical**: comments, BOM and CRLF line endings survive; only the key you set changes.
59
- - **Paths are fenced** to known roots and text extensions. No `..`, no executables, no arbitrary files.
60
- - **Mod install is dry-run by default**, refuses zip-slip paths, never copies `.exe/.dll/.bat/.ps1/...`,
61
- and refuses to run while the game is open.
62
- - **Pimax changes need `confirm=True`**, which the tool description tells the model to pass only after you approve.
63
- Values are validated against a closed list.
64
- - **Read-only mode**: set `AC_CONFIG_MCP_READ_ONLY=1` / `PIMAX_MCP_READ_ONLY=1` and the write tools are not even registered.
65
-
66
- ## Requirements
67
-
68
- - Windows, Python 3.10+
69
- - `ac-config-mcp`: Assetto Corsa (Steam). CSP and Content Manager are optional but most tools assume them.
70
- - `pimax-mcp`: Pimax Play running (tested with Pimax Play 2.0.4 and a Crystal OG). The CLI ships with Pimax Play.
71
- - `shakeit-mcp`: SimHub installed (it reads the settings files; SimHub does not need to be running).
72
-
73
- ## Install
74
-
75
- Published on [PyPI](https://pypi.org/project/simrig-mcp/) and in the official
76
- [MCP Registry](https://registry.modelcontextprotocol.io) as `io.github.luangrezende/ac-config-mcp`,
77
- `io.github.luangrezende/pimax-mcp` and `io.github.luangrezende/shakeit-mcp`. With [uv](https://docs.astral.sh/uv/)
78
- there is nothing to install by hand: the client runs `uvx simrig-mcp acconfig|pimax|shakeit`.
79
-
80
- ### Claude Code
81
-
82
- ```powershell
83
- claude mcp add acconfig -- uvx simrig-mcp acconfig
84
- claude mcp add pimax -- uvx simrig-mcp pimax
85
- claude mcp add shakeit -- uvx simrig-mcp shakeit
86
- ```
87
-
88
- ### Any MCP client (JSON)
89
-
90
- ```json
91
- {
92
- "mcpServers": {
93
- "acconfig": { "command": "uvx", "args": ["simrig-mcp", "acconfig"] },
94
- "pimax": { "command": "uvx", "args": ["simrig-mcp", "pimax"] },
95
- "shakeit": { "command": "uvx", "args": ["simrig-mcp", "shakeit"] }
96
- }
97
- }
98
- ```
99
-
100
- Without uv: `pip install simrig-mcp` puts `ac-config-mcp` and `pimax-mcp` on your PATH (and `simrig-mcp shakeit`).
101
- From source: `git clone https://github.com/luangrezende/simrig-mcp`, then `uv sync` (servers end up in `.venv\Scripts\`).
102
-
103
- <!-- mcp-name: io.github.luangrezende/ac-config-mcp -->
104
- <!-- mcp-name: io.github.luangrezende/pimax-mcp -->
105
- <!-- mcp-name: io.github.luangrezende/shakeit-mcp -->
106
-
107
- ## Configuration
108
-
109
- Everything is auto-detected; override only if needed.
110
-
111
- | Variable | Default |
112
- |---|---|
113
- | `AC_ROOT` | Steam library containing `steamapps\common\assettocorsa` (reads `libraryfolders.vdf`) |
114
- | `AC_DOCUMENTS` | `<Documents>\Assetto Corsa` (follows OneDrive folder redirection) |
115
- | `CM_PRESETS` | `%LOCALAPPDATA%\AcTools Content Manager\Presets` |
116
- | `AC_CONFIG_MCP_HOME` | `%LOCALAPPDATA%\ac-config-mcp` (backups and `changes.log`) |
117
- | `AC_CONFIG_MCP_READ_ONLY` | off |
118
- | `PIMAX_CLI` | `%ProgramFiles%\Pimax\PimaxClient\pimaxui\resources\pimaxcli\pimax.exe` |
119
- | `PIMAX_MCP_HOME` | `%LOCALAPPDATA%\pimax-mcp` (`changes.log`) |
120
- | `PIMAX_MCP_READ_ONLY` | off |
121
- | `SIMHUB_DIR` | `%ProgramFiles(x86)%\SimHub` (settings read from `PluginsData\Common`) |
122
-
123
- ## Tools
124
-
125
- ### ac-config-mcp
126
-
127
- Files are addressed as `<root>/<relative path>`:
128
- `cfg/` (Documents\Assetto Corsa\cfg), `ext/` (CSP overrides), `pure/`, `sys/` (game `system\cfg`),
129
- `apps/`, `extcfg/` (`extension\config-ext`), `acroot/` (only `opencomposite.ini`).
130
-
131
- | Read | Write (backup + log + undo) |
132
- |---|---|
133
- | `ac_status` - AC/CM running, roots, last changes | `ac_set`, `ac_set_many` - set ini keys |
134
- | `ac_list_files`, `ac_read` - ini files as values | `ac_apply_video_preset`, `ac_save_video_preset` |
135
- | `ac_csp_doc` - CSP default + inline docs + your override | `ac_apply_csp_preset`, `ac_save_csp_preset` |
136
- | `ac_list_presets`, `ac_read_video_preset` | `ac_set_pp_filter`, `ac_set_python_app` |
137
- | `ac_list_pp_filters`, `ac_list_apps` | `ac_write_text`, `ac_replace_text` - Lua/Python/config text |
138
- | `ac_read_text`, `ac_list_backups` | `ac_install_mod` (dry run by default), `ac_undo` |
139
-
140
- Notes: Content Manager does not watch these files, so an open CM may show old values until it reloads.
141
- With AC running, most changes apply on the next session.
142
-
143
- ### pimax-mcp
144
-
145
- | Tool | Source |
146
- |---|---|
147
- | `pimax_status`, `pimax_doctor` | Pimax CLI |
148
- | `pimax_settings` | Pimax CLI: quality, brightness, local dimming, overlay scale, eye tracking |
149
- | `pimax_runtime_state` | PiService log: per-app render scale, FOV, foveated/quad views, smart smoothing, upscaling actually read by the runtime |
150
- | `pimax_runtime_stats` | Compositor log: app vs compositor FPS, % missed frames, stale/discarded, GPU%/CPU% per session (`exe="acs"` for AC) |
151
- | `pimax_set` | Pimax CLI, closed list of settings, `confirm=True` required |
152
-
153
- Refresh rate, FOV, foveated rendering and Smart Smoothing are not exposed by the Pimax CLI; change them in Pimax Play.
154
- The PimaxClient `config.json` (login token) is never read.
155
-
156
- ### shakeit-mcp
157
-
158
- | Tool | What it returns |
159
- |---|---|
160
- | `shakeit_audit` | Findings for the active bass and motor profiles, following [one event, one owner](docs/simhub-haptics-one-event-one-owner.md) |
161
- | `shakeit_effects` | Effects of the active `bass` or `motors` profile: enabled, gain, filter, output, routed |
162
- | `shakeit_outputs` | Shaker sound outputs (filters, latency mode, channels) and the motor routing table per output |
163
-
164
- The same audit runs without any AI: `uvx simrig-mcp shakeit-audit` (add `--json` for the full result).
165
-
166
- ## Example session
167
-
168
- > "AC in VR feels choppy on the straight after turn 1. Check what the Pimax runtime is doing and suggest one change."
169
-
170
- The assistant reads `pimax_runtime_stats(exe="acs")` (missed frames, GPU%), `pimax_runtime_state` and
171
- `ac_read("ext/vr_tweaks.ini")`, proposes a single change, applies it with `ac_set` after you agree, and after
172
- your next stint compares the stats again. If it got worse: `ac_undo`.
173
-
174
- ## Development
175
-
176
- ```powershell
177
- uv sync
178
- uv run pytest
179
- uv run ruff check .
180
- ```
181
-
182
- Tests run against temporary folders and fake processes; they never touch a real game or headset.
183
-
184
- ## License
185
-
186
- MIT. Not affiliated with Kunos Simulazioni, Ilja Jusupov (CSP / Content Manager) or Pimax.
@@ -1,169 +0,0 @@
1
- # simrig-mcp
2
-
3
- [![CI](https://github.com/luangrezende/simrig-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/luangrezende/simrig-mcp/actions/workflows/ci.yml)
4
- [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
5
-
6
- Three [MCP](https://modelcontextprotocol.io) servers that let an AI assistant (Claude Code, Claude Desktop, Cursor, ...)
7
- work on a Windows sim racing rig the way a careful engineer would: read the real configuration, change one thing,
8
- keep a backup, measure, and roll back if it got worse.
9
-
10
- | Server | What it does |
11
- |---|---|
12
- | **`ac-config-mcp`** | Reads 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. |
13
- | **`pimax-mcp`** | 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. |
14
- | **`shakeit-mcp`** | Audits **SimHub ShakeIt** haptics (bass shakers, every motor output such as Arduino, Fanatec or Simagic, and a SimParts belt): the same event on several devices, continuous effects stacked on one shaker, redundant effect pairs, gain headroom, filters and motor effects that are on but routed nowhere. Read-only. Also a plain CLI: `uvx simrig-mcp shakeit-audit`. |
15
-
16
- Two guides came out of this work and are useful without any AI at all:
17
- [eye-tracked foveated rendering in Assetto Corsa on a Pimax](docs/assetto-corsa-csp-openxr-eye-tracked-vrs.md) and
18
- [SimHub haptics: one event, one owner](docs/simhub-haptics-one-event-one-owner.md).
19
-
20
- ## Why I built this
21
-
22
- 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
23
- bass shakers, vibration motors, wind and an active belt tensioner, mostly driving Assetto Corsa with CSP.
24
-
25
- Anyone with a rig like that knows the pain: hundreds of settings spread across `video.ini`, CSP overrides, Content
26
- Manager presets, Pimax Play and the runtime, and every forum thread swears by a different combination. I wanted an
27
- AI assistant to help me tune it like an engineer would: look at the real config, change one thing at a time,
28
- measure, and roll back if it got worse. So I built these servers to give it exactly that, safely.
29
-
30
- The first thing it helped me find was something I couldn't find written anywhere: a guide to
31
- [running AC in CSP's native OpenXR mode with eye-tracked foveated rendering on a Pimax](docs/assetto-corsa-csp-openxr-eye-tracked-vrs.md).
32
- I'm sharing it all in case it saves other sim racers some evenings of trial and error.
33
-
34
- ## Why not just edit the files?
35
-
36
- You can. The point is letting an assistant do it **safely**:
37
-
38
- - **Backup before every write**, one folder per change with a manifest, plus a JSON-lines `changes.log`.
39
- - **`ac_undo`** restores any backup (and backs up the current state first, so undo is undoable).
40
- Files a change created are removed on undo.
41
- - **Edits are surgical**: comments, BOM and CRLF line endings survive; only the key you set changes.
42
- - **Paths are fenced** to known roots and text extensions. No `..`, no executables, no arbitrary files.
43
- - **Mod install is dry-run by default**, refuses zip-slip paths, never copies `.exe/.dll/.bat/.ps1/...`,
44
- and refuses to run while the game is open.
45
- - **Pimax changes need `confirm=True`**, which the tool description tells the model to pass only after you approve.
46
- Values are validated against a closed list.
47
- - **Read-only mode**: set `AC_CONFIG_MCP_READ_ONLY=1` / `PIMAX_MCP_READ_ONLY=1` and the write tools are not even registered.
48
-
49
- ## Requirements
50
-
51
- - Windows, Python 3.10+
52
- - `ac-config-mcp`: Assetto Corsa (Steam). CSP and Content Manager are optional but most tools assume them.
53
- - `pimax-mcp`: Pimax Play running (tested with Pimax Play 2.0.4 and a Crystal OG). The CLI ships with Pimax Play.
54
- - `shakeit-mcp`: SimHub installed (it reads the settings files; SimHub does not need to be running).
55
-
56
- ## Install
57
-
58
- Published on [PyPI](https://pypi.org/project/simrig-mcp/) and in the official
59
- [MCP Registry](https://registry.modelcontextprotocol.io) as `io.github.luangrezende/ac-config-mcp`,
60
- `io.github.luangrezende/pimax-mcp` and `io.github.luangrezende/shakeit-mcp`. With [uv](https://docs.astral.sh/uv/)
61
- there is nothing to install by hand: the client runs `uvx simrig-mcp acconfig|pimax|shakeit`.
62
-
63
- ### Claude Code
64
-
65
- ```powershell
66
- claude mcp add acconfig -- uvx simrig-mcp acconfig
67
- claude mcp add pimax -- uvx simrig-mcp pimax
68
- claude mcp add shakeit -- uvx simrig-mcp shakeit
69
- ```
70
-
71
- ### Any MCP client (JSON)
72
-
73
- ```json
74
- {
75
- "mcpServers": {
76
- "acconfig": { "command": "uvx", "args": ["simrig-mcp", "acconfig"] },
77
- "pimax": { "command": "uvx", "args": ["simrig-mcp", "pimax"] },
78
- "shakeit": { "command": "uvx", "args": ["simrig-mcp", "shakeit"] }
79
- }
80
- }
81
- ```
82
-
83
- Without uv: `pip install simrig-mcp` puts `ac-config-mcp` and `pimax-mcp` on your PATH (and `simrig-mcp shakeit`).
84
- From source: `git clone https://github.com/luangrezende/simrig-mcp`, then `uv sync` (servers end up in `.venv\Scripts\`).
85
-
86
- <!-- mcp-name: io.github.luangrezende/ac-config-mcp -->
87
- <!-- mcp-name: io.github.luangrezende/pimax-mcp -->
88
- <!-- mcp-name: io.github.luangrezende/shakeit-mcp -->
89
-
90
- ## Configuration
91
-
92
- Everything is auto-detected; override only if needed.
93
-
94
- | Variable | Default |
95
- |---|---|
96
- | `AC_ROOT` | Steam library containing `steamapps\common\assettocorsa` (reads `libraryfolders.vdf`) |
97
- | `AC_DOCUMENTS` | `<Documents>\Assetto Corsa` (follows OneDrive folder redirection) |
98
- | `CM_PRESETS` | `%LOCALAPPDATA%\AcTools Content Manager\Presets` |
99
- | `AC_CONFIG_MCP_HOME` | `%LOCALAPPDATA%\ac-config-mcp` (backups and `changes.log`) |
100
- | `AC_CONFIG_MCP_READ_ONLY` | off |
101
- | `PIMAX_CLI` | `%ProgramFiles%\Pimax\PimaxClient\pimaxui\resources\pimaxcli\pimax.exe` |
102
- | `PIMAX_MCP_HOME` | `%LOCALAPPDATA%\pimax-mcp` (`changes.log`) |
103
- | `PIMAX_MCP_READ_ONLY` | off |
104
- | `SIMHUB_DIR` | `%ProgramFiles(x86)%\SimHub` (settings read from `PluginsData\Common`) |
105
-
106
- ## Tools
107
-
108
- ### ac-config-mcp
109
-
110
- Files are addressed as `<root>/<relative path>`:
111
- `cfg/` (Documents\Assetto Corsa\cfg), `ext/` (CSP overrides), `pure/`, `sys/` (game `system\cfg`),
112
- `apps/`, `extcfg/` (`extension\config-ext`), `acroot/` (only `opencomposite.ini`).
113
-
114
- | Read | Write (backup + log + undo) |
115
- |---|---|
116
- | `ac_status` - AC/CM running, roots, last changes | `ac_set`, `ac_set_many` - set ini keys |
117
- | `ac_list_files`, `ac_read` - ini files as values | `ac_apply_video_preset`, `ac_save_video_preset` |
118
- | `ac_csp_doc` - CSP default + inline docs + your override | `ac_apply_csp_preset`, `ac_save_csp_preset` |
119
- | `ac_list_presets`, `ac_read_video_preset` | `ac_set_pp_filter`, `ac_set_python_app` |
120
- | `ac_list_pp_filters`, `ac_list_apps` | `ac_write_text`, `ac_replace_text` - Lua/Python/config text |
121
- | `ac_read_text`, `ac_list_backups` | `ac_install_mod` (dry run by default), `ac_undo` |
122
-
123
- Notes: Content Manager does not watch these files, so an open CM may show old values until it reloads.
124
- With AC running, most changes apply on the next session.
125
-
126
- ### pimax-mcp
127
-
128
- | Tool | Source |
129
- |---|---|
130
- | `pimax_status`, `pimax_doctor` | Pimax CLI |
131
- | `pimax_settings` | Pimax CLI: quality, brightness, local dimming, overlay scale, eye tracking |
132
- | `pimax_runtime_state` | PiService log: per-app render scale, FOV, foveated/quad views, smart smoothing, upscaling actually read by the runtime |
133
- | `pimax_runtime_stats` | Compositor log: app vs compositor FPS, % missed frames, stale/discarded, GPU%/CPU% per session (`exe="acs"` for AC) |
134
- | `pimax_set` | Pimax CLI, closed list of settings, `confirm=True` required |
135
-
136
- Refresh rate, FOV, foveated rendering and Smart Smoothing are not exposed by the Pimax CLI; change them in Pimax Play.
137
- The PimaxClient `config.json` (login token) is never read.
138
-
139
- ### shakeit-mcp
140
-
141
- | Tool | What it returns |
142
- |---|---|
143
- | `shakeit_audit` | Findings for the active bass and motor profiles, following [one event, one owner](docs/simhub-haptics-one-event-one-owner.md) |
144
- | `shakeit_effects` | Effects of the active `bass` or `motors` profile: enabled, gain, filter, output, routed |
145
- | `shakeit_outputs` | Shaker sound outputs (filters, latency mode, channels) and the motor routing table per output |
146
-
147
- The same audit runs without any AI: `uvx simrig-mcp shakeit-audit` (add `--json` for the full result).
148
-
149
- ## Example session
150
-
151
- > "AC in VR feels choppy on the straight after turn 1. Check what the Pimax runtime is doing and suggest one change."
152
-
153
- The assistant reads `pimax_runtime_stats(exe="acs")` (missed frames, GPU%), `pimax_runtime_state` and
154
- `ac_read("ext/vr_tweaks.ini")`, proposes a single change, applies it with `ac_set` after you agree, and after
155
- your next stint compares the stats again. If it got worse: `ac_undo`.
156
-
157
- ## Development
158
-
159
- ```powershell
160
- uv sync
161
- uv run pytest
162
- uv run ruff check .
163
- ```
164
-
165
- Tests run against temporary folders and fake processes; they never touch a real game or headset.
166
-
167
- ## License
168
-
169
- MIT. Not affiliated with Kunos Simulazioni, Ilja Jusupov (CSP / Content Manager) or Pimax.
@@ -1 +0,0 @@
1
- __version__ = "0.2.1"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes