BMW AI Bridge
Connects to BMW vehicles over ENET/ICOM/D-CAN to read VCM data (FA, SVT, I-Step, VIN), edit FA/VO retrofits, calculate SVT/TAL, patch FDL NCDs, execute coding and TAL/flash jobs, plus read/clear DTCs, run EDIABAS jobs and ISTA+ test plans, service functions and wiring/torque documentation.
Supports MINI chassis codes as a PSdZ mainseries alongside BMW, exposing the same MCP diagnostics, coding, VO/FA editing, TAL flashing and EDIABAS service-function tools for MINI vehicles.
Supports Rolls-Royce chassis codes as a PSdZ mainseries, letting the same coding, diagnostics, telemetry and service-function tools operate on Rolls-Royce vehicles.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
BMW AI Bridge (bmw-ai-bridge)
Native AI MCP Server for BMW E-Sys, PSdZData, ISTA+ & EDIABAS (Tool32)
Connect Claude Desktop, Cursor, Codex, Antigravity, or any Model Context Protocol (MCP) client directly to your local BMW diagnostic, coding, and programming stack on Windows x64 — backed by multi-layer fail-closed safety guards and a Zero-Write Web UI Cockpit.
Feature Matrix • Architecture • Safety Model • Quick Setup • Supported Vehicles • Roadmap
Pre-Live-Vehicle Testing Notice: This project has passed extensive static analysis, red-team security audits, and automated tests (73/73 passing), but has NOT yet been extensively tested on a live vehicle. Live car testing is planned over the next few days.
Diagnostics, offline lookups, and FDL/VO coding pipelines are designed to be solid, but if anything crashes, fails to connect, or behaves unexpectedly, please open a GitHub Issue with logs — feedback and bug reports are very welcome!
Code Structure Note:
Two main files (src/bmw_ai_bridge/server.py and workers/esys-java/EsysPsdzWorker.java) are currently large/monolithic. This is temporary — once live vehicle testing confirms everything works reliably, they will be refactored into clean, modular folders.
Feature Matrix
E-Sys 25.10 & PSdZData 4.62.12 (BMW Coding, VO/FA, TAL & Programming MCP)
Status | Capability | Details / MCP Tools |
✅ | VCM Read (FA, SVT_ist, I-Step, VIN) | Live read over ENET / ICOM + auto-discovery ( |
✅ | FA / VO Editing (Retrofits) | Add/remove SALAPA options, HO-Wort, Zeitkriterium, offline FP decode ( |
✅ | SVT_soll & TAL Calculation | Full target topology & TAL calculation + XML inspection ( |
✅ | CAFD Search & Un-Trimming | 587 community OpenCAFDMap tables + 23 XML Cheat Sheets ( |
✅ | FDL Patching (Coding 1 / 2 / 3) | Bitmask/symbolic |
✅ | Coding Plan, Diff & Live Coding | Pre-write NCD/FA/SVT diff + dry-run plan hash + live execution ( |
✅ | TAL Execution (Flashing / Deployment) | Filtered TAL execution with DME |
✅ | Golden Backup & Restore Verification | Full FA + SVT + live NCDs with SHA-256 manifest ( |
✅ | KIS / ODX Offline Explorer | I-Step horizons, SWE dependency lookup, ODX inspection ( |
✅ | FSC / SWT & Secure Diagnostics | SWT status, Service 29 auth, KDS check, Programming Token requests, SFA dictionary ( |
⏳ | Live Vehicle Verification (Coding / Flash) | Automated tests 73/73 passing; real-car validation scheduled next |
☐ | Secure Coding 2.0 (NCD 2.0) Online Backend | Requires official BMW backend token/signing service (not available offline) |
ISTA+ 4.62.11 & EDIABAS 7.7.3 (BMW Diagnostics, Repair Manuals, Wiring & Tool32 MCP)
Status | Capability | Details / MCP Tools |
✅ | Offline ISTA+ SQLite Knowledge Base | Instant 2-phase BM25 FTS5 search across |
✅ | DTC Fault Lookup & VIN Decoder | Hex/decimal fault lookup + offline ISO 3779 BMW Group VIN decoding ( |
✅ | Interactive SVG Wiring Diagrams (SSP) | Search, extract, highlight components/pins, pan & zoom ( |
✅ | Tightening Torques & Fluid Specs | Structured Nm / angle / bolt-replacement flags & Longlife oil/fluid specs ( |
✅ | Vehicle Test, Test Plan & Measures Plan | Automated ISTA+ |
✅ | ABL Service Functions (23,437 Modules) | Search, inspect, and run ISTA+ ABL procedures ( |
✅ | Native EDIABAS 64-bit ( | Direct job execution over ENET, ICOM, and dedicated D-CAN ( |
✅ | Tool32 BEST/2 Offline Inspector | Inspect 1,433 |
✅ | Live Telemetry & Health / Pre-Purchase Audit | Multi-ECU live telemetry, full Vehicle Health Report, and Pre-Purchase Forensic Audit ( |
✅ | Zero-Write Web UI Cockpit (PL / EN) | Local |
⏳ | Live Vehicle Verification (ENET / D-CAN) | Automated tests 73/73 passing; real-car validation scheduled next |
☐ | Modular Folder Refactor | Splitting monolithic |
Related MCP server: AKIMCP
Architecture
flowchart LR
AI["AI Client<br/>Claude / Cursor / Codex / Antigravity"] <-->|MCP stdio| MCP["bmw-ai-bridge MCP Server<br/>Python 3.11+ (40 Tools)"]
UI["Zero-Write Web UI Cockpit<br/>127.0.0.1:8765 (PL / EN)"] -.->|SSE Read-Only| MCP
subgraph Safety["Fail-Closed Safety Layer"]
SG["SafetyGate<br/>Voltage / RPM=0 / DME Lock<br/>Golden Backup / plan_hash"]
ARB["VehicleBusArbiter<br/>OS Mutex / External App Guard<br/>UNKNOWN Latch"]
end
MCP --> Safety
Safety --> JAVA["Java 11 PSdZ Worker<br/>E-Sys 25.10 + PSdZData 4.62"]
Safety --> DOTNET["C# .NET 4.8.1 x64 Worker<br/>ISTA+ 4.62 + EDIABAS 7.7.3<br/>WorkerSafetyGuard (HMAC-SHA256)"]
MCP --> KB["Offline SQLite KB<br/>ISTA+ FTS5 + OpenCAFDMap<br/>+ 23 XML Cheat Sheets"]
JAVA <-->|ENET / ICOM| CAR["BMW / MINI / RR Vehicle"]
DOTNET <-->|ENET / ICOM / D-CAN| CARHow Safety Works
Every vehicle-mutating operation passes through multiple independent fail-closed guards designed so nothing gets bricked:
Layer | Protection Mechanism |
1. | Enforces live battery voltage ( |
2. DME / DDE Lock ( | Engine ECUs are blocked from writes across coding, flashing, FSC, EDIABAS, and ABL unless explicitly overridden. |
3. Golden Backup SHA-256 | Requires a recent, verified Golden Backup matching the exact 17-character VIN before mutating operations. |
4. Two-Step | Every write tool defaults to |
5. | Cross-process OS mutex prevents E-Sys, ISTA+, EDIABAS, and UI from colliding on the bus; detects external BMW apps ( |
6. Native Worker Guards | C# |
7. Zero-Write Web UI | Local |
Supported Vehicles & Presets
Universal Multi-Series Support: Covers 258 BMW, MINI, Rolls-Royce, and BMW Motorrad chassis codes across all 23 PSdZ
mainseries(E / F / G / U / I / NA / MINI / RR / Motorrad).Universal Presets (All Series): Includes 32 universal EDIABAS service procedures (battery registration, IBS status, CBS, diesel DPF/SCR, ACSM EDR, etc.) and 9 universal telemetry presets using official
.grpauto-routing (g_motor,d_motor,g_kombi,g_cas,g_dsc,g_egs) so they automatically select the right ECU.prgfor your car.Model-Specific Example Presets: Also includes an extended preset pack for BMW X1 F48 / UKL2 (43 service procedures, 5 telemetry presets, 12 FDL coding presets) as a reference template.
Requirements
Component | Recommended / Tested Version |
OS | Windows 10 / 11 (64-bit) |
Python | 3.11+ (64-bit) |
JDK (to compile Java worker) | JDK 11+ or 21 (e.g. Eclipse Temurin) |
.NET SDK (to compile C# worker) | .NET SDK 8/9 + .NET Framework 4.8.1 Developer Pack |
BMW E-Sys | 25.10 (local installation required) |
BMW PSdZData | 4.62.12 (Lite for coding / Full for flashing) |
BMW ISTA+ | 4.62.11 (with |
EDIABAS | 7.7.3 (included with ISTA+ or standalone) |
No proprietary BMW files are included in this repository. You must have your own local installations of E-Sys, PSdZData, ISTA+, and EDIABAS.
Quick Setup (One Command)
git clone https://github.com/PolcioHubi/bmw-ai-bridge.git
cd bmw-ai-bridge
.\setup.ps1setup.ps1 automatically detects your BMW installations, creates .venv, compiles both native workers (BmwIstaBridge.exe + EsysPsdzWorker.class), generates config/bridge.toml, runs bridge doctor, and prints a ready-to-paste MCP JSON snippet for Claude Desktop, Cursor, Antigravity, or Codex.
Useful CLI Commands
# Environment diagnostics
.\.venv\Scripts\python.exe -X utf8 -m bmw_ai_bridge.cli doctor
# Run MCP server (stdio)
.\.venv\Scripts\python.exe -X utf8 -m bmw_ai_bridge.cli serve
# Launch Zero-Write Web UI Cockpit (http://127.0.0.1:8765)
.\.venv\Scripts\python.exe -X utf8 -m bmw_ai_bridge.cli ui
# Run full automated test suite (73 tests)
.\.venv\Scripts\pytest.exe -qZero-Write Web UI Cockpit
Launch bmw_ai_bridge.cli ui and open http://127.0.0.1:8765 for a 100% offline, Zero-Write companion workbench with a PL / EN language switcher in the top bar:
Overview: Live AI activity stream, ECU topology matrix, and automatic AI context spotlight.
ISTA+ KB: Instant offline DTC lookup, repair manuals with zoomable photos, and interactive SVG wiring diagrams.
Telemetry: Live read-only gauges, dual real-time charts, 0–100 km/h timer, desk simulation mode, and CSV export.
E-Sys Offline: SVT tree viewer, 23 searchable XML Cheat Sheets, OpenCAFDMap browser, Golden Backup viewer, and FSC/SFA dictionaries.
Safety: Live
VehicleBusArbiterlock monitor,SafetyGatelimits, and security audit log.
Roadmap & Known Limitations
Complete live vehicle validation across ENET and D-CAN (diagnostics, Golden Backup, FDL coding, service functions).
Refactor monolithic
server.pyandEsysPsdzWorker.javainto clean modular subpackages once live testing is complete.Expand model-specific preset packs beyond universal
.grp+ F48.
Community Data Credits & Attribution
This repository includes only open community coding metadata (no proprietary BMW binaries):
OpenCAFDMap (
data/opencafdmap/) — untrimmed CAFD mapping tables and FA/SA metadata from the open-source OpenCAFDMap project (seedata/opencafdmap/LICENSE).BMW E-Sys XML Cheat Sheets (
data/cheatsheets/) — community FDL cheat sheet XMLs authored by Almaretto and the BMW coding community (E-Sys Launcher / BimmerUtility / Bimmerpost contributors; individual author credits are preserved inside each XML file).
License
This project is licensed under the PolyForm Noncommercial License 1.0.0 (PolyForm-Noncommercial-1.0.0).
You are free to use, study, fork, and modify this software for personal, educational, and non-commercial purposes.
Commercial use is not permitted without explicit written permission from the author (e.g., paid workshops, commercial coding services, or selling derivative products).
Bundled third-party community data under
data/opencafdmap/remains subject to its own upstream license indata/opencafdmap/LICENSE.
Disclaimer
This software is provided "AS IS", without warranty of any kind. Vehicle diagnostics, FDL/VO coding, and ECU flashing carry inherent risk. Always use a stabilized battery power supply when coding or flashing, verify every dry-run plan before confirming, and use this tool strictly at your own risk.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Remote MCP access to user-authorized Linux, Windows and Intel Mac devices for AI assistants.
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Connect AI assistants to registered Windows and macOS computers using OAuth 2.0 and Streamable HTTP. Use 19 MCP tools for files, commands, processes, services and TLS 1.3 direct LAN file transfer. The Windows desktop client includes MCP Services to scan supported local software and quick-connect integrations such as ComfyUI, Blender, DaVinci Resolve, OBS and Microsoft Office. Free plan: 1 device and 10,000 tool calls/month. Windows guide: https://github.com/DNSDATA/dns-data-mcp/tree/main/windows-client Glama repository listing: https://glama.ai/mcp/servers/DNSDATA/dns-data-mcp
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceThis MCP server enables web AI assistants such as ChatGPT, Claude Web, and Gemini Web to securely connect to local IDEs and workspaces for file edits, terminal and Git commands, and multi-project navigation through an outbound bridge with zero inbound ports.2MIT
- FlicenseNot gradedqualityAmaintenanceExposes a governed suite of 38 tools over a single OAuth-gated MCP endpoint, letting web AI chat clients such as Claude, ChatGPT, and Grok operate on a local machine — reading and editing files, running whitelisted shell commands, searching, querying SQLite, driving browsers and DevTools, managing background jobs, ports, and clipboard. Local IDEs and Postman can also connect directly over localhost for offline, low-latency access.-
- AlicenseNot gradedqualityAmaintenanceEnables web-based AI clients like Claude, ChatGPT, and Grok to securely operate a local machine through OAuth-gated MCP tools covering files, shell, Git, databases, browser automation, and background tasks.MIT
- AlicenseNot gradedqualityAmaintenanceConnects web-based AI chat clients such as Claude, ChatGPT, Grok, and Postman to a local machine through a single OAuth-gated MCP endpoint, so they can build and edit projects, run whitelisted shell commands, search files, inspect databases and local APIs, drive browsers and DevTools, manage background jobs, and control Postman without granting unrestricted shell access. It also supports local IDEs and offline use by connecting directly over localhost.MIT