MCPcopy
hub / github.com/modelcontextprotocol/registry / Start

Method Start

internal/api/server.go:151–154  ·  view source on GitHub ↗

Start begins listening for incoming HTTP requests

()

Source from the content-addressed store, hash-verified

149
150// Start begins listening for incoming HTTP requests
151func (s *Server) Start() error {
152 log.Printf("HTTP server starting on %s", s.config.ServerAddress)
153 return s.server.ListenAndServe()
154}
155
156// Shutdown gracefully shuts down the server
157func (s *Server) Shutdown(ctx context.Context) error {

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected