feat: Implement Docker deployment with configurable SSE/STDIO modes and add get_current_time tool.

This commit is contained in:
2026-01-25 15:56:42 +01:00
parent d8cb818040
commit 32dd756885
13 changed files with 173 additions and 1 deletions

13
entrypoint.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -e
# Default to STDIO if not set
MCP_MODE="${MCP_MODE:-STDIO}"
if [ "$MCP_MODE" = "SSE" ]; then
echo "Starting in SSE mode..." >&2
exec uv run uvicorn src.server:mcp.sse_app --host 0.0.0.0 --port 8000
else
echo "Starting in STDIO mode..." >&2
exec uv run src/server.py
fi