beamng-modding
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., "@beamng-moddingPlan a BeamNG Lua extension citing official docs"
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.
BeamNG Modding MCP
A local Model Context Protocol server for researching, scaffolding, reviewing, validating, and packaging BeamNG.drive mods. Official BeamNG documentation results include their source URL and freshness metadata; optional game-source searches are read-only.
Requirements and setup
Node.js 20 or newer
A directory dedicated to your mod projects
cd /Users/joaorodrigues/Documents/beamng-mcp
npm install
npm run buildChoose a workspace. Every server write is confined to this directory:
mkdir -p /absolute/path/to/beamng-mod-workspaceOptional environment variables:
Variable | Purpose |
| Required writable mod workspace |
| Optional read-only BeamNG installation/content root |
| Optional documentation cache location |
| Cache freshness interval; defaults to 24 |
Related MCP server: enfusion-mcp
Connect an MCP client
Replace /absolute/path/to/beamng-mod-workspace in these examples.
Codex
The installed Codex CLI can create the stdio registration directly:
codex mcp add beamng-modding \
--env BEAMNG_MOD_ROOT=/absolute/path/to/beamng-mod-workspace \
-- node /Users/joaorodrigues/Documents/beamng-mcp/dist/index.jsAdd optional environment variables by repeating --env. Confirm the registration with:
codex mcp get beamng-moddingStart a new Codex task after adding the server so its tools are discovered.
Claude Desktop
Add this server under mcpServers in Claude Desktop's MCP configuration:
{
"mcpServers": {
"beamng-modding": {
"command": "node",
"args": ["/Users/joaorodrigues/Documents/beamng-mcp/dist/index.js"],
"env": {
"BEAMNG_MOD_ROOT": "/absolute/path/to/beamng-mod-workspace"
}
}
}
}Restart Claude Desktop after saving the configuration.
Cursor
Create .cursor/mcp.json in the project that should use the server:
{
"mcpServers": {
"beamng-modding": {
"command": "node",
"args": ["/Users/joaorodrigues/Documents/beamng-mcp/dist/index.js"],
"env": {
"BEAMNG_MOD_ROOT": "/absolute/path/to/beamng-mod-workspace"
}
}
}
}VS Code
Create .vscode/mcp.json:
{
"servers": {
"beamng-modding": {
"type": "stdio",
"command": "node",
"args": ["/Users/joaorodrigues/Documents/beamng-mcp/dist/index.js"],
"env": {
"BEAMNG_MOD_ROOT": "/absolute/path/to/beamng-mod-workspace"
}
}
}
}Run MCP: List Servers from the Command Palette to start or inspect it.
First use
Populate the local official-documentation index. Either ask the client:
Synchronize the BeamNG modding documentation with
beamng_docs_sync, then find the official guidance for creating a vehicle configuration.
Or run the CLI task with the same environment:
BEAMNG_MOD_ROOT=/absolute/path/to/beamng-mod-workspace npm run docs:syncThe server keeps cached pages available when offline. Refreshes are same-origin and restricted to https://documentation.beamng.com/modding/.
Example requests:
“Plan a BeamNG Lua extension, citing the official docs.”
“Dry-run a vehicle mod scaffold named
rally_buggyinrally-buggy.”“Validate the mod in
rally-buggyand explain every error with sources.”“Search my configured BeamNG source for
onExtensionLoadedexamples.”“Package
rally-buggyasreleases/rally-buggy.zipafter it passes validation.”
Scaffolding and general file writes default to dryRun: true. Ask explicitly to apply the operation after reviewing the planned paths.
Tools
Tool | Purpose |
| Search the synchronized official documentation |
| Read a cached page/section or fetch one approved URL |
| Refresh the bounded documentation cache |
| Search optional local game text files read-only |
| Generate one of seven text-only mod templates |
| Atomically write bounded UTF-8 changes |
| Check structure, JBeam, JSON, materials, references, and metadata |
| Validate and create a deterministic ZIP |
| Return evidence-backed rules by mod type/topic |
The server also publishes documentation, templates, best practices, and the latest validation report as MCP resources, plus four reusable workflow prompts.
Development
npm run checkThe tests cover path traversal and symlink containment, atomic overwrite behavior, documentation extraction/search, tolerant JBeam parsing, all scaffold profiles, deterministic archive layout, and MCP discovery/tool execution.
Safety and limitations
The server never installs mods or changes BeamNG game files.
All authoring paths are relative to
BEAMNG_MOD_ROOT; symlink escapes and traversal are rejected.Static validation cannot prove physics, rendering, Lua runtime behavior, or gameplay correctness. Test the packaged ZIP in BeamNG.drive.
Documentation is incomplete in some areas. Official docs, configured local game source, and curated guidance are always labeled separately.
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 Servers
- AlicenseBqualityDmaintenanceProvides comprehensive access to MCP documentation through structured guides, full-text search, and interactive development workflows for building servers and clients.37MIT
- Alicense-quality-maintenanceAn MCP server for Arma Reforger and Enfusion engine modding that enables users to create mods, search API classes, and generate scripts through natural language. It provides a comprehensive suite of tools for scaffolding addons, generating prefabs, and building projects using the Workbench CLI.1,74214
- Alicense-qualityBmaintenanceProvides a local MCP server for searching and retrieving documentation from 22+ open-source projects, enabling AI coding assistants to access up-to-date docs without network dependency.122MIT
- AlicenseAqualityAmaintenanceAn MCP server that empowers AI coding agents to work effectively with Minecraft mod development, providing static analysis of decompiled source code and runtime interaction with a running Minecraft instance.311910MIT
Related MCP Connectors
MCP server for doc2mcp documentation, generated by doc2mcp.
A MCP server built for developers enabling Git based project management with project and personal…
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
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/Blendfoul/beamng-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server