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
commit a33ab53331
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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