Cursor
Cursor supports MCP servers through its configuration file. GodotIQ integrates with Cursor’s AI to give it spatial, code, and runtime understanding of your Godot project.
-
Install GodotIQ:
Terminal window pip install godotiq -
Create the MCP config file:
Create
.cursor/mcp.jsonin your project root:.cursor/mcp.json {"mcpServers": {"godotiq": {"command": "godotiq","args": ["--project", "/path/to/your/godot/project"]}}}Replace the path with your Godot project root. Alternatively, use
uvand setGODOTIQ_PROJECT_ROOT— see Installation for details. -
Restart Cursor to load the MCP server.
-
Verify: Ask Cursor’s AI: “Ping GodotIQ” — it should confirm the connection.
Tips for Cursor
Section titled “Tips for Cursor”Use Composer Mode
Section titled “Use Composer Mode”Cursor’s Composer mode (Cmd+I / Ctrl+I) works best for GodotIQ workflows. It lets the AI call tools, read results, and make code changes in a single flow.
Context Files
Section titled “Context Files”Add your .godotiq.json configuration file to Cursor’s context (drag it into the chat or use @file) so the AI understands your project’s conventions and settings.
GDScript Editing
Section titled “GDScript Editing”When the AI suggests GDScript changes based on GodotIQ analysis, you can apply them directly in the editor. Common workflow:
- Ask about a problem: “Why does the enemy get stuck at the door?”
- GodotIQ analyzes the spatial layout and code flow
- Cursor suggests a fix in the relevant
.gdfile - Review and apply with one click
Multi-File Operations
Section titled “Multi-File Operations”Cursor excels at multi-file refactoring. Use GodotIQ’s impact_check first to understand the blast radius, then let Cursor make the changes across all affected files.
Advanced Configuration
Section titled “Advanced Configuration”Environment Variables
Section titled “Environment Variables”If your Python environment isn’t the system default:
{ "mcpServers": { "godotiq": { "command": "/path/to/venv/bin/godotiq", "args": ["--project", "/path/to/your/godot/project"] } }}Bridge Port
Section titled “Bridge Port”For Pro addon users with a custom bridge port:
{ "mcpServers": { "godotiq": { "command": "godotiq", "args": [ "--project", "/path/to/your/godot/project", "--bridge-port", "6551" ] } }}Troubleshooting
Section titled “Troubleshooting”MCP server not loading
Section titled “MCP server not loading”- Ensure
.cursor/mcp.jsonis in the project root (same level asproject.godot) - Check that the command path is correct and
godotiqis installed - Restart Cursor completely (quit and reopen)
Tools not appearing
Section titled “Tools not appearing”Cursor may need a moment to discover available tools after restart. If tools still don’t appear, check the MCP server logs in Cursor’s output panel.