Stu Mason
Stu Mason

Activity

Pull Request Opened

PR #168 opened: chore: release v2.8.1 — --header CLI flag for custom HTTP headers

Summary

Cuts v2.8.1. One feature: the --header CLI flag from #167 (thanks @imantsk).

What's in

  • --header flag on the MCP server CLI for injecting custom HTTP headers on every outbound request. Targets Cloudflare Zero Trust, auth proxies, and similar middleware. Multiple --header flags combine. Reserved headers (Authorization, Content-Type) are filtered with a warning.

README gets a new "Custom HTTP Headers" section under Installation showing the Cloudflare Access example.

Test plan

  • npm run build clean
  • npm test — 279 pass (was 270 on 2.8.0 — @imantsk's 9 new tests included)
  • After merge, publish.yml auto-publishes 2.8.1 to npm and cuts the GitHub Release from the CHANGELOG block
+37
additions
-3
deletions
4
files changed