Skip to content

Commit e675086

Browse files
authored
Fix MCP Chat that stopped working (#1162)
1 parent 8007c96 commit e675086

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/cdk/mcp-api/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ENV UV_NO_CACHE=1
99
ENV UV_NO_MANAGED_PYTHON=1
1010
ENV UV_PYTHON=/usr/local/bin/python
1111
ENV UV_INSTALL_DIR=/usr/local/bin
12+
ENV UV_PROJECT_ENVIRONMENT=/tmp/.venv
1213

1314
RUN apt-get update -y && apt-get install curl nodejs npm graphviz -y
1415
RUN curl -LsSf https://astral.sh/uv/install.sh | sh

packages/cdk/mcp-api/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
'UV_PYTHON': '/usr/local/bin/python',
2121
'UV_TOOL_DIR': '/tmp/.uv/tool',
2222
'UV_TOOL_BIN_DIR': '/tmp/.uv/tool/bin',
23+
'UV_PROJECT_ENVIRONMENT': '/tmp/.venv',
2324
'npm_config_cache': '/tmp/.npm',
2425
'AWS_REGION': os.environ['AWS_REGION'],
2526
'AWS_ACCESS_KEY_ID': os.environ['AWS_ACCESS_KEY_ID'],

0 commit comments

Comments
 (0)