Skip to content

Releases

fivem-mcp v0.1.0

Choose a tag to compare

@VIRUXE VIRUXE released this 19 Sep 20:16

First release of fivem-mcp, an MCP server for driving a FiveM client on Windows.

Requires the .NET 11 runtime on Windows (preview SDK, pinned in global.json). The download below is framework-dependent, so the runtime must be installed separately.

Register with an MCP client, for example:
claude mcp add fivem -- <path>\FiveMMcp.exe

FIVEM_RCON_PASSWORD is optional, only needed for rcon_command and as a recovery path when the companion resource is not running.

Tools

  • fivem-mcp: MCP server for driving a FiveM client

Launching

  • Launch the client executable directly, and correct stale README claims
  • launch: go through the shell, not FiveM.exe's argv
  • launch: start FiveM through explorer.exe so Explorer is the parent
  • launch: fivem:// through the shell first, explorer.exe as the fallback
  • Wait for the window by polling instead of sleeping

See the README's "Launching the client" section for the uri/explorer routes and FIVEM_LAUNCH.

Console and devcon

  • Read the client console over devcon instead of screenshotting it
  • Send notifications over devcon instead of RCON
  • Make the devcon endpoint configurable
  • fix(console-tap): back off reconnects instead of hammering devcon
  • Show an on-screen indicator while the console tap is connected
  • console tap: attach on demand, let go after 60s idle
  • Add a record tool for things too brief to screenshot

See the README's "The console: devcon, read_console and read_log" section for how the on-demand tap works and why.

Companion resource (mcp_bridge)

  • Document deploying mcp_bridge from this repo
  • Start mcp_bridge automatically when a tool needs it

Docs and licensing

  • README: how it works, launch routes, the on-demand console tap, troubleshooting, development
  • Release under the Unlicense, like the rest of the toolchain