Skip to content

Add Authorization header support for GitHub MCP preset#28

Merged
protonspy merged 1 commit into
mainfrom
mcp-github-authorization-headers
Jun 8, 2026
Merged

Add Authorization header support for GitHub MCP preset#28
protonspy merged 1 commit into
mainfrom
mcp-github-authorization-headers

Conversation

@protonspy

Copy link
Copy Markdown
Owner

Summary

  • Add headers support to remote MCP server config and mcp add --header K=V.
  • Configure the GitHub MCP preset with Authorization: Bearer ${GITHUB_PAT}.
  • Validate malformed header config and reject headers on stdio MCP servers.

Tests

  • env GOCACHE=/tmp/go-cache go test ./internal/cli
  • pre-push: go test -race -coverprofile=coverage.out ./...

@protonspy protonspy merged commit 6f1b151 into main Jun 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant