Skip to content

Tool Timeout Persists Despite Increased MCP Timeout Settings #20

@DoiiarX

Description

@DoiiarX

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:

  1. Global env in UTCP file:

    "env": {
      "MCP_TIMEOUT": "600000",
      "MCP_SERVER_TIMEOUT": "60000"
    }
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions