Replies: 2 comments 2 replies
-
Hi Why are you listening to a That being said you can just run it directly? Dockerfile: FROM node:slim
RUN apt-get update && apt-get -y install libsecret-1-0 command: docker run --rm -it node-with-libsecret-image npx -y @softeria/ms-365-mcp-server What's up with Edit: |
Beta Was this translation helpful? Give feedback.
-
An update here. I've added Streamable HTTP transport. It can be enabled by passing npx @softeria/ms-365-mcp-server --http 7000 It will then have I'm closing this discussion now. If it doesn't work with n8n it could be because they only support SSE, and not Streamable HTTP - but SSE is deprecated so I don't think I will add it. Better to find other workarounds in n8n. Also note; I've considered adding client secret a bit more, and for now I will not do that. Because it really complicates things a lot more than one might initially think. This would mean running company-level requests, not user-level requests. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
1 What I’m trying to do
Run the Softeria ms-365-mcp-server inside the same Docker Compose stack that already hosts an n8n instance, so that n8n can call the MCP server at
http://localhost:3333/…
.2 Environment
node:20-slim
50e7243
(current main)3 Compose excerpt
4 Current
Dockerfile.ms365
(multi-stage)5 What already didn’t work
Error: libsecret-1.so.0 … ERR_DLOPEN_FAILED
(keytar)libsecret
in Alpine / Debian__vdso_gettimeofday
node:20-slim
+KEYTAR_DISABLE=1
npm run build
)dist/server.js
node dist/server.js
returns instantly with exit 0, nothing listens on :33336 Symptoms right now
docker compose up -d ms365-mcp
→ container restarts every ~1 s, no log lines.curl localhost:5333
→ connection refused).7 Questions for the community
dist/{server,cli,index}.js
. Which file is the proper headless HTTP server?PORT
,LOG_LEVEL
) before it actually starts listening ?node:slim
/ Debian bookworm) without keytar – which CMD do you use?Any working Compose snippet or hint is highly appreciated – I’ve spent the whole weekend and clearly miss one simple switch. 🙏
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions