Verify bridge add-on bundled MCP server installation via virtualenv#158
Merged
Conversation
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
tserra30
marked this pull request as ready for review
May 26, 2026 15:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
mcp-server-timeinto a virtualenv (/opt/mcp-venv) viapython3 -m venvand/opt/mcp-venv/bin/pipinstead of the system Python, bypassing Bookworm's PEP 668 protections/opt/mcp-venv/binto PATH so themcp-server-timecommand is available when bundled MCP server is enabledExample:
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.26Result: Bundled MCP server now installs successfully during image build, resolving the externally managed environment error that would have blocked installation on Bookworm.