Switch MCP transport from stdio to Streamable HTTP

Mount POST /mcp on the main Express app (stateless Streamable HTTP).
Keep optional MCP-only HTTP process via npm run mcp. Update docs.
This commit is contained in:
2026-08-07 08:51:59 +02:00
parent f7f1481a39
commit 3032f2ea85
6 changed files with 152 additions and 58 deletions

View File

@@ -3,6 +3,10 @@ BASE_URL=http://webshare-api:3001
WEBSHARE_USERNAME=
WEBSHARE_PASSWORD=
# MCP Streamable HTTP (mounted on the main app at POST /mcp)
# MCP_ENABLED=true
# MCP_PATH=/mcp
# Host path mounted into the container (compose.yaml)
# DOWNLOAD_HOST_PATH=./data/webshare