{
"type": "module",
"scripts": {
"test": "tsc && ts-node dist/run.js"
},
"files": [
"dist"
],
"dependencies": {
"@modelcontextprotocol/sdk": "^1.7.0"
},
"devDependencies": {
"@types/node": "^22.13.10",
"ts-node": "^10.9.2",
"typescript": "^5.8.2"
}
}获取可用工具列表...
已连接到服务器,可用工具如下:
1. get_weather
根据城市、地区、区县名称查询当地实时天气预报情况
正在执行工具: get_weather
工具执行完成 {
content: [
{
type: 'text',
text: "{'ip':'61.150.48.126','long_ip':1033252990,'country':'中国','province':'陕西','city':'西安市','isp':'电信'}"
}
],
isError: false
}文档更新时间:2026年3月 技术支持: 即刻MCP Server官方技术团队;