Skip to content

Verify bridge add-on bundled MCP server installation via virtualenv#158

Merged
tserra30 merged 1 commit into
mainfrom
copilot/fix-code-for-review-comments
May 26, 2026
Merged

Verify bridge add-on bundled MCP server installation via virtualenv#158
tserra30 merged 1 commit into
mainfrom
copilot/fix-code-for-review-comments

Conversation

Copilot AI commented May 26, 2026

Copy link
Copy Markdown
Contributor

This PR verifies that the Debian Bookworm base image migration in PR #153 correctly addressed the review feedback regarding PEP 668 "externally managed environment" restrictions.

Changes implemented:

  • addon/Dockerfile: Install mcp-server-time into a virtualenv (/opt/mcp-venv) via python3 -m venv and /opt/mcp-venv/bin/pip instead of the system Python, bypassing Bookworm's PEP 668 protections
  • addon/run.sh: Export /opt/mcp-venv/bin to PATH so the mcp-server-time command is available when bundled MCP server is enabled

Example:

RUN apt-get install -y python3 python3-venv \
    && python3 -m venv /opt/mcp-venv \
    && /opt/mcp-venv/bin/pip install --no-cache-dir mcp-server-time==2026.1.26
export PATH="/opt/mcp-venv/bin:${PATH}"

Result: Bundled MCP server now installs successfully during image build, resolving the externally managed environment error that would have blocked installation on Bookworm.

Copilot AI changed the title [WIP] Fix code for all comments in review thread Verify bridge add-on bundled MCP server installation via virtualenv May 26, 2026
Copilot AI requested a review from tserra30 May 26, 2026 14:43
@tserra30
tserra30 marked this pull request as ready for review May 26, 2026 15:00
Copilot AI review requested due to automatic review settings May 26, 2026 15:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

@tserra30
tserra30 merged commit 673f850 into main May 26, 2026
7 checks passed
@tserra30
tserra30 deleted the copilot/fix-code-for-review-comments branch May 26, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants