使用说明
🌤️ 气象MCP服务器
MCP服务器与AWS QuickSight集成的天气工具。
快速开始
- 从获取OpenWeatherMap API密钥https://openweathermap.org/api
- 部署到Railway:连接此GitHub存储库
- 在铁路仪表板中添加环境变量
环境变量
OPENWEATHER_API_KEY:您的OpenWeatherMap API密钥JWT_SECRET:用于令牌签名的随机字符串
AWS QuickSight设置
请使用以下URL:
- MCP端点:
https://[your-app].up.railway.app/sse - 令牌URL:
https://[your-app].up.railway.app/oauth/token - 身份验证URL:
https://[your-app].up.railway.app/oauth/authorize
可用工具
get_weather(city)-获取当前天气compare_weather(city1, city2)-比较两个城市