fix: Fixed typo in mcp host setup (#7423)

Update mcp.py

-fix: holst name error,alter :holst->host
This commit is contained in:
Jason Liu 2025-04-03 21:12:44 +08:00 committed by GitHub
commit cd04a5e123
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,7 +103,7 @@ async def handle_list_resources():
settings_service = get_settings_service()
# Build full URL from settings
host = getattr(settings_service.settings, "holst", "localhost")
host = getattr(settings_service.settings, "host", "localhost")
port = getattr(settings_service.settings, "port", 3000)
base_url = f"http://{host}:{port}".rstrip("/")