MCPcopy Index your code
hub / github.com/modelcontextprotocol/registry / Shutdown

Method Shutdown

internal/api/server.go:157–159  ·  view source on GitHub ↗

Shutdown gracefully shuts down the server

(ctx context.Context)

Source from the content-addressed store, hash-verified

155
156// Shutdown gracefully shuts down the server
157func (s *Server) Shutdown(ctx context.Context) error {
158 return s.server.Shutdown(ctx)
159}

Callers 2

mainFunction · 0.95
InitMetricsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected