refactor(server): strictly enforce CLI port argument for bind, dropping MCP_PORT env var fallback
This commit is contained in:
1 parent
81853dfed7
commit
3b3bb36b32
5 files changed
+57
-17
No files matched your search
@@ -5,10 +5,10 @@ default:
|
||||
@just --list
|
||||
|
||||
# Build and deploy everything across Windows and WSL
|
||||
all port: build-all (deploy-all port)
|
||||
all port: (build-all port) (deploy-all port)
|
||||
|
||||
# Build all binaries across Windows and WSL
|
||||
build-all: build-win build-wsl
|
||||
build-all port: (build-win port) build-wsl
|
||||
@Write-Host "Build complete across both OS boundaries." -ForegroundColor Green
|
||||
|
||||
# Deploy all binaries and agent rules across Windows and WSL
|
||||
@@ -16,7 +16,7 @@ deploy-all port: (deploy-win port) deploy-wsl
|
||||
@Write-Host "Deployment complete across both OS boundaries." -ForegroundColor Green
|
||||
|
||||
# Build Windows-native binaries
|
||||
build-win: build-ui build-server build-stub-win build-nvim-win
|
||||
build-win port: build-ui (build-server port) build-stub-win build-nvim-win
|
||||
|
||||
# Deploy Windows-native binaries and rules
|
||||
deploy-win port: (deploy-server port) deploy-stub-win deploy-nvim-win deploy-rules-win
|
||||
@@ -68,7 +68,7 @@ check-ui:
|
||||
deno check server/src/dashboard.ts
|
||||
|
||||
# Build Windows-native server binary in release mode (ensuring fresh UI build)
|
||||
build-server: build-ui
|
||||
build-server port: build-ui
|
||||
@Write-Host "Building Windows Server..." -ForegroundColor Cyan
|
||||
cargo build --release -p mcp-memory-server
|
||||
|
||||
@@ -179,7 +179,7 @@ improve-tests file="server/src/ollama.rs":
|
||||
# =========================================================
|
||||
|
||||
# Complete lifecycle: stop, build, deploy, start, and verify Windows server
|
||||
all-server-win port: (stop port) build-server (deploy-server port) (start port) (verify port)
|
||||
all-server-win port: (stop port) (build-server port) (deploy-server port) (start port) (verify port)
|
||||
|
||||
# Complete lifecycle: build and deploy Windows stub
|
||||
all-stub-win: build-stub-win deploy-stub-win
|
||||
@@ -194,7 +194,7 @@ all-stub-wsl: build-stub deploy-stub
|
||||
all-nvim-wsl: build-nvim deploy-nvim
|
||||
|
||||
# Complete lifecycle: stop, build, deploy, start, and verify WSL server
|
||||
all-server-wsl port: (stop port) build-server (deploy-server port) (start port) (verify port)
|
||||
all-server-wsl port: (stop port) (build-server port) (deploy-server port) (start port) (verify port)
|
||||
|
||||
# Install git hooks (post-commit reconciliation and pre-push gatekeeper)
|
||||
install-git-hooks:
|
||||
|
||||
Reference in new issue
Block a user