Files
tekton/addons/godot_ai/clients/cursor.gd
T

13 lines
381 B
GDScript

@tool
extends McpClient
func _init() -> void:
id = "cursor"
display_name = "Cursor"
config_type = "json"
doc_url = "https://docs.cursor.com/context/model-context-protocol"
path_template = {"unix": "~/.cursor/mcp.json", "windows": "$USERPROFILE/.cursor/mcp.json"}
server_key_path = PackedStringArray(["mcpServers"])
detect_paths = PackedStringArray(path_template.values())