Skip to content
Windsurf

FiveM MCP for Windsurf

io.github.ziyacivan/fivem-mcp

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

client:Windsurf transport:stdio runtime:npm

Install FiveM MCP in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "fivem-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "fivem-mcp-server"
      ],
      "env": {
        "FIVEM_HOST": "<FIVEM_HOST>",
        "FIVEM_CLIENT_DEVCON_PORT": "<FIVEM_CLIENT_DEVCON_PORT>",
        "FIVEM_RCON_ADDRESS": "<FIVEM_RCON_ADDRESS>",
        "FIVEM_RCON_PASSWORD": "<FIVEM_RCON_PASSWORD>",
        "FIVEM_SERVER_LOG": "<FIVEM_SERVER_LOG>",
        "FIVEM_MCPB_TOKEN": "<FIVEM_MCPB_TOKEN>",
        "FIVEM_EXECUTABLE": "<FIVEM_EXECUTABLE>",
        "FIVEM_CONSOLE_CAPACITY": "<FIVEM_CONSOLE_CAPACITY>",
        "FIVEM_QUIET_MS": "<FIVEM_QUIET_MS>",
        "FIVEM_COMMAND_TIMEOUT_MS": "<FIVEM_COMMAND_TIMEOUT_MS>",
        "FIVEM_MCP_DEBUG": "<FIVEM_MCP_DEBUG>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

FiveM MCP in other clients