Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ route.ts
File
route.ts
apps/sim/app/api/mcp/events/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* SSE endpoint
for
MCP tool-change events.
3
*
4
* Pushes `tools_changed` events to the browser when:
Callers
nothing calls this directly
Calls
6
createWorkspaceSSE
Function · 0.90
withRouteHandler
Function · 0.90
onWorkflowToolsChanged
Method · 0.80
subscribe
Method · 0.65
get
Method · 0.65
send
Function · 0.50
Tested by
no test coverage detected