first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
@tool
|
||||
extends McpClient
|
||||
|
||||
|
||||
func _init() -> void:
|
||||
id = "kiro"
|
||||
display_name = "Kiro"
|
||||
config_type = "json"
|
||||
path_template = {
|
||||
"unix": "~/.kiro/settings/mcp.json",
|
||||
"windows": "$USERPROFILE/.kiro/settings/mcp.json",
|
||||
}
|
||||
server_key_path = PackedStringArray(["mcpServers"])
|
||||
## `disabled` is user-state — preserved across reconfigure.
|
||||
entry_initial_fields = {"disabled": false}
|
||||
## Attach migration (#838). Kiro stdio entries are flat command/args/env
|
||||
## with no type discriminator (kiro.dev/docs/mcp/configuration).
|
||||
## `autoApprove` is user-state, same contract as the URL entry's fields.
|
||||
command_shape = McpClient.CommandShape.FLAT
|
||||
command_legacy_keys = PackedStringArray(["url"])
|
||||
command_initial_fields = {"disabled": false}
|
||||
command_user_fields = PackedStringArray(["disabled", "autoApprove", "disabledTools", "env"])
|
||||
command_supports_url_fallback = true
|
||||
Reference in New Issue
Block a user