Merge pull request #161 from KyleF0X/fix-smithery-authentication
Some checks failed
Create and publish Docker images with specific build args / build-main-image (linux/amd64) (push) Has been cancelled
Create and publish Docker images with specific build args / build-main-image (linux/arm64) (push) Has been cancelled
Create and publish Docker images with specific build args / merge-main-images (push) Has been cancelled

fix: Enable environment variable inheritance for Smithery cloud services authentication
This commit is contained in:
Tim Jaeryang Baek
2025-05-28 23:36:17 +04:00
committed by GitHub

View File

@@ -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):