fix(mcp-server): correct stale port comment 4006→4007 in server.ts; document CORS_ORIGIN and query limit vars in .env.example

This commit is contained in:
saravanakumardb1 2026-03-05 12:36:26 -08:00
parent 3e37b3d5a0
commit 44800ed36b
2 changed files with 12 additions and 5 deletions

View File

@ -10,5 +10,12 @@ EXTRACTION_SERVICE_URL=http://localhost:4005
# Auth — same JWT_SECRET as platform-service (tokens issued there are validated here)
JWT_SECRET=change-me-in-production
# Optional: restrict CORS origin (default: unrestricted — set in production)
CORS_ORIGIN=
# Query limits (defaults: max 100, page 20)
QUERY_MAX_LIMIT=100
QUERY_DEFAULT_LIMIT=20
# Optional: AKV resolution
AZURE_KEYVAULT_URL=

View File

@ -1,11 +1,11 @@
/**
* ByteLyst MCP Server port 4006
* ByteLyst MCP Server port 4007
*
* Exposes tool namespaces:
* platform.telemetry.* query events, clusters, metrics
* platform.diagnostics.* manage debug sessions, read logs/traces
* extraction.* run extraction, list models, cache stats
* support.* compound tools (createDebugPack)
* platform.telemetry.* query events, clusters, metrics, policy CRUD
* platform.diagnostics.* manage debug sessions, read logs/traces, cancel
* extraction.* run extraction, list models, cache stats, sidecar health
* support.* compound tools (createDebugPack, runIncidentPipeline)
*
* Auth: JWT Bearer tokens issued by platform-service (same JWT_SECRET).
* Role gating: viewer / admin / super_admin per tool.