How It Works
About 136 wordsLess than 1 minute
ShimX is composed of the Flutter desktop app, local proxy, MCP server, CDP injection layer, and in-page bridge.
- The Flutter app initializes windowing, tray, theme, localization, and persisted config.
- If enabled, the local proxy and MCP server start on launch.
- On injection, ShimX launches or attaches to Codex Desktop and enables the remote debugging port.
- ShimX connects through CDP, registers Dart bridge routes, and injects
bridge_bootstrap.js, built-in enhancements, and user scripts. - The injected page scripts call Flutter features through the bridge for provider switching, session reading, export, logs, plugins, and Claude Bridge.
- With takeover enabled, Codex requests go to the ShimX local proxy first, then to the selected upstream provider, protocol, and model.