升级XR插件版本
This commit is contained in:
23
Packages/MCPForUnity/Editor/Models/MCPConfigServer.cs
Normal file
23
Packages/MCPForUnity/Editor/Models/MCPConfigServer.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user