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

Method Init

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

Init initializes the proxier, establishing a connection with the upstream server and fetching resources.

(context.Context)

Source from the content-addressed store, hash-verified

11type ServerProxier interface {
12 // Init initializes the proxier, establishing a connection with the upstream server and fetching resources.
13 Init(context.Context) error
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

Callers 8

InitMethod · 0.65
handleManifestMethod · 0.65
mergeAndScoreFunction · 0.65
TestExecuteBasicFunction · 0.65
TestEnvFunction · 0.65
TestTimeoutFunction · 0.65
TestScriptReportsTimingFunction · 0.65
TestExecuteOptionsFunction · 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 5

TestExecuteBasicFunction · 0.52
TestEnvFunction · 0.52
TestTimeoutFunction · 0.52
TestScriptReportsTimingFunction · 0.52
TestExecuteOptionsFunction · 0.52