My xxx.tools.yyy tool consistently times out after 15 seconds with the error: MCP operation on 'tools:http' timed out after 15s.
Context:
I have attempted to increase the MCP timeout settings.
Configuration Attempts:
-
Global env in UTCP file:
"env": {
"MCP_TIMEOUT": "600000",
"MCP_SERVER_TIMEOUT": "60000"
}
-
Tool-specific config and timeout:
{
"name": "xxx",
"call_template_type": "mcp",
"config": {
"mcpServers": {
"tools": {
"transport": "http",
"url": "zzzz",
"env": {
"MCP_TIMEOUT": "600000",
"MCP_SERVER_TIMEOUT": "60000"
}
}
}
},
"timeout": 600000
}
Expected Result:
The tool should respect the configured MCP_TIMEOUT and MCP_SERVER_TIMEOUT values, allowing for a longer execution time than 15 seconds.
Actual Result:
The timeout consistently occurs after 15 seconds, indicating that the new timeout configurations are not being applied or are being overridden.