Skip to main content

FiveM MCP

io.github.ziyacivan/fivem-mcp

v0.6.0Updated Sep 4, 2026stdio · npm

Build, run and live-test FiveM servers with AI agents: RCON, DevCon, window control, mcpb bridge.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add fivem-mcp -- npx -y [email protected]

Configuration

11 settings.

  • FIVEM_RCON_PASSWORD
    Env var· optional· secret
    Matches rcon_password in server.cfg; required for server_command and the bridge
  • FIVEM_MCPB_TOKEN
    Env var· optional· secret
    Matches mcpb_token on the server when the bridge resource is configured with one
  • FIVEM_HOST
    Env var· optional
    Machine running the FiveM client (DevCon host). Default 127.0.0.1
  • FIVEM_CLIENT_DEVCON_PORT
    Env var· optional
    Override the client devcon port (default: try 29200 then 29300)
  • FIVEM_RCON_ADDRESS
    Env var· optional
    FXServer game host:port for RCON/getinfo. Default <FIVEM_HOST>:30120
  • FIVEM_SERVER_LOG
    Env var· optional
    Path to FXServer's redirected stdout (server.log); enables server-side read_console/wait_for_console (optional fallback transport for pre-0.5 bridges)
Show 5 more
  • FIVEM_EXECUTABLE
    Env var· optional
    Path to FiveM.exe for the launch tool. Default %LOCALAPPDATA%\FiveM\FiveM.exe
  • FIVEM_CONSOLE_CAPACITY
    Env var· optional
    Client console lines kept in the ring buffer. Default 5000
  • FIVEM_QUIET_MS
    Env var· optional
    Consider client command output complete after this quiet period. Default 400
  • FIVEM_COMMAND_TIMEOUT_MS
    Env var· optional
    Default max wait for client_command output. Default 5000
  • FIVEM_MCP_DEBUG
    Env var· optional
    Set to 1 to trace devcon frames and RCON round-trips on stderr

Listed in the official MCP Registry since Sep 4, 2026. Mirrored daily; last checked Nov 26, 2026.