Interface: SignozMcpServerOptions
Defined in: src/mcp/server.ts:8
The connection a transport needs: the SigNoz URL and one credential.
Extends
Properties
apiKey?
optionalapiKey?:string
Defined in: src/mcp/config.ts:201
Inherited from
authToken?
optionalauthToken?:string
Defined in: src/mcp/config.ts:202
Inherited from
baseUrl
baseUrl:
string
Defined in: src/mcp/config.ts:200
Inherited from
environment?
optionalenvironment?:string
Defined in: src/mcp/server.ts:12
The default deployment.environment the telemetry tools filter on.
onShutdown?
optionalonShutdown?: () =>void
Defined in: src/mcp/server.ts:20
Called after /shutdown has closed the server — the process exits there.
Returns
void
port
port:
number
Defined in: src/mcp/server.ts:10
Port to listen on, on 127.0.0.1. 0 picks a free one; read it back from url.
refreshAuthToken?
optionalrefreshAuthToken?:string
Defined in: src/mcp/config.ts:203
Inherited from
SignozConnection.refreshAuthToken
sessionFile?
optionalsessionFile?:string
Defined in: src/mcp/config.ts:208
Where rotated session tokens persist, so every process started from the same config shares them. Ignored with an API key. Default: none (the pair lives in memory only).
Inherited from
shutdownToken?
optionalshutdownToken?:string
Defined in: src/mcp/server.ts:18
Enables POST /shutdown: a request carrying this value in X-Signoz-Shutdown closes the
server (202); any other value gets 403. signoz mcp stop uses it, because on Windows a
signal is TerminateProcess and no cleanup would run.