Skip to content

Commit 80e6cb2

Browse files
committed
Address review: use select input for VARDOGER_MCP_PLATFORM
Switch the VARDOGER_MCP_PLATFORM env-var input from a free-text field to a select with explicit options for each supported host platform (cursor, claude-code, codex, openclaw, copilot, windsurf, cline) plus an "Auto-detect (default)" empty-value option that maps to vardoger's existing auto-detect fallback. Drops the now-redundant placeholder and the "Valid values: ..." sentence from the description. Addresses @its-mash's review on PR #113. Signed-off-by: David Strupl <dstrupl@gmail.com>
1 parent 5e7858c commit 80e6cb2

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

servers/io.github-dstrupl-vardoger.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,21 @@
2121
{
2222
"id": "VARDOGER_MCP_PLATFORM",
2323
"label": "Host platform (optional)",
24-
"description": "Override the platform identifier the MCP server defaults to. Leave blank to let vardoger pick based on the calling host. Valid values: cursor, claude-code, codex, copilot, windsurf, cline, openclaw.",
25-
"type": "text",
24+
"description": "Override the platform identifier the MCP server defaults to. Leave blank (Auto-detect) to let vardoger pick based on the calling host.",
25+
"type": "select",
2626
"required": false,
2727
"secret": false,
28-
"placeholder": "cursor"
28+
"default": "",
29+
"options": [
30+
{ "value": "", "label": "Auto-detect (default)", "description": "Let vardoger pick based on the calling host." },
31+
{ "value": "cursor", "label": "Cursor" },
32+
{ "value": "claude-code", "label": "Claude Code" },
33+
{ "value": "codex", "label": "Codex" },
34+
{ "value": "openclaw", "label": "OpenClaw" },
35+
{ "value": "copilot", "label": "GitHub Copilot CLI" },
36+
{ "value": "windsurf", "label": "Windsurf" },
37+
{ "value": "cline", "label": "Cline" }
38+
]
2939
}
3040
]
3141
}

0 commit comments

Comments
 (0)