mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 19:52:02 +00:00
feat: add support to remote MCP servers for custom HTTP headers (#2477)
This commit is contained in:
parent
d1eb86581c
commit
0fd602eb43
4 changed files with 149 additions and 2 deletions
|
|
@ -76,6 +76,7 @@ export class MCPServerConfig {
|
|||
readonly url?: string,
|
||||
// For streamable http transport
|
||||
readonly httpUrl?: string,
|
||||
readonly headers?: Record<string, string>,
|
||||
// For websocket transport
|
||||
readonly tcp?: string,
|
||||
// Common
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue