Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/coder/mux
/ mcpServerManager.test.ts
File
mcpServerManager.test.ts
src/node/services/mcpServerManager.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, beforeEach, describe, expect, mock, spyOn, test } from
"bun:test"
;
2
import
{ createServer } from
"http"
;
3
4
import
* as mcpSdk from
"@ai-sdk/mcp"
;
Callers
nothing calls this directly
Calls
15
wrapMCPTools
Function · 0.90
isClosedClientError
Function · 0.90
runMCPToolWithDeadline
Function · 0.90
testInstance
Function · 0.85
cachedStats
Function · 0.85
stdioConfig
Function · 0.85
workspaceRequest
Function · 0.85
testTool
Function · 0.85
startResult
Function · 0.85
resolve
Method · 0.80
set
Method · 0.80
cleanupIdleServers
Method · 0.80
Tested by
no test coverage detected