fix(mcp): authentication for mcp calls in remote runtime (#8856)

This commit is contained in:
Xingyao Wang
2025-06-02 17:41:47 -04:00
committed by GitHub
parent e49c984e9f
commit 17ae03857f
7 changed files with 34 additions and 9 deletions

View File

@@ -158,7 +158,7 @@ class OpenHandsMCPConfig:
return MCPStdioServerConfig(
name='tavily',
command='npx',
args=['-y', 'tavily-mcp@0.1.4'],
args=['-y', 'tavily-mcp@0.2.1'],
env={'TAVILY_API_KEY': app_config.search_api_key.get_secret_value()},
)
else: