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:
parent
3e37b3d5a0
commit
44800ed36b
@ -10,5 +10,12 @@ EXTRACTION_SERVICE_URL=http://localhost:4005
|
|||||||
# Auth — same JWT_SECRET as platform-service (tokens issued there are validated here)
|
# Auth — same JWT_SECRET as platform-service (tokens issued there are validated here)
|
||||||
JWT_SECRET=change-me-in-production
|
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
|
# Optional: AKV resolution
|
||||||
AZURE_KEYVAULT_URL=
|
AZURE_KEYVAULT_URL=
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
/**
|
/**
|
||||||
* ByteLyst MCP Server — port 4006
|
* ByteLyst MCP Server — port 4007
|
||||||
*
|
*
|
||||||
* Exposes tool namespaces:
|
* Exposes tool namespaces:
|
||||||
* platform.telemetry.* — query events, clusters, metrics
|
* platform.telemetry.* — query events, clusters, metrics, policy CRUD
|
||||||
* platform.diagnostics.* — manage debug sessions, read logs/traces
|
* platform.diagnostics.* — manage debug sessions, read logs/traces, cancel
|
||||||
* extraction.* — run extraction, list models, cache stats
|
* extraction.* — run extraction, list models, cache stats, sidecar health
|
||||||
* support.* — compound tools (createDebugPack)
|
* support.* — compound tools (createDebugPack, runIncidentPipeline)
|
||||||
*
|
*
|
||||||
* Auth: JWT Bearer tokens issued by platform-service (same JWT_SECRET).
|
* Auth: JWT Bearer tokens issued by platform-service (same JWT_SECRET).
|
||||||
* Role gating: viewer / admin / super_admin per tool.
|
* Role gating: viewer / admin / super_admin per tool.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user