FiveM MCP
Build, run and live-test FiveM servers with AI agents: RCON, DevCon, window control, mcpb bridge.
Documentation & Preview
{ "mcpServers": { "mcp-fivem-mcp": { "command": "npx", "args": [ "-y", "--package", "fivem-mcp-server@0.6.0", "fivem-mcp-server" ], "env": { "FIVEM_HOST": "${ENV_FIVEM_HOST}", "FIVEM_CLIENT_DEVCON_PORT": "${ENV_FIVEM_CLIENT_DEVCON_PORT}", "FIVEM_RCON_ADDRESS": "${ENV_FIVEM_RCON_ADDRESS}", "FIVEM_RCON_PASSWORD": "${ENV_FIVEM_RCON_PASSWORD}", "FIVEM_SERVER_LOG": "${ENV_FIVEM_SERVER_LOG}", "FIVEM_MCPB_TOKEN": "${ENV_FIVEM_MCPB_TOKEN}", "FIVEM_EXECUTABLE": "${ENV_FIVEM_EXECUTABLE}", "FIVEM_CONSOLE_CAPACITY": "${ENV_FIVEM_CONSOLE_CAPACITY}", "FIVEM_QUIET_MS": "${ENV_FIVEM_QUIET_MS}", "FIVEM_COMMAND_TIMEOUT_MS": "${ENV_FIVEM_COMMAND_TIMEOUT_MS}", "FIVEM_MCP_DEBUG": "${ENV_FIVEM_MCP_DEBUG}" } } }, "setup": { "fields": [ { "id": "ENV_FIVEM_HOST", "label": "FIVEM_HOST", "description": "Machine running the FiveM client (DevCon host). Default 127.0.0.1", "required": false, "secret": false, "default": "" }, { "id": "ENV_FIVEM_CLIENT_DEVCON_PORT", "label": "FIVEM_CLIENT_DEVCON_PORT", "description": "Override the client devcon port (default: try 29200 then 29300)", "required": false, "secret": false, "default": "" }, { "id": "ENV_FIVEM_RCON_ADDRESS", "label": "FIVEM_RCON_ADDRESS", "description": "FXServer game host:port for RCON/getinfo. Default <FIVEM_HOST>:30120", "required": false, "secret": false, "default": "" }, { "id": "ENV_FIVEM_RCON_PASSWORD", "label": "FIVEM_RCON_PASSWORD", "description": "Matches rcon_password in server.cfg; required for server_command and the bridge", "required": false, "secret": true, "default": "" }, { "id": "ENV_FIVEM_SERVER_LOG", "label": "FIVEM_SERVER_LOG", "description": "Path to FXServer's redirected stdout (server.log); enables server-side read_console/wait_for_console (optional fallback transport for pre-0.5 bridges)", "required": false, "secret": false, "default": "" }, { "id": "ENV_FIVEM_MCPB_TOKEN", "label": "FIVEM_MCPB_TOKEN", "description": "Matches mcpb_token on the server when the bridge resource is configured with one", "required": false, "secret": true, "default": "" }, { "id": "ENV_FIVEM_EXECUTABLE", "label": "FIVEM_EXECUTABLE", "description": "Path to FiveM.exe for the launch tool. Default %LOCALAPPDATA%\\FiveM\\FiveM.exe", "required": false, "secret": false, "default": "" }, { "id": "ENV_FIVEM_CONSOLE_CAPACITY", "label": "FIVEM_CONSOLE_CAPACITY", "description": "Client console lines kept in the ring buffer. Default 5000", "required": false, "secret": false, "default": "" }, { "id": "ENV_FIVEM_QUIET_MS", "label": "FIVEM_QUIET_MS", "description": "Consider client command output complete after this quiet period. Default 400", "required": false, "secret": false, "default": "" }, { "id": "ENV_FIVEM_COMMAND_TIMEOUT_MS", "label": "FIVEM_COMMAND_TIMEOUT_MS", "description": "Default max wait for client_command output. Default 5000", "required": false, "secret": false, "default": "" }, { "id": "ENV_FIVEM_MCP_DEBUG", "label": "FIVEM_MCP_DEBUG", "description": "Set to 1 to trace devcon frames and RCON round-trips on stderr", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.ziyacivan/fivem-mcp", "registryVersion": "0.6.0", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.ziyacivan%2Ffivem-mcp/versions/0.6.0", "repository": "ziyacivan/fivem-mcp", "sourceCommit": "ce65a7f2eac83ec7cb39aa232e086bfe779ed108", "namespaceRepositoryOwnerMatched": true, "package": { "registry": "npm", "identifier": "fivem-mcp-server", "version": "0.6.0", "integrity": "sha512-KPIpDxzebbUbOcCFFdXffUEjH2lolW6te+ytic+iSfuUKDJBFdS7DTEJLM1ma6iy6ZxoiNSXOUPZ48Pj2UUANg==", "packageRepositoryMatched": true, "checkedAt": "2026-10-21T01:07:35.250Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }