trucksim-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@trucksim-mcpAm I speeding, and how's my fuel range?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
trucksim-mcp
An MCP server that streams Euro Truck Simulator 2 and American Truck Simulator telemetry — plus live driving analytics — to any AI harness (Claude Desktop, Claude Code, Cursor, Cline, …). Includes a headless Claude analytics agent that acts as an in-cab dispatcher/driving coach.
Ask your assistant "Am I speeding?", "Will I make the delivery deadline?", "How's my fuel range?", or "Score my driving so far" — and it answers from live game telemetry. This is a read-only, telemetry-and-analytics server: it never controls the truck.
Note: "American Truck Simulator 2" isn't a separate game — SCS still ships the original ATS. Both ATS and ETS2 share the same engine and telemetry SDK, so
trucksim-mcpsupports both with no configuration.
How it works
ETS2 / ATS ──(SCS Telemetry SDK)──▶ telemetry source ──▶ trucksim-mcp ──▶ any MCP client
(mmap | http | mock) (tools+analytics) (Claude, Cursor…)Because the SCS SDK writes to Windows shared memory, trucksim-mcp reads telemetry through a pluggable source:
Source | Use it when | Needs the game? |
| Demos, CI, development — a built-in scripted trip | No |
| The game runs on a Windows PC exposing a JSON telemetry feed (Funbit / trucksim-gps); read it from anywhere | Yes (remote) |
|
| Yes (local) |
The mock source means the entire pipeline runs end-to-end on any OS with no game installed.
Quickstart
# no install, straight from GitHub (PyPI release pending)
TRUCKSIM_SOURCE=mock uvx --from git+https://github.com/rachittshah/trucksim-mcp trucksim-mcpSee docs/clients.md for Claude Desktop / Cursor / Cline config, and
docs/sources.md for wiring up real ETS2/ATS telemetry.
Connect your local ETS2 / ATS
The mock source needs no game; to read your real game, pick a source
(docs/sources.md has the full guide):
Cross-platform (recommended) — the game runs on Windows, trucksim-mcp can
run anywhere on your LAN:
Install an SCS telemetry plugin (RenCloud/scs-sdk-plugin) into the game's
bin/win_x64/plugins/.Run a telemetry HTTP server (Funbit/ets2-telemetry-server, port 25555).
Configure and verify the wiring before touching an MCP client:
export TRUCKSIM_SOURCE=http export TRUCKSIM_HTTP_URL=http://<game-pc-ip>:25555/api/ets2/telemetry uvx --from git+https://github.com/rachittshah/trucksim-mcp trucksim-mcp selftestsource: http connected: True game: ets2 speed: 84 km/h (limit 90) job: Reefer Frankfurt -> Munich ✅ Telemetry is live. Point your MCP client at this same config.
Native Windows — trucksim-mcp on the same PC as the game: set
TRUCKSIM_SOURCE=mmap (experimental) and run trucksim-mcp selftest.
Then use the same env in your MCP client config or in agent/mcp.json.
Tools
10 read-only tools — full reference in docs/tools.md:
State —
get_truck_state,get_navigation,get_fuel_status,get_raw_telemetryJob —
get_active_jobAnalytics —
check_speeding,get_eco_score,get_trip_summary,get_rest_advisor,list_recent_events
Example prompts
Once connected (even with TRUCKSIM_SOURCE=mock), ask your assistant:
"What's my truck doing right now?" →
get_truck_state"Am I speeding?" →
check_speeding"Do I have enough fuel to reach the destination?" →
get_fuel_status"Will I make the delivery deadline?" →
get_active_job"Score my driving and tell me what to fix." →
get_eco_score+get_trip_summary"Should I take a break?" →
get_rest_advisor
The coaching agent in action
Running the headless agent against the built-in mock trip — a real claude -p
(Sonnet 5) reading telemetry through this server:
$ TRUCKSIM_AGENT_ONCE=1 ./agent/coach.sh
Heads up: your Hamburg steel-tubes job is projected LATE — ETA 7h7m vs a 4h59m
deadline, a 2h7m shortfall, so this delivery needs a route/time fix, not just
steady driving. Speed and fuel are fine: you're well under the 90 km/h limit,
damage is only 3%, and fuel (688L, ~2149 km range) easily covers the 285 km
trip. Recommendation: check for a faster route or accept the late penalty now.The headless analytics agent
agent/ contains a background Claude Code headless (claude -p, Sonnet 5) runner that
connects to this MCP server and produces periodic in-cab coaching updates from live
telemetry — a dispatcher without the voice. See agent/README.md.
License
MIT © Rachitt Shah. Not affiliated with or endorsed by SCS Software. Euro Truck Simulator 2 and American Truck Simulator are trademarks of SCS Software.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rachittshah/trucksim-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server