Skip to content
mcp/skillhub

FiveM MCP Server

by ziyacivanio.github.ziyacivan/fivem-mcpv0.6.0

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

15Node.jsstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Maintained35d ago

Install FiveM MCP server

Install in Claude Code

claude mcp add fivem -e FIVEM_RCON_PASSWORD='<fivem-rcon-password>' -e FIVEM_MCPB_TOKEN='<fivem-mcpb-token>' -- npx -y fivem-mcp-server

Configuration

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

Freshness

Maintained — last maintenance signal 35d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-09-04 · 35d ago · GitHub

  2. Latest release

    2026-09-04 · 35d ago · GitHub · v0.6.0

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-09-04 · 35d ago · official registry · v0.6.0

FAQ

›How do I install the FiveM MCP server in Claude Code?

Run: claude mcp add fivem -e FIVEM_RCON_PASSWORD='<fivem-rcon-password>' -e FIVEM_MCPB_TOKEN='<fivem-mcpb-token>' -- npx -y fivem-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does FiveM require an API key?

Yes. It expects FIVEM_RCON_PASSWORD, FIVEM_MCPB_TOKEN, of which 2 are secrets.

›Can I use FiveM as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is FiveM in the official MCP registry?

Yes, as io.github.ziyacivan/fivem-mcp.