Skip to content

Windsurf

Windsurf supports MCP servers through its global configuration. GodotIQ integrates with Windsurf’s Cascade AI to provide spatial, code, and runtime understanding of your Godot project.

  1. Install GodotIQ:

    Terminal window
    pip install godotiq
  2. Add to Windsurf MCP config:

    Edit ~/.codeium/windsurf/mcp_config.json:

    mcp_config.json
    {
    "mcpServers": {
    "godotiq": {
    "command": "godotiq",
    "args": ["--project", "/path/to/your/godot/project"]
    }
    }
    }

    Replace the path with your Godot project root. Alternatively, use uv and set GODOTIQ_PROJECT_ROOT — see Installation for details.

  3. Restart Windsurf to activate the MCP server.

  4. Verify: Ask Cascade: “Ping GodotIQ” — it should confirm the connection.

Windsurf’s Cascade (Cmd+L / Ctrl+L) can chain GodotIQ tool calls naturally. Start with broad context, then narrow down:

“Use project_summary to understand this project, then analyze the signal flow for player damage.”

Use Windsurf’s Write mode for applying GodotIQ-informed changes. After the AI analyzes your code with tools like dependency_graph or signal_map, switch to Write mode to let it make the changes.

Windsurf can run terminal commands alongside MCP tool calls. This is useful for running your Godot project or checking build output while using GodotIQ’s analysis tools.

mcp_config.json
{
"mcpServers": {
"godotiq": {
"command": "/path/to/venv/bin/godotiq",
"args": ["--project", "/path/to/your/godot/project"]
}
}
}

For multiple Godot projects, you can define separate MCP entries:

mcp_config.json
{
"mcpServers": {
"godotiq-project-a": {
"command": "godotiq",
"args": ["--project", "/path/to/project-a"]
},
"godotiq-project-b": {
"command": "godotiq",
"args": ["--project", "/path/to/project-b"]
}
}
}
  • Verify the config file path: ~/.codeium/windsurf/mcp_config.json
  • Check JSON syntax — a trailing comma or missing bracket will silently fail
  • Restart Windsurf completely

On macOS, ensure godotiq is accessible from the Windsurf process. If installed in a virtual environment, use the full path to the executable.