-
Notifications
You must be signed in to change notification settings - Fork 36
Enable HTTP MCP server mode for agentic-workflows tool #10171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
🎬 THE END — Smoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨ |
|
🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰 |
|
📰 DEVELOPING STORY: Smoke Copilot reports failed. Our correspondents are investigating the incident... |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
|
GitHub MCP: ✅ Fix undici security vulnerability (GHSA-g9mf-h72j-4rw9); Use GitHub MCP server with dynamic repo context in code-scanning-fixer workflow
|
The agentic-workflows HTTP MCP server requires GH_AW_AGENTIC_WORKFLOWS_PORT
and GH_AW_AGENTIC_WORKFLOWS_API_KEY environment variables to be passed to
the MCP gateway container so it can resolve the ${} variable references in
the MCP configuration.
Without these environment variables, the gateway fails during startup with:
"Configuration error at mcpServers.agentic_workflows.env.Authorization:
undefined environment variable referenced: GH_AW_AGENTIC_WORKFLOWS_API_KEY"
This fix adds the environment variables to the docker run command, matching
the pattern used for safe-inputs MCP server.
Fixes CI failure in smoke-copilot workflow.
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Fixed in e5d5baf. The issue was that The fix adds these environment variables to the docker command using |
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
|
🎬 THE END — Smoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨ |
|
🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰 |
|
GitHub MCP (merged PRs: Fix undici security vulnerability (GHSA-g9mf-h72j-4rw9); Use GitHub MCP server with dynamic repo context in code-scanning-fixer workflow) ✅
|
Claude Engine Smoke Test - PASS ✅Recent PRs:
Test Results:
Status: All systems operational
|
Smoke Test Results - Run #21053617118Last 2 Merged PRs:
Test Results:
Overall Status: PASS (4/5 tests passed, serena-go unavailable in environment) cc @pelikhan
|
Fix: Add agentic-workflows env vars to MCP gateway docker command
-e GH_AW_AGENTIC_WORKFLOWS_PORTto docker command-e GH_AW_AGENTIC_WORKFLOWS_API_KEYto docker commandRoot Cause
The agentic-workflows MCP server uses HTTP mode with URL
http://host.docker.internal:$GH_AW_AGENTIC_WORKFLOWS_PORTand Authorization header${GH_AW_AGENTIC_WORKFLOWS_API_KEY}. The MCP gateway validates and resolves these${}variable references at configuration load time, so the environment variables must be available in the gateway container's environment.The environment variables were being set in the workflow step's
env:block and collected incollectMCPEnvironmentVariables(), but they weren't being passed to the docker container via-eflags in the docker command.Fix
Added the environment variables to the docker command in
mcp_servers.go:This matches the existing pattern for safe-inputs MCP server and ensures the variables are available for the gateway to resolve.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Changeset
agentic-workflowstool. The tool now startsgh aw mcp-serveras an HTTP server and emits the API key and port so generated MCP configs use an HTTP transport with anAuthorizationheader. Changes include server startup, switching generated configs from stdio to HTTP, and passingGH_AW_AGENTIC_WORKFLOWS_PORTandGH_AW_AGENTIC_WORKFLOWS_API_KEYto the gateway.Changeset
agentic-workflowstool. The tool now startsgh aw mcp-serveras an HTTP server and emits the API key and port so generated MCP configs use an HTTP transport with anAuthorizationheader. The gateway docker command now passesGH_AW_AGENTIC_WORKFLOWS_PORTandGH_AW_AGENTIC_WORKFLOWS_API_KEYto the container.