MCP服务器
这是一个 MCP服务器 建于 FastMCP 它提供了访问Snap4City资源的工具。
它可以通过任何兼容MCP的客户端(例如 MCP客户端)
特性
工具
get_services(...)
iot_search(...)
iot_search_time_range(...)
get_events(...)
get_location(...)
get_bus_lines(...)
get_bus_routes(...)
get_bus_stops(...)
tpl_geo_search(...)
get_bus_position(...)
route_shortest_path(...)
资源
get_agencies()
提示词
explain_bus_lines_prompt(...)
运行服务器
python server.py预期产量:
Server is now running...服务器通过以下方式进行通信 标准,已准备好供MCP客户端使用。 如果与上述MCP客户端一起使用,则无需启动它。当 chat 别名被调用。
备注
- 数据来自 Snap4City API
