File tree Expand file tree Collapse file tree 4 files changed +372
-0
lines changed
Expand file tree Collapse file tree 4 files changed +372
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM ghcr.io/astral-sh/uv:python3.13-bookworm
2+
3+ WORKDIR /app
4+ COPY ./backend/mcp/uv.lock ./backend/mcp/pyproject.toml .
5+ RUN uv sync --frozen
6+ RUN apt-get update && apt-get install -y --no-install-recommends \
7+ curl && \
8+ curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
9+ apt-get install -y --no-install-recommends nodejs
10+ COPY ./backend/mcp ./mcp
11+ COPY ./backend/shared_mcp ./shared_mcp
12+ ENV PYTHONPATH /app:$PYTHONPATH
Original file line number Diff line number Diff line change 1+ from shared_mcp .tools import mcp
2+
3+ if __name__ == "__main__" :
4+ mcp .run (transport = "sse" )
Original file line number Diff line number Diff line change 1+ [project ]
2+ name = " mcp-server"
3+ version = " 0.1.0"
4+ description = " Add your description here"
5+ readme = " README.md"
6+ requires-python = " >=3.13"
7+ dependencies = [
8+ " mcp[cli]>=1.6.0" ,
9+ ]
You can’t perform that action at this time.
0 commit comments