Files
flyer-crawler.projectium.com/plans/update-podman-mcp.ps1
Torben Sorensen d356d9dfb6
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 43s
claude 1
2026-01-08 07:47:29 -08:00

14 lines
565 B
PowerShell

# Update MCP configuration for Podman
$mcpConfigPath = "c:/Users/games3/AppData/Roaming/Code/User/mcp.json"
$content = Get-Content $mcpConfigPath -Raw
# Replace Docker named pipe with Podman SSH connection
$content = $content -replace 'npipe:////./pipe/docker_engine', 'ssh://root@127.0.0.1:2972/run/podman/podman.sock'
# Write back
Set-Content $mcpConfigPath -Value $content -NoNewline
Write-Host "Updated MCP configuration for Podman" -ForegroundColor Green
Write-Host "New DOCKER_HOST: ssh://root@127.0.0.1:2972/run/podman/podman.sock" -ForegroundColor Cyan