20 lines
467 B
C#
20 lines
467 B
C#
using System;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace UnityMcpBridge.Editor.Models
|
|
{
|
|
[Serializable]
|
|
public class McpConfigServer
|
|
{
|
|
[JsonProperty("command")]
|
|
public string command;
|
|
|
|
[JsonProperty("args")]
|
|
public string[] args;
|
|
|
|
// VSCode expects a transport type; default to stdio for compatibility
|
|
[JsonProperty("type", NullValueHandling = NullValueHandling.Ignore)]
|
|
public string type = "stdio";
|
|
}
|
|
}
|