Cover image
Sunwood-ai-labs_mcp-weather-service-server
Public

Sunwood-ai-labs_mcp-weather-service-server

Try Now
2024-11-30

Mirror ofhttps://github.com/Sunwood-ai-labs/mcp-weather-service-server

3 years

Works with Finder

0

Github Watches

1

Github Forks

0

Github Stars

🌦️ weather_service MCP サーバー

🧩 コンポーネント

📚 リソース

このサーバーは、シンプルなノート保存システムを実装しています:

  • カスタム note:// URIスキームで個別のノートにアクセス
  • 各ノートリソースには、名前、説明、text/plainのマイムタイプがあります

💡 プロンプト

サーバーは単一のプロンプトを提供します:

  • summarize-notes:保存されている全てのノートの要約を作成
    • オプションの"style"引数で詳細レベルを制御(brief/detailed)
    • 全ての現在のノートとスタイル設定を組み合わせてプロンプトを生成

🛠️ ツール

サーバーは1つのツールを実装しています:

  • add-note:新しいノートをサーバーに追加
    • "name"と"content"を必須の文字列引数として受け取り
    • サーバーの状態を更新し、リソースの変更をクライアントに通知

🚀 クイックスタート

📥 インストール

Claude Desktop

MacOSの場合: ~/Library/Application\ Support/Claude/claude_desktop_config.json Windowsの場合: %APPDATA%/Claude/claude_desktop_config.json

開発/未公開サーバーの設定 ``` "mcpServers": { "weather_service": { "command": "uv", "args": [ "--directory", "C:\Prj\weather_service", "run", "weather_service" ] } } ```
公開サーバーの設定 ``` "mcpServers": { "weather_service": { "command": "uvx", "args": [ "weather_service" ] } } ```

👨‍💻 開発

🏗️ ビルドと公開

パッケージを配布用に準備するには:

  1. 依存関係を同期しロックファイルを更新:
uv sync
  1. パッケージのディストリビューションをビルド:
uv build

これにより、dist/ディレクトリにソースとホイールのディストリビューションが作成されます。

  1. PyPIに公開:
uv publish

注意:PyPIの認証情報は環境変数またはコマンドフラグで設定する必要があります:

  • トークン:--tokenまたはUV_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を表示し、デバッグを開始できます。

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Andris Teikmanis
  • Latvian GPT assistant for developing GPT applications

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • https://cantaspinar.com
  • Summarizes videos and answers related questions.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://tovuti.be
  • Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven

  • Gil kaminski
  • Make sure you are post-ready before you post on social media

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

  • zhaoyunxing92
  • 本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • OffchainLabs
  • Go implementation of Ethereum proof of stake

    Reviews

    2 (1)
    Avatar
    user_GKxXgRgh
    2025-04-15

    I've been using Cloudflare AI by alvinmrrry for a few weeks now, and it has significantly improved my website's performance and security. The AI-driven features are highly intuitive and efficient. It's easy to set up through MCP, making it a go-to solution for anyone looking to optimize their web presence. Highly recommend this tool!