We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e2258a commit 76bd66fCopy full SHA for 76bd66f
.devcontainer/Dockerfile
@@ -105,6 +105,11 @@ setopt HIST_VERIFY # don't immediately execute recalled commands
105
# DEVCONTAINER ZSH HISTORY END
106
EOF
107
108
+# Export GitHub token from gh CLI for MCP server auth
109
+RUN echo '' >> /home/vscode/.zshrc && \
110
+ echo '# GitHub MCP token from gh CLI' >> /home/vscode/.zshrc && \
111
+ echo 'export GITHUB_PERSONAL_ACCESS_TOKEN=$(gh auth token 2>/dev/null)' >> /home/vscode/.zshrc
112
+
113
# Switch back to vscode user
114
USER vscode
115
0 commit comments