MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / stdio-env-isolation.test.ts

File stdio-env-isolation.test.ts

packages/plugins/mcp/src/sdk/stdio-env-isolation.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// What environment does a stdio MCP server actually receive?
2//
3// This spawns a real subprocess through the real transport and reads back the
4// environment that process was handed. Asserting on the arguments we pass to

Callers

nothing calls this directly

Calls 3

setHostEnvFunction · 0.85
envSeenByChildFunction · 0.85
clearMethod · 0.80

Tested by

no test coverage detected