feat: add support to remote MCP servers for custom HTTP headers (#2477)

This commit is contained in:
Adam Spiers
2025-06-30 01:09:08 +01:00
committed by GitHub
parent d1eb86581c
commit 0fd602eb43
4 changed files with 149 additions and 2 deletions

View File

@@ -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