Files
cloud-mainworld/ufm cloud/Library/PackageCache/com.coplaydev.unity-mcp@4384f8b518e8/Editor/Models/MCPConfigServer.cs
T

24 lines
595 B
C#
Raw Normal View History

2026-11-30 19:13:17 +00:00
using System;
using Newtonsoft.Json;
namespace MCPForUnity.Editor.Models
{
[Serializable]
public class McpConfigServer
{
[JsonProperty("command")]
public string command;
[JsonProperty("args")]
public string[] args;
// VSCode expects a transport type; include only when explicitly set
[JsonProperty("type", NullValueHandling = NullValueHandling.Ignore)]
public string type;
// URL for HTTP transport mode
[JsonProperty("url", NullValueHandling = NullValueHandling.Ignore)]
public string url;
}
}