Custom Mcp Server

Custom Mcp Server

🚀 天气数据获取器

本项目包含两种不同运输方式的天气数据获取器,分别使用 STDIO 和 Server-Sent Events (SSE) 进行数据传输。

🚀 快速开始

项目结构

  • stdio/:使用 STDIO 运输的天气数据获取器
  • sse/:使用 Server-Sent Events (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"
}
  • 0 关注
  • 0 收藏,29 浏览
  • system 提出于 2025-10-04 10:33

相似服务问题

相关AI产品