使用说明
stdio/:使用STDIO传输的天气数据提取器sse/:使用服务器发送事件(SSE)传输的天气数据提取器
MCP配置
全局MCP配置存储在 ~/.cursor/mcp.json 包括:
// stdio
"weather-data-fetcher": {
"command": "node",
"args": ["/path/to/mcp/stdio/index.js"]
},
// sse
"weather-data-fetcher-sse": {
"url": "http://localhost:3000/sse"
}