feat(mcp): add GitHub, GitLab, Jira, and Confluence MCP servers
Install four MCP servers globally in the claude image: @modelcontextprotocol/server-github → mcp-server-github @yoda.digital/gitlab-mcp-server → gitlab-mcp-server @aashari/mcp-server-atlassian-jira → mcp-atlassian-jira @aashari/mcp-server-atlassian-confluence → mcp-atlassian-confluence Wire them in managed-settings.json via mcpServers with env var pass-through. Jira and Confluence share ATLASSIAN_* credentials. Add api.github.com, .gitlab.com, .atlassian.net to the squid allowlist. All credentials are optional — servers are skipped if the relevant env vars are unset.
This commit is contained in:
parent
c65ed15653
commit
e19d4eb0a3
5 changed files with 75 additions and 5 deletions
|
|
@ -18,6 +18,13 @@ COPY settings.json /etc/claude-code/managed-settings.json
|
|||
# Install Claude Code globally
|
||||
RUN npm install -g @anthropic-ai/claude-code
|
||||
|
||||
# Install MCP servers globally — entry points land in /usr/local/lib/node_modules/
|
||||
RUN npm install -g \
|
||||
@modelcontextprotocol/server-github \
|
||||
@yoda.digital/gitlab-mcp-server \
|
||||
@aashari/mcp-server-atlassian-jira \
|
||||
@aashari/mcp-server-atlassian-confluence
|
||||
|
||||
# Workspace and Claude config dir — owned by the built-in node user (uid 1000).
|
||||
# Pre-creating ~/.claude ensures the named volume is initialised with the
|
||||
# correct ownership when first mounted (Docker copies image content into
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue