Expose native MCP endpoint alongside mcpo #2

Merged
aneurin merged 1 commits from direct-mcp-endpoint into main 2026-10-06 16:29:26 +00:00
Member

Adds a native streamable-HTTP MCP endpoint (:8080/mcp, via supergateway) next to the mcpo OpenAPI port (:8000), so coding agents such as opencode can connect directly.

  • Each server spawns its own node server.mjs child.
  • entrypoint.sh supervises both under tini; if either dies the container exits.
  • New env vars: MCP_PORT, ENABLE_MCPO, ENABLE_MCP.
  • The :8080 endpoint is unauthenticated (LAN use only); MCPO_API_KEY applies to :8000 only.
  • Tested locally: /healthz and tools/list on 8080, /openapi.json on 8000, clean shutdown.

Migration: publish 8080 in the deployment's port mapping.

🤖 Generated with Claude Code

Adds a native streamable-HTTP MCP endpoint (`:8080/mcp`, via `supergateway`) next to the mcpo OpenAPI port (`:8000`), so coding agents such as opencode can connect directly. - Each server spawns its own `node server.mjs` child. - `entrypoint.sh` supervises both under `tini`; if either dies the container exits. - New env vars: `MCP_PORT`, `ENABLE_MCPO`, `ENABLE_MCP`. - The `:8080` endpoint is unauthenticated (LAN use only); `MCPO_API_KEY` applies to `:8000` only. - Tested locally: `/healthz` and `tools/list` on 8080, `/openapi.json` on 8000, clean shutdown. Migration: publish `8080` in the deployment's port mapping. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
aneurin was assigned by claude 2026-10-06 16:28:14 +00:00
claude added 1 commit 2026-10-06 16:28:14 +00:00
Expose native MCP endpoint alongside mcpo
Build and push image / build (push) Successful in 3m59s
291703ecc3
Run supergateway on port 8080 (streamable HTTP at /mcp) next to mcpo on
8000, each spawning its own webfetch-mcp child. Supervise both under tini.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
aneurin approved these changes 2026-10-06 16:29:22 +00:00
aneurin merged commit 291703ecc3 into main 2026-10-06 16:29:26 +00:00
aneurin deleted branch direct-mcp-endpoint 2026-10-06 16:29:26 +00:00
Sign in to join this conversation.