Skip to content

Commit 3cd2e48

Browse files
czlonkowskiclaude
andauthored
fix(ci): add auth header to Docker MCP endpoint test (czlonkowski#726)
The /mcp endpoint requires authentication since v2.47.6 (GHSA-75hx-xj24-mqrw), but the Docker image smoke test was still calling it without a Bearer token, causing a 401 and failing the build. Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 217d737 commit 3cd2e48

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/docker-build-n8n.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ jobs:
148148
# Test health endpoint
149149
curl -f http://localhost:3000/health || exit 1
150150
151-
# Test MCP endpoint
152-
curl -f http://localhost:3000/mcp || exit 1
151+
# Test MCP endpoint (requires auth since v2.47.6)
152+
curl -f -H "Authorization: Bearer test-token-minimum-32-chars-long" http://localhost:3000/mcp || exit 1
153153
154154
# Cleanup
155155
docker stop n8n-mcp-test

0 commit comments

Comments
 (0)