MCPcopy Index your code
hub / github.com/coder/coder / Shutdown

Method Shutdown

aibridge/mcp/api.go:16–16  ·  view source on GitHub ↗

Gracefully shut down connections to the MCP server. Session management will vary per transport. See https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#session-management.

(ctx context.Context)

Source from the content-addressed store, hash-verified

14 // Gracefully shut down connections to the MCP server. Session management will vary per transport.
15 // See https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#session-management.
16 Shutdown(ctx context.Context) error
17
18 // ListTools lists all known tools. These MUST be sorted in a stable order.
19 ListTools() []*Tool

Callers 4

ShutdownMethod · 0.65
setupTracerFunction · 0.65
ShutdownMethod · 0.65
CloseMethod · 0.65

Implementers 7

mockServerProxieraibridge/intercept/responses/blocking_
mockServerProxieraibridge/intercept/messages/base_inter
mockServerProxieraibridge/intercept/chatcompletions/blo
ServerProxyManageraibridge/mcp/server_proxy_manager.go
StreamableHTTPServerProxyaibridge/mcp/proxy_streamable_http.go
MockServerProxieraibridge/mcpmock/mcpmock.go
MockServerProxierMockRecorderaibridge/mcpmock/mcpmock.go

Calls

no outgoing calls

Tested by 1

setupTracerFunction · 0.52