From 559019f1aaff4c4598dfdfd8193b6888ada402b1 Mon Sep 17 00:00:00 2001 From: dj-oyu <68707227+dj-oyu@users.noreply.github.com> Date: Fri, 20 Mar 2026 06:47:50 +0900 Subject: [PATCH] docs: add timeout field to MCP per-server config in all languages Add the `timeout` field (introduced in PR #60) to the Per-Server Config table and Example 2 (Remote SSE/HTTP) across all 6 language variants. Co-Authored-By: Claude Opus 4.6 (1M context) --- docs/fr/tools_configuration.md | 4 +++- docs/ja/tools_configuration.md | 4 +++- docs/pt-br/tools_configuration.md | 4 +++- docs/tools_configuration.md | 4 +++- docs/vi/tools_configuration.md | 4 +++- docs/zh/tools_configuration.md | 4 +++- 6 files changed, 18 insertions(+), 6 deletions(-) diff --git a/docs/fr/tools_configuration.md b/docs/fr/tools_configuration.md index 15573fc30..7dbb598fc 100644 --- a/docs/fr/tools_configuration.md +++ b/docs/fr/tools_configuration.md @@ -175,6 +175,7 @@ Au lieu de charger tous les outils, le LLM reçoit un outil de recherche léger | `env_file` | string | non | Chemin vers le fichier d'environnement pour le processus stdio | | `url` | string | sse/http | URL du point de terminaison pour le transport `sse`/`http` | | `headers` | object | non | En-têtes HTTP pour le transport `sse`/`http` | +| `timeout` | int | non | Délai d'attente des appels d'outils en secondes (défaut : 60) | ### Comportement du transport @@ -223,7 +224,8 @@ Au lieu de charger tous les outils, le LLM reçoit un outil de recherche léger "url": "https://example.com/mcp", "headers": { "Authorization": "Bearer YOUR_TOKEN" - } + }, + "timeout": 120 } } } diff --git a/docs/ja/tools_configuration.md b/docs/ja/tools_configuration.md index e4568f6ae..c09104386 100644 --- a/docs/ja/tools_configuration.md +++ b/docs/ja/tools_configuration.md @@ -175,6 +175,7 @@ MCP ツールは外部の Model Context Protocol サーバーとの統合を可 | `env_file` | string | いいえ | stdio プロセスの環境ファイルパス | | `url` | string | sse/http | `sse`/`http` トランスポートのエンドポイント URL | | `headers` | object | いいえ | `sse`/`http` トランスポートの HTTP ヘッダー | +| `timeout` | int | いいえ | ツール呼び出しのタイムアウト秒数(デフォルト: 60) | ### トランスポートの動作 @@ -223,7 +224,8 @@ MCP ツールは外部の Model Context Protocol サーバーとの統合を可 "url": "https://example.com/mcp", "headers": { "Authorization": "Bearer YOUR_TOKEN" - } + }, + "timeout": 120 } } } diff --git a/docs/pt-br/tools_configuration.md b/docs/pt-br/tools_configuration.md index b6f726aa4..925d55489 100644 --- a/docs/pt-br/tools_configuration.md +++ b/docs/pt-br/tools_configuration.md @@ -175,6 +175,7 @@ Em vez de carregar todas as ferramentas, o LLM recebe uma ferramenta de pesquisa | `env_file` | string | não | Caminho para arquivo de ambiente para processo stdio | | `url` | string | sse/http | URL do endpoint para transporte `sse`/`http` | | `headers` | object | não | Cabeçalhos HTTP para transporte `sse`/`http` | +| `timeout` | int | não | Tempo limite de chamada de ferramenta em segundos (padrão: 60) | ### Comportamento do transporte @@ -223,7 +224,8 @@ Em vez de carregar todas as ferramentas, o LLM recebe uma ferramenta de pesquisa "url": "https://example.com/mcp", "headers": { "Authorization": "Bearer YOUR_TOKEN" - } + }, + "timeout": 120 } } } diff --git a/docs/tools_configuration.md b/docs/tools_configuration.md index 08746e267..a506ffb5e 100644 --- a/docs/tools_configuration.md +++ b/docs/tools_configuration.md @@ -179,6 +179,7 @@ and injected into the context for a configured number of turns (`ttl`). | `env_file` | string | no | Path to environment file for stdio process | | `url` | string | sse/http | Endpoint URL for `sse`/`http` transport | | `headers` | object | no | HTTP headers for `sse`/`http` transport | +| `timeout` | int | no | Tool call timeout in seconds (default: 60) | ### Transport Behavior @@ -227,7 +228,8 @@ and injected into the context for a configured number of turns (`ttl`). "url": "https://example.com/mcp", "headers": { "Authorization": "Bearer YOUR_TOKEN" - } + }, + "timeout": 120 } } } diff --git a/docs/vi/tools_configuration.md b/docs/vi/tools_configuration.md index 6cc4dc8b6..f6321e00f 100644 --- a/docs/vi/tools_configuration.md +++ b/docs/vi/tools_configuration.md @@ -175,6 +175,7 @@ Thay vì tải tất cả các công cụ, LLM được cung cấp một công c | `env_file` | string | không | Đường dẫn đến tệp môi trường cho tiến trình stdio | | `url` | string | sse/http | URL endpoint cho truyền tải `sse`/`http` | | `headers` | object | không | Header HTTP cho truyền tải `sse`/`http` | +| `timeout` | int | không | Thời gian chờ gọi công cụ tính bằng giây (mặc định: 60) | ### Hành vi truyền tải @@ -223,7 +224,8 @@ Thay vì tải tất cả các công cụ, LLM được cung cấp một công c "url": "https://example.com/mcp", "headers": { "Authorization": "Bearer YOUR_TOKEN" - } + }, + "timeout": 120 } } } diff --git a/docs/zh/tools_configuration.md b/docs/zh/tools_configuration.md index ff88b6707..84b1dbc2d 100644 --- a/docs/zh/tools_configuration.md +++ b/docs/zh/tools_configuration.md @@ -175,6 +175,7 @@ LLM 不会加载所有工具,而是获得一个轻量级搜索工具(使用 | `env_file` | string | 否 | stdio 进程的环境文件路径 | | `url` | string | sse/http | `sse`/`http` 传输的端点 URL | | `headers` | object | 否 | `sse`/`http` 传输的 HTTP 头 | +| `timeout` | int | 否 | 工具调用超时时间(秒,默认: 60) | ### 传输行为 @@ -223,7 +224,8 @@ LLM 不会加载所有工具,而是获得一个轻量级搜索工具(使用 "url": "https://example.com/mcp", "headers": { "Authorization": "Bearer YOUR_TOKEN" - } + }, + "timeout": 120 } } }