Add GitHub API token injection tutorial#64
Merged
Conversation
Add a tutorials directory with a guide on configuring docker-compose to inject GitHub tokens via --fetch-header for authenticated API access from the JS sandbox. Also update docker-compose.yml to include the header injection rule using a GITHUB_TOKEN env var. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
MCP-V8 Load Test Benchmark ReportComparison of single-node vs 3-node cluster at various request rates. Results
P95 Latency
Notes
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tutorials/directory with a guide on configuringdocker-compose.ymlto inject GitHub tokens via--fetch-headerfor authenticated API access from the JS sandboxdocker-compose.ymlto include the header injection rule using aGITHUB_TOKENenvironment variable.envfile usage, testing with curl, JSON config file alternative, and security notesTest plan
docker compose up --build -dstarts successfully withGITHUB_TOKENsetdocker compose logs mcp-js | grep "header injection"shows 1 rule loadedapi.github.qkg1.topfrom the sandbox returns authenticated resultsGITHUB_TOKENset, the compose still starts (empty bearer token, GitHub returns 401)🤖 Generated with Claude Code