diff --git a/src/mcpo/main.py b/src/mcpo/main.py index 78726f8..845dc85 100644 --- a/src/mcpo/main.py +++ b/src/mcpo/main.py @@ -107,7 +107,7 @@ async def lifespan(app: FastAPI): server_params = StdioServerParameters( command=command, args=args, - env={**env}, + env={**os.environ, **env}, ) async with stdio_client(server_params) as (reader, writer):