feat: add headers support to SSE transport MCP servers (#3902)

This commit is contained in:
Jack Wotherspoon
2025-07-11 15:59:42 -04:00
committed by GitHub
parent 8f12e8a114
commit 2826c7a1c6
3 changed files with 88 additions and 4 deletions

View File

@@ -87,7 +87,7 @@ Each server configuration supports the following properties:
#### Optional
- **`args`** (string[]): Command-line arguments for Stdio transport
- **`headers`** (object): Custom HTTP headers when using `httpUrl`
- **`headers`** (object): Custom HTTP headers when using `url` or `httpUrl`
- **`env`** (object): Environment variables for the server process. Values can reference environment variables using `$VAR_NAME` or `${VAR_NAME}` syntax
- **`cwd`** (string): Working directory for Stdio transport
- **`timeout`** (number): Request timeout in milliseconds (default: 600,000ms = 10 minutes)