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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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