mcp.server.serverFromEnvironment
-
The tmux server this process was pointed at.
Description#
An MCP client launches this with an environment and a command line, and nothing else, so the environment is the only place a socket can come from. The library itself never reads these — a library that picks up ambient configuration is a library that surprises its caller — which is why the reading happens out here, at the edge that has a process to belong to.
Guides#
Pages that discuss serverFromEnvironment.