MCPcopy Index your code
hub / github.com/github/github-mcp-server / buildInitializedNotification

Function buildInitializedNotification

cmd/mcpcurl/main.go:483–485  ·  view source on GitHub ↗

buildInitializedNotification creates the MCP initialized notification.

()

Source from the content-addressed store, hash-verified

481
482// buildInitializedNotification creates the MCP initialized notification.
483func buildInitializedNotification() string {
484 return `{"jsonrpc":"2.0","method":"notifications/initialized"}`
485}
486
487// readJSONRPCResponse reads lines from the scanner, skipping server-initiated
488// notifications (messages without an "id" field), and returns the first response.

Callers 2

executeServerCommandFunction · 0.85

Calls

no outgoing calls

Tested by 1