Files
Brachistochrone/addons/godot_ai/custom_tools/mcp_service_locator.gd
T
scorpion21211-cmd e24bbbda5d Initial commit
2026-10-03 23:29:41 -04:00

17 lines
377 B
GDScript

@tool
class_name McpServiceLocator
extends RefCounted
var _connection: McpConnection = null
var _log_buffer: McpLogBuffer = null
func setup(connection: McpConnection, log_buffer: McpLogBuffer) -> void:
_connection = connection
_log_buffer = log_buffer
func get_connection() -> McpConnection:
return _connection
func get_log_buffer() -> McpLogBuffer:
return _log_buffer