Align MCP port configuration to BrowserOS env-driven model (without changing default 3100)#19
Draft
Align MCP port configuration to BrowserOS env-driven model (without changing default 3100)#19
Conversation
Agent-Logs-Url: https://github.com/Grumpified-OGGVCT/BrowserOS_Guides/sessions/62900cbc-b3f0-4bfb-86f8-b4aac34bd741 Co-authored-by: AccidentalJedi <92951150+AccidentalJedi@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update BrowserOS port configuration settings
Align MCP port configuration to BrowserOS env-driven model (without changing default 3100)
Mar 30, 2026
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.
BrowserOS does not hardcode an MCP port and relies on environment configuration; this repo still had several fixed
3100references that could drift from runtime settings. This PR aligns configuration surfaces and docs to the same env-driven port model while retaining3100as the intentional fallback/default.Runtime port model clarity
server/mcp-server.jsbehavior as environment-first port resolution with final fallback.MCP_SERVER_PORT→MCP_PORT→BROWSEROS_GUIDES_PORT→3100).Container/config alignment
docker-compose.ymlto useBROWSEROS_GUIDES_PORTinterpolation for:Configuration discoverability
.env.templateso env-based port control is explicit and documented.Documentation synchronization
README.mdandQUICKSTART_MCP.mdwith explicit port override examples.config.ymlMCP sections indicating env-driven runtime resolution.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/search/code/usr/bin/python python scripts/check_browseros_ports.py(http block)If you need me to access, download, or install something from one of these locations, you can either: