bookstack-mcp-server icon indicating copy to clipboard operation
bookstack-mcp-server copied to clipboard

HTTP mode not yet running?

Open andrebeekhuis opened this issue 8 months ago • 2 comments

I would love to use this awesome mcp-server in http mode. Have tried almost all deployment modes, building from scratch. Cant get the http mode running.

2026-03-19 14:52:24 [info] Configuration loaded and validated successfully BookStack MCP Server listening on port 3000

But cant reach any endpoint there. stdio mode is working and connects to bookstack successfully. But i would like to use this mcp server in n8n, so i need http mode.

andrebeekhuis avatar Mar 19 '26 14:03 andrebeekhuis

Hi @andrebeekhuis — different issue from #3, but worth flagging that the MCP_TRANSPORT env var is undocumented in the README. The default is http, and stdio is only enabled if you explicitly set MCP_TRANSPORT=stdio. If you got stdio mode working it's because you stumbled onto that variable somewhere; the README never mentions it.

I haven't investigated the HTTP transport path myself so I can't help directly with the routing question, but wanted to flag the env var gap in case it's useful context for whoever picks this up. Might be worth opening a separate docs issue for it.

ws404dev avatar Apr 10 '26 00:04 ws404dev

When i trying to run it with -e MCP_TRANSPORT=stdio , container starts `2026-07-08 08:33:35 [info] Configuration loaded and validated successfully

2026-07-08 08:33:35 [info] BookStack API client initialized {"baseUrl":"https://shore-stage.otaliodev.com:8085/api","timeout":30000}

2026-07-08 08:33:35 [info] Registered 56 tools

2026-07-08 08:33:35 [info] Registered 11 resources

2026-07-08 08:33:35 [info] BookStack MCP Server initialized {"tools":56,"resources":11,"baseUrl":"https://shore-stage.otaliodev.com:8085/api"}

BookStack MCP Server started and listening on stdio`

And dies immediately. If someone successfully started this MCP using Docker, please share the steps or update the documentation.

viktorzub avatar Jul 08 '26 08:07 viktorzub