Update MCP gateway (awmg) to v0.0.12#9477
Conversation
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
|
💫 TO BE CONTINUED... Smoke Claude failed! Our hero faces unexpected challenges... |
|
📰 DEVELOPING STORY: Smoke Copilot reports failed. Our correspondents are investigating the incident... |
|
💀 Blimey! Changeset Generator failed and walked the plank! No treasure today, matey! ☠️ |
|
🌑 The shadows whisper... Smoke Codex failed. The oracle requires further meditation... |
The MCP Gateway v0.0.12 validates against the schema which didn't allow the 'tools' field that Copilot engine adds to server configs. Changes: - Add 'tools' field to stdioServerConfig for tool filtering - Add 'tools' and 'env' fields to httpServerConfig - Make mount mode suffix optional (source:dest or source:dest:mode)
…to copilot/update-awmg-to-v0012
|
💀 Blimey! Changeset Generator failed and walked the plank! No treasure today, matey! ☠️ |
|
📰 DEVELOPING STORY: Smoke Copilot reports failed. Our correspondents are investigating the incident... |
|
🌑 The shadows whisper... Smoke Codex failed. The oracle requires further meditation... |
|
💫 TO BE CONTINUED... Smoke Claude failed! Our hero faces unexpected challenges... |
The MCP Gateway v0.0.12 validates config against an embedded schema that doesn't have the 'tools' field. Since the converter script (convert_gateway_config_copilot.sh) already adds 'tools' back for Copilot CLI, we can safely remove it from the gateway config. Changes: - mcp_renderer.go: Remove tools field from Docker and Remote configs - safe_inputs_renderer.go: Remove tools field from HTTP server - fetch.go: Remove tools field from web-fetch server - mcp-config.go: Remove tools field from playwright, serena, safe-outputs, and builtin MCP server configs - Regenerate all workflows with updated config
|
🌑 The shadows whisper... Smoke Codex failed. The oracle requires further meditation... |
|
📰 DEVELOPING STORY: Smoke Copilot reports failed. Our correspondents are investigating the incident... |
|
💀 Blimey! Changeset Generator failed and walked the plank! No treasure today, matey! ☠️ |
|
📰 DEVELOPING STORY: Smoke Copilot reports failed. Our correspondents are investigating the incident... |
|
💀 Blimey! Changeset Generator failed and walked the plank! No treasure today, matey! ☠️ |
|
🌑 The shadows whisper... Smoke Codex failed. The oracle requires further meditation... |
|
💫 TO BE CONTINUED... Smoke Claude failed! Our hero faces unexpected challenges... |
awmg v0.0.12 validates and resolves ${VAR} patterns in the MCP config
at startup. The safeoutputs and other MCP servers reference environment
variables like GITHUB_SERVER_URL, GITHUB_REPOSITORY, etc. in their env
blocks.
This change passes all required environment variables to the awmg Docker
container so it can resolve these variable references during config
validation.
Environment variables added:
- Safeoutputs: GH_AW_MCP_LOG_DIR, GH_AW_SAFE_OUTPUTS, etc.
- GitHub MCP: GITHUB_MCP_SERVER_TOKEN, GITHUB_MCP_LOCKDOWN
- GitHub Actions: GITHUB_REPOSITORY, GITHUB_SERVER_URL, GITHUB_SHA, etc.
- Safeinputs: GH_AW_SAFE_INPUTS_PORT, GH_AW_SAFE_INPUTS_API_KEY
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
🌑 The shadows whisper... Smoke Codex failed. The oracle requires further meditation... |
|
💫 TO BE CONTINUED... Smoke Claude failed! Our hero faces unexpected challenges... |
|
💀 Blimey! Changeset Generator failed and walked the plank! No treasure today, matey! ☠️ |
|
📰 DEVELOPING STORY: Smoke Copilot reports failed. Our correspondents are investigating the incident... |
awmg v0.0.12 validates and resolves ${VAR} references at config load
time. The safeoutputs MCP server references GH_AW_ASSETS_BRANCH,
GH_AW_ASSETS_MAX_SIZE_KB, GH_AW_ASSETS_ALLOWED_EXTS, and DEFAULT_BRANCH
in its env config, but these were only set when upload-assets was
configured.
This change:
- Sets empty defaults for GH_AW_ASSETS_* vars when upload-assets is not
configured
- Adds DEFAULT_BRANCH from github.event.repository.default_branch
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
📰 DEVELOPING STORY: Smoke Copilot reports failed. Our correspondents are investigating the incident... |
|
💫 TO BE CONTINUED... Smoke Claude failed! Our hero faces unexpected challenges... |
|
🌑 The shadows whisper... Smoke Codex failed. The oracle requires further meditation... |
|
💀 Blimey! Changeset Generator failed and walked the plank! No treasure today, matey! ☠️ |
The gateway may take 40-50 seconds to start when multiple MCP servers are configured. Serena alone takes ~22 seconds to start, leaving little time for github and playwright servers. Increase MAX_ATTEMPTS from 30 to 60 to give the gateway sufficient time to initialize all MCP servers. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
🌑 The shadows whisper... Smoke Codex failed. The oracle requires further meditation... |
|
💀 Blimey! Changeset Generator failed and walked the plank! No treasure today, matey! ☠️ |
|
💫 TO BE CONTINUED... Smoke Claude failed! Our hero faces unexpected challenges... |
|
📰 DEVELOPING STORY: Smoke Copilot reports failed. Our correspondents are investigating the incident... |
Bump the default MCP gateway Docker image version from v0.0.11 to v0.0.12.
Changes
DefaultMCPGatewayVersionconstant inpkg/constants/constants.gopkg/workflow/docker_predownload_test.goWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/user/usr/bin/gh gh api user --jq .login 5a11afa32d7e8929 --jq(http block)/usr/bin/gh gh api user --jq .login xterm-color go ache/node/24.12.0/x64/bin/node -json GO111MODULE 64/pkg/tool/linuuser gh ache�� /repos/actions/github-script/git/ref/tags/v8 nly /usr/bin/gh -json GO111MODULE ache/go/1.25.0/x/repos/actions/github-script/git/ref/tags/v8 929/log.json(http block)/usr/bin/gh gh api user --jq .login xterm-color 3u/m5KpSMIlSvrSv-trimpath 988a105d269b5f9d99f0b1f731df7ab6f72/log.json 4917100/run-1000infocmp GO111MODULE 64/pkg/tool/linuxterm-color infocmp -1 3521-34032/test-3344524219 64/pkg/tool/linu-goversion(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.