开发一个简单的 mcp 服务

by jingjing20

255 downloads
Not rated
GitHub

About

# 开发一个简单的 mcp 服务 > 请你仔细参考 @weather-server-typescript 中的关于 mcp 的开发规则,可以完全参考这个目录。再帮我实现一个提供 查询天气、和规划路线两个工具的 mcp 服务,文件夹名为 china-weather-map。查询天气从这个接口拿数据:@https://restapi.amap.com/v3/weather/weatherInfo?key=2e645bee34ad494cfbd9baceccb351d0&city=110000&extensions=all…

Details

Author
jingjing20
Downloads
255
Categories
Other

- Weather query tool using Amap's weather API.
- Route planning tool using Amap's direction driving API.
- Uses an Amap API key embedded in the endpoints.
- Follows MCP development conventions from a reference server.

No explicit installation or configuration steps are provided in the README. The README references the @weather-server-typescript directory for development rules and structure, and specifies that the server folder should be named china-weather-map.

开发一个简单的 mcp 服务

> 请你仔细参考 @weather-server-typescript 中的关于 mcp 的开发规则,可以完全参考这个目录。再帮我实现一个提供 查询天气、和规划路线两个工具的 mcp 服务,文件夹名为 china-weather-map。查询天气从这个接口拿数据:@https://restapi.amap.com/v3/weather/weatherInfo?key=2e645bee34ad494cfbd9baceccb351d0&city=110000&extensions=all ,规划路线从这个接口拿数据:@https://restapi.amap.com/v5/direction/driving?key=2e645bee34ad494cfbd9baceccb351d0&origin=116.481488,39.990464&destination=116.403124,39.940693&strategy=0

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.