MCPcopy Index your code
hub / github.com/simstudioai/sim / constructor

Method constructor

apps/sim/lib/mcp/connection-manager.ts:82–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80 private unsubscribePubSub?: () => void
81
82 constructor() {
83 if (mcpPubSub) {
84 this.unsubscribePubSub = mcpPubSub.onToolsChanged((event) => {
85 this.notifyLocalListeners(event)
86 })
87 }
88 }
89
90 /**
91 * Subscribe to tools-changed events from any managed connection.

Callers

nothing calls this directly

Calls 2

notifyLocalListenersMethod · 0.95
onToolsChangedMethod · 0.65

Tested by

no test coverage detected