FiveM MCP server
io.github.ziyacivan/fivem-mcp·v0.6.0·16 starsBuild, run and live-test FiveM servers with AI agents: RCON, DevCon, window control, mcpb bridge.
16 stars73 downloads/wk
Reviews
Write oneNobody has reviewed FiveM MCP yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
FiveM MCP tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-16 · same rubric, same numbers if you re-run it
- Code scan29 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 14 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How FiveM MCP compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 65% of 48,243 servers
- GitHub stars
- 16
- more than 90% of 28,706 servers
- Downloads a week
- 73
- more than 54% of 12,306 servers with a package
Install FiveM MCP in Claude Code, Cursor or VS Code
Runs npx -y fivem-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add fivem-mcp -- npx -y fivem-mcp-server
What the publisher says
From the FiveM MCP repository's README, as published. We do not edit it. Read it on GitHub
fivem-mcp
An MCP (Model Context Protocol) server that lets AI agents — Claude, Qwen, or anything that speaks MCP — build, run and live-test FiveM servers from the same machine.
It is the missing test layer for the "did it actually work in-game?" question: the agent can run real console commands, watch both the server log and the live F8 console of a running FiveM client, wait for specific output, and react — without you touching the keyboard.
agent (Claude / Qwen / …)
│ MCP over stdio
▼
fivem-mcp-server ──► UDP RCON / getinfo ──► FXServer (game port, e.g. 30120)
──► TCP devcon (29200/29300) ──► FiveM Legacy client F8 console
──► tail ─────────────────────► FXServer's redirected stdout logStatus
v0.5 drives the whole loop: server console (RCON), client F8 console (devcon), the game window (launch, focus, screenshot, keyboard/mouse) and an in-game bridge (mcpb) for natives, exports and NUI callbacks — plus ready-made test prompts. Tools answer with structured content, carry MCP annotations, and stop as soon as the client cancels. All of it live-verified against a real FXServer + FiveM Legacy client (see docs/plan.md and scripts/live-*.mjs).
Where it is published
The repository's GitHub Packages sidebar is deliberately empty: the artifact lives on npmjs.com, not GitHub Packages — the latter would force a scoped @ziyacivan/ package name and a second registry for no benefit.
Requirements
wherever the FiveM client runs — this tool must run on that machine for the client_* tools since devcon binds to localhost by default).
- Node 22+ (Windows, macOS or Linux for the server side; the client devcon works
client devcon ports; see docs/protocol.md).
- A running FXServer you administer (rconpassword set for servercommand).
- The Legacy FiveM client for the client-console tools (Enhanced removed the
with the game. On other platforms every tool except those is served normally.
- The keyboard/mouse/screenshot tools are Windows-only and run on the machine
Install
Published on npm — no clone needed. Add it to Claude Code in one line:
claude mcp add fivem -s user \
-e FIVEM_RCON_PASSWORD=your-rcon-password \
-e FIVEM_SERVER_LOG=C:\FXServer\my-data\server.log \
-- npx -y fivem-mcp-server(-s user = available in every project; drop it for a per-project entry. Verify with claude mcp get fivem — status should read ✓ Connected. Remove with claude mcp remove fivem -s user.)
For a shared project config, put .mcp.json in the repo root and commit it — Claude Code asks to approve it on first open, and env values can be interpolated from your local .env-less shell via ${VAR} expansion:
{
"mcpServers": {
"fivem": {
"command": "npx",
"args": ["-y", "fivem-mcp-server"],
"env": {
"FIVEM_RCON_PASSWORD": "${FIVEM_RCON_PASSWORD}",
"FIVEM_SERVER_LOG": "${FIVEM_SERVER_LOG}"
}
}
}
}For Claude Desktop (or any client with JSON config), add to claudedesktopconfig.json:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
FiveM MCP: common questions
- Is FiveM MCP server safe?
- Mostly: it is graded B (83/100). Read the FiveM MCP safety report
- How do I install FiveM MCP?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does FiveM MCP need an API key?
- Yes. The registry entry asks for
FIVEM_RCON_PASSWORD,FIVEM_MCPB_TOKEN. - Is FiveM MCP maintained?
- The last commit was 34 days ago (2026-10-02). The latest release is v0.6.0.
- How does FiveM MCP compare with other MCP servers?
- safety score 83/100 (higher than 65% of 48,243 servers); github stars 16 (more than 90% of 28,706 servers); downloads a week 73 (more than 54% of 12,306 servers with a package). Full comparison.