feat(installer): optionally register ClaudeDo MCP server with Claude

Add an install step and welcome-page opt-in that registers the ClaudeDo
external MCP server with the Claude CLI. Failures are non-fatal and surface
the manual command so a missing or old CLI never blocks the install.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
mika kuns
2026-06-01 15:51:44 +02:00
parent b1f4349dab
commit 5170914a7a
6 changed files with 64 additions and 0 deletions

View File

@@ -32,4 +32,8 @@ public sealed class InstallContext
// InstallPage
public bool CreateDesktopShortcut { get; set; } = true;
// WelcomePage — register the external MCP endpoint with the Claude CLI.
public bool RegisterMcpWithClaude { get; set; } = true;
public int ExternalMcpPort { get; set; } = 47_822;
}