Add required "type": "http" field to safe-inputs MCP configuration#5729
Add required "type": "http" field to safe-inputs MCP configuration#5729
Conversation
The safe-inputs MCP server HTTP configuration was missing the required "type": "http" field for Claude engine. The MCP specification requires this field for HTTP transport. This was causing Claude to fail with "Invalid MCP configuration:" error when trying to load the MCP configuration. The fix ensures that the "type": "http" field is always included in the safe-inputs MCP configuration, regardless of the engine. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
The health endpoint (/health) for the safe-inputs MCP server doesn't require authentication, so the tests should check for the correct health check command without Authorization headers. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
🔮 The ancient spirits stir... Smoke Codex awakens to divine this pull request... |
|
📰 BREAKING: Smoke Copilot Playwright is now investigating this pull request. Sources say the story is developing... |
|
💥 WHOOSH! Smoke Claude springs into action on this pull request! [Panel 1 begins...] |
|
📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing... |
|
🤖 SYSTEM_INIT: Smoke Copilot No Firewall ACTIVATED. PROCESSING pull request. ALL SUBSYSTEMS ONLINE. |
|
🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰 |
✅ Dev Hawk Report - SuccessWorkflow Run: #3053
The Dev workflow completed successfully! 🎉 All checks passed for the changes to safe-inputs MCP configuration and HTTP test updates.
|
Smoke Test ResultsGitHub MCP: ✅ (#5737: Close entity refactoring, #5727: Add health GET endpoint) Overall Status: PASS
|
Smoke Test ResultsPR #5726: Store safeinputs MCP server logs in artifact and add health endpoint ✅ GitHub MCP: Last 2 PRs retrieved Overall: PASS
|
Smoke Test Results - Claude Engine (20004506330)Last 2 Merged PRs:
Test Results: Overall: PASS
|
Smoke Test Results✅ Playwright MCP: Navigated to https://github.com and verified page title contains "GitHub" Overall Status: PASS
|
|
Merged PRs: Store safeinputs MCP server logs in artifact and add health endpoint; Add GET health endpoint to MCP HTTP server
|
Claude agent fails to start with "Invalid MCP configuration:" error due to missing
"type": "http"field in safe-inputs MCP server configuration.Changes
pkg/workflow/safe_inputs.go: Remove conditional that only added
"type": "http"for Copilot. MCP spec requires this field for HTTP transport regardless of engine.pkg/workflow/safe_inputs_http_integration_test.go: Update health check assertions to reflect that
/healthendpoint doesn't require authentication.Example
Before (Claude config missing type field):
{ "safeinputs": { "url": "http://localhost:$PORT", "headers": { "Authorization": "Bearer $KEY" } } }After (type field present for all engines):
{ "safeinputs": { "type": "http", "url": "http://localhost:$PORT", "headers": { "Authorization": "Bearer $KEY" } } }Warning
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/repos/githubnext/gh-aw/actions/artifacts/4789178584/zip/usr/bin/curl curl -L -o safeinputs.zip REDACTED -H Authorization: Bearer -H Accept: application/vnd.github+json(http block)https://api.github.com/repos/githubnext/gh-aw/actions/artifacts/4789178626/zip/usr/bin/curl curl -L REDACTED -H Authorization: Bearer -H Accept: application/vnd.github+json -o agent-stdio.zip(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
Smoke Test Summary
Changeset