Initial commit to new repository
This commit is contained in:
28
.decompiledproj/AxCopilot/Models/McpServerEntry.cs
Normal file
28
.decompiledproj/AxCopilot/Models/McpServerEntry.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace AxCopilot.Models;
|
||||
|
||||
public class McpServerEntry
|
||||
{
|
||||
[JsonPropertyName("name")]
|
||||
public string Name { get; set; } = "";
|
||||
|
||||
[JsonPropertyName("command")]
|
||||
public string Command { get; set; } = "";
|
||||
|
||||
[JsonPropertyName("args")]
|
||||
public List<string> Args { get; set; } = new List<string>();
|
||||
|
||||
[JsonPropertyName("env")]
|
||||
public Dictionary<string, string> Env { get; set; } = new Dictionary<string, string>();
|
||||
|
||||
[JsonPropertyName("enabled")]
|
||||
public bool Enabled { get; set; } = true;
|
||||
|
||||
[JsonPropertyName("transport")]
|
||||
public string Transport { get; set; } = "stdio";
|
||||
|
||||
[JsonPropertyName("url")]
|
||||
public string? Url { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user