UDS MCP Server
The UDS MCP server lets an AI assistant look up ISO 14229 services and negative response codes through the Model Context Protocol (MCP).
Not publicly available yet. The server is in private testing. The package is not published, there is no hosted server, and no release date is set. The setup steps below apply only if you have been given the package file.
What it does
| Mode | How to select it | What the assistant can do |
|---|---|---|
read_only_docs (default) | Nothing to set | Look up services and response codes, and search the documentation |
local_simulation | UDS_MCP_MODE=local_simulation | The same, plus run requests against a simulated ECU on your machine |
Neither mode connects to vehicle hardware. The local server needs no API key.
Documentation tools
| Tool | Input | Result |
|---|---|---|
uds_get_service | sid, such as "0x27" | Purpose, parameters, sub-functions and an example request and response |
uds_explain_nrc | nrc, with an optional sid | Meaning, likely causes and recommended actions |
uds_search_docs | query, with an optional limit from 1 to 20 | Matching services, response codes and flashing guides |
get_simulator_status | None | Version, mode and documentation fingerprint |
ping | message | The same message with a timestamp |
The documentation covers 19 services, 22 negative response codes and 3 flashing guides.
Simulation tools
These four are listed only in local_simulation mode.
| Tool | Input | Result |
|---|---|---|
uds_create_session | Optional name and timing values | A session ID |
uds_send_request | sessionId and requestHex, such as "27 01" | The outcome, response bytes and any negative response code |
uds_get_session | sessionId | Session state and security level |
uds_close_session | sessionId | Releases the session |
Install
You need Node.js 24.22.1 or later and the package file uds-mcp-server-1.0.0.tgz.
Windows PowerShell, with your own paths:
New-Item -ItemType Directory -Force C:/tools/uds-mcp | Out-Null
Set-Location C:/tools/uds-mcp
npm init -y
npm install --offline --omit=dev --ignore-scripts C:/packages/uds-mcp-server-1.0.0.tgzLinux:
mkdir -p "$HOME/tools/uds-mcp"
cd "$HOME/tools/uds-mcp"
npm init -y
npm install --omit=dev --ignore-scripts /packages/uds-mcp-server-1.0.0.tgzIn the examples below, replace <install-dir> with the full path to the uds-mcp folder you created.
Connect your assistant
Add only the uds-simulator entry and keep any servers you already have.
Claude Code
claude mcp add uds-simulator node <install-dir>/node_modules/uds-mcp-server/dist/index.js -e UDS_MCP_MODE=read_only_docsCodex
codex mcp add uds-simulator --env UDS_MCP_MODE=read_only_docs -- node <install-dir>/node_modules/uds-mcp-server/dist/index.jsAntigravity
agy mcp add -e UDS_MCP_MODE=read_only_docs uds-simulator node <install-dir>/node_modules/uds-mcp-server/dist/index.jsOpenCode
Run this inside a git project.
opencode mcp add --env UDS_MCP_MODE=read_only_docs uds-simulator -- node <install-dir>/node_modules/uds-mcp-server/dist/index.jsOther clients
A client that reads a JSON mcpServers list usually takes this shape. We have not verified clients other than the four above with real tool calls.
{
"mcpServers": {
"uds-simulator": {
"command": "node",
"args": ["<install-dir>/node_modules/uds-mcp-server/dist/index.js"],
"env": { "UDS_MCP_MODE": "read_only_docs" }
}
}
}Restart the client after changing its configuration. In the default mode it should list five tools.
Use it
Ask in plain language. The assistant chooses the tool.
- “What does UDS service 0x27 do?”
- “Why would an ECU answer SecurityAccess with 0x22?”
- “Search the UDS docs for 0x34.”
To check the connection, ask the assistant to call get_simulator_status. The mode field shows which set of tools is active.
Search tips
Search matches terms, not sentences. Use a hex value such as or a name such as SecurityAccess. A phrase such as “security access seed key” can return nothing.
Rehearse a security access exchange
In local_simulation mode, ask the assistant to:
- Open a session with
uds_create_session. - Enter the extended session with request .
- Request a seed with .
- Send a wrong key and read the negative response code.
- Close the session with
uds_close_session.
Errors and troubleshooting
| What you see | What to do |
|---|---|
The client shows no tools or cannot start the server | Check the path to index.js and run node -v to confirm the version |
Only five tools appear in simulation mode | Set UDS_MCP_MODE in the client’s server entry, not only in your shell |
AUTH_DENIED for a session tool | The server is in read_only_docs mode |
Search returns no hits | Search for a hex value or a service name |
SESSION_NOT_FOUND after a restart | Sessions are held in memory. Open a new one |
UNSUPPORTED_SID | The service is real UDS but outside the 19 covered here |
Hosted access and API keys
There is no hosted MCP server to connect to. A documentation key created in your account settings has no public server to use it with yet.
To ask about access, use the contact page .