From b20ca4ea898fb5e47aba9d14f759463f886e2910 Mon Sep 17 00:00:00 2001 From: Yamila Moreno Date: Fri, 12 Jun 2026 10:53:10 +0200 Subject: [PATCH] :books: Add WebSocket proxy configuration for MCP in Nginx example --- docs/technical-guide/getting-started/docker.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/technical-guide/getting-started/docker.md b/docs/technical-guide/getting-started/docker.md index a8c7b55ffa..dacf4f4195 100644 --- a/docs/technical-guide/getting-started/docker.md +++ b/docs/technical-guide/getting-started/docker.md @@ -206,12 +206,21 @@ server { proxy_pass http://localhost:9001/ws/notifications; } + # If you enable the MCP server location /mcp/ws { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_pass http://localhost:9001/mcp/ws; } + location /mcp/stream { + proxy_pass http://localhost:9001/mcp/stream; + } + + location /mcp/sse { + proxy_pass http://localhost:9001/mcp/sse; + } + # Proxy pass location / { proxy_set_header Host $http_host;