使用说明
新南威尔士州交通MCP服务器
MCP服务器 新南威尔士州交通部API.
用法
克隆仓库并添加到MCP客户端配置中。需要一个 API代币.
{
"mcpServers": {
"transportnsw": {
"command": "uv",
"args": [
"--directory",
"<absolute path to folder>",
"run",
"main.py"
],
"env": {
"API_TOKEN": "<transport-nsw-api-token>"
}
}
}
}
工具
| 工具 | 说明 |
|---|---|
get_alerts |
按服务模式、时间获取公共交通运营商的警报 |