使用说明
实时天气MCP服务器
使用OpenWeatherMap API的简单MCP服务器。
设置
- 复制
appsettings.json.template向appsettings.json - 插入OpenWeatherMap API密钥。
- 运行应用程序:
dotnet run
一个使用OpenWeatherMap API的简单MCP服务器,用于获取和提供天气数据。
使用OpenWeatherMap API的简单MCP服务器。
appsettings.json.template 向 appsettings.jsondotnet run