Add HTTP transport + bearer auth + Docker/Compose for self-hosting

Restore the Streamable HTTP transport (kept alongside stdio) guarded by a shared bearer token (MCP_AUTH_TOKEN, constant-time check; /health stays open for probes). Add mcp-server/Dockerfile, root docker-compose.yml and .dockerignore to run it as a container on the Gitea box. README documents hosting + connecting Claude Desktop via mcp-remote. Verified HTTP 401-without/200-with-token locally; npm ci validated for the image build.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
ang3l12
2026-06-16 14:19:51 -06:00
parent f65cad865d
commit 540a49d94c
8 changed files with 236 additions and 37 deletions

View File

@@ -9,6 +9,7 @@
"version": "1.0.0",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.12.0",
"express": "^5.0.0",
"zod": "^3.23.8"
},
"bin": {