We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/IvanMurzak/Unity-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
McpPluginUnity.Data.cs•1.68 KiB
/*
┌──────────────────────────────────────────────────────────────────┐
│ Author: Ivan Murzak (https://github.com/IvanMurzak) │
│ Repository: GitHub (https://github.com/IvanMurzak/Unity-MCP) │
│ Copyright (c) 2025 Ivan Murzak │
│ Licensed under the Apache License, Version 2.0. │
│ See the LICENSE file in the project root for more information. │
└──────────────────────────────────────────────────────────────────┘
*/
using com.IvanMurzak.Unity.MCP.Common;
using com.IvanMurzak.Unity.MCP.Utils;
namespace com.IvanMurzak.Unity.MCP
{
public partial class McpPluginUnity
{
public class Data
{
public const string DefaultHost = "http://localhost:8080";
public string Host { get; set; } = DefaultHost;
public int Port { get; set; } = Consts.Hub.DefaultPort;
public bool KeepConnected { get; set; } = true;
public LogLevel LogLevel { get; set; } = LogLevel.Warning;
public int TimeoutMs { get; set; } = Consts.Hub.DefaultTimeoutMs;
public Data SetDefault()
{
Host = DefaultHost;
Port = Consts.Hub.DefaultPort;
KeepConnected = true;
LogLevel = LogLevel.Warning;
TimeoutMs = Consts.Hub.DefaultTimeoutMs;
return this;
}
}
}
}