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) <noreply@anthropic.com>
This commit is contained in:
parent
8ffbc05e62
commit
559019f1aa
6 changed files with 18 additions and 6 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue