mirror of
https://github.com/open-webui/mcpo
synced 2025-06-26 18:26:58 +00:00
fix: Enable environment variable inheritance for Smithery cloud services authentication
This commit is contained in:
parent
27af7a6f22
commit
438395c768
@ -103,7 +103,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):
|
||||
|
Loading…
Reference in New Issue
Block a user