Skip to main content
Glama
Sunwood-ai-labs

Weather Service MCP Server

🌦️weather_service MCP 服务器

Related MCP server: drupal-modules-mcp MCP Server

🧩 组件

📚 资源

该服务器实现了一个简单的笔记保存系统:

  • 使用自定义 note:// URI 方案访问单个笔记

  • 每个注释资源都有一个名称、一个描述和一个 text/plain 的 mime 类型。

💡 提示

服务器提供一个提示:

  • 总结笔记:创建所有已保存笔记的摘要

    • 可选的“样式”参数控制细节级别(简要/详细)

    • 生成包含所有当前注释和样式设置的提示

🛠️ 工具

服务器实现了一个工具:

  • add-note:向服务器添加新注释

    • 将“名称”和“内容”作为必需的字符串参数。

    • 更新服务器状态并通知客户端资源变化

🚀 快速入门

📥 安装

克劳德桌面

对于 MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json对于 Windows: %APPDATA%/Claude/claude_desktop_config.json

👨‍💻开发

🏗️ 构建并发布

准备分发包:

  1. 同步依赖项并更新锁文件:

uv sync
  1. 构建软件包的分发:

uv build

这将在dist/目录中创建源和轮子分布。

  1. 发布到 PyPI:

uv publish

注意:必须通过环境变量或命令标志设置 PyPI 凭据:

  • 令牌: --tokenUV_PUBLISH_TOKEN

  • 或用户名/密码: --username / UV_PUBLISH_USERNAME--password / UV_PUBLISH_PASSWORD

🔍 调试

MCP 服务器通过 stdio 运行,因此很难调试。为了获得最佳调试体验,我们强烈建议使用MCP Inspector

使用npm ,您可以使用以下命令启动 MCP Inspector:

npx @modelcontextprotocol/inspector uv --directory C:\Prj\weather_service run weather-service

启动时,Inspector 将显示您可以在浏览器中访问的 URL 并开始调试。

-
security - not tested
F
license - not found
-
quality - not tested

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sunwood-ai-labs/mcp-weather-service-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server