Add HL MES manager with AI assistant service

This commit is contained in:
2026-05-25 18:28:10 +08:00
commit 35f11c095d
881 changed files with 172675 additions and 0 deletions

13
ai-mcp-service/status.ps1 Normal file
View File

@@ -0,0 +1,13 @@
$ErrorActionPreference = 'Stop'
$port = if ($env:PORT) { [int]$env:PORT } else { 8787 }
$url = "http://127.0.0.1:$port/health"
try {
$health = Invoke-RestMethod -Uri $url -Method Get -TimeoutSec 3
Write-Host "AI MCP service is running: $url"
$health | ConvertTo-Json -Depth 5
} catch {
Write-Host "AI MCP service is not running on $url"
exit 1
}