mcp: point navi_ui at the port its server actually binds
navi_ui is navi's own MCP server (navi/mcp/ui_server), started in-process on
NAVI_UI_MCP_PORT — 8098. The config still carried the pre-8099/8098 default,
localhost:8001, where nothing has listened for a long time: on prod the connect
fails on every start and render_component only ever appeared as an unregistered
phantom in list_tools.

The URL now names the loopback literal rather than "localhost", which can
resolve to ::1 while the server binds IPv4 only.

Three tests assert the file against the live FastMCP object (host, port, path,
transport) instead of a second copy of the setting — with the old URL two of
them fail, so the drift that produced this cannot come back unnoticed.
1 parent c7a62a4 commit 718ed53ec5f9bf3ff46f84aab77f292b3b10c1fc
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 5 hours ago
Showing 2 changed files
View
mcp_servers.d/navi_ui.json
View
tests/unit/mcp/test_ui_server.py