Skip to content

Allow REVIT host/port to be overridden via env - #48

Open
vinnividivicci wants to merge 1 commit into
mcp-servers-for-revit:masterfrom
vinnividivicci:allow-revit-host-override
Open

Allow REVIT host/port to be overridden via env#48
vinnividivicci wants to merge 1 commit into
mcp-servers-for-revit:masterfrom
vinnividivicci:allow-revit-host-override

Conversation

@vinnividivicci

Copy link
Copy Markdown
Contributor

Read REVIT_HOST and REVIT_PORT from the environment (defaults: 127.0.0.1, 48884) and convert the port to int. Adds an os import and documents why this is needed (Revit may run in a VM so the routes server isn't on the host loopback). BASE_URL construction remains unchanged.

Read REVIT_HOST and REVIT_PORT from the environment (defaults: 127.0.0.1, 48884) and convert the port to int. Adds an os import and documents why this is needed (Revit may run in a VM so the routes server isn't on the host loopback). BASE_URL construction remains unchanged.
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.

1 participant