Skip to main content
Glama
McpConnectionSection.uxml3.23 kB
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="True"> <Style src="../Common.uss" /> <ui:VisualElement name="connection-section" class="section"> <ui:Label text="Connection" class="section-title" /> <ui:VisualElement class="section-content"> <ui:VisualElement class="setting-row"> <ui:Label text="Transport:" class="setting-label" /> <uie:EnumField name="transport-dropdown" class="setting-dropdown-inline" /> </ui:VisualElement> <ui:VisualElement class="setting-row" name="http-url-row"> <ui:Label text="HTTP URL:" class="setting-label" /> <ui:TextField name="http-url" class="url-field" placeholder-text="http://localhost:8080" /> </ui:VisualElement> <ui:VisualElement name="http-server-command-section" class="manual-config-content"> <ui:Label text="Use this command to launch the server manually:" class="config-label" /> <ui:VisualElement class="config-json-row"> <ui:TextField name="http-server-command" readonly="true" multiline="true" class="config-json-field" /> <ui:Button name="copy-http-server-command-button" text="Copy" class="icon-button-vertical" /> </ui:VisualElement> <ui:Label name="http-server-command-hint" class="help-text" /> <ui:VisualElement style="flex-direction: row; justify-content: flex-start; margin-bottom: 6px;"> <ui:Button name="start-http-server-button" text="Start Server" class="secondary-button" style="width: auto; flex-grow: 1; margin-right: 5px;" /> <ui:Button name="stop-http-server-button" text="Stop Server" class="secondary-button" style="width: auto; flex-grow: 1;" /> </ui:VisualElement> </ui:VisualElement> <ui:VisualElement class="setting-row" name="unity-socket-port-row"> <ui:Label text="Unity Socket Port:" class="setting-label" /> <ui:TextField name="unity-port" class="port-field" /> </ui:VisualElement> <ui:VisualElement class="setting-row"> <ui:VisualElement class="status-container"> <ui:VisualElement name="status-indicator" class="status-dot" /> <ui:Label name="connection-status" text="Disconnected" class="status-text" /> </ui:VisualElement> <ui:Button name="connection-toggle" text="Start" class="action-button" /> </ui:VisualElement> <ui:VisualElement class="setting-row"> <ui:Label text="Health:" class="setting-label" /> <ui:VisualElement class="status-container"> <ui:VisualElement name="health-indicator" class="status-dot" /> <ui:Label name="health-status" text="Unknown" class="status-text" /> </ui:VisualElement> <ui:Button name="test-connection-button" text="Test" class="action-button" /> </ui:VisualElement> </ui:VisualElement> </ui:VisualElement> </ui:UXML>

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CoplayDev/unity-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server