
@hironakamura_ai(中村 啓|LLM Engineer)Why Environment Variables Aren't Passed to the Child Process in the MCP Python SDKPythonMCPAI AgentsGenerative AIAI0Posted at 2026-11-11While testing the MCP Python SDK's stdio connection locally, a dummy token placed in the parent process disappeared in the child process. When I launched the same Python as a regular subprocess, it was visible. Environment variables passed to the MCP server should be explicitly specified