You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add environment variable support for HTTP MCP headers (#3075)
* feat: Add environment variable support for HTTP MCP headers
- Enable ${env:VAR_NAME} syntax in HTTP MCP server headers
- Extends existing env var processing from stdio to http transport
- Improves security by avoiding hardcoded tokens in config files
Example usage:
"headers": {
"Authorization": "Bearer ${env:GITHUB_TOKEN}"
}
* test: Add unit test for HTTP headers environment variable processing
- Tests that env vars in HTTP headers are properly substituted
- Covers Authorization header with Bearer token pattern
- Verifies multiple headers and mixed content scenarios
* revert: Remove unnecessary formatting change in oauth_util.rs
Keep PR focused only on the core environment variable feature
0 commit comments