Merge pull request #48 from datashaman/patch-1

Python weather server missing main function
This commit is contained in:
David Soria Parra 2025-09-25 20:20:57 +01:00 • committed by GitHub
commit 64ba6ae1fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -89,6 +89,9 @@ Forecast: {period['detailedForecast']}
return "\n---\n".join(forecasts)
if __name__ == "__main__":
def main():
# Initialize and run the server
mcp.run(transport='stdio')
mcp.run(transport='stdio')
if __name__ == "__main__":
main()