MCP cover image
See in Github
2024-11-30

1

Github Watches

1

Github Forks

5

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.

  • https://duotify.com
  • Professional code reviewer for a unique language, friendly and helpful.

  • https://hubeiqiao.com
  • IT problem solver with clear, step-by-step guidance.

  • Andris Teikmanis
  • Latvian GPT assistant for developing GPT applications

  • https://jgadvisorycpa.com
  • This GPT assists in finding a top-rated business CPA - local or virtual. We account for their qualifications, experience, testimonials and reviews. Business operators provide a short description of your business, services wanted, and city or state.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

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

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

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

  • Navid RezaeiSarchoghaei
  • Professional Flask/SQLAlchemy code guide. Follow: https://x.com/navid_re

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • OffchainLabs
  • Implementación de la prueba de estaca Ethereum

  • huahuayu
  • Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.

  • oatpp
  • Implementación del protocolo de contexto modelo de Anthrope para OAT ++

    Reviews

    3 (1)
    Avatar
    user_U7Hchf7k
    2025-04-16

    As a devoted user of Plex MCP Server, I can't recommend it highly enough. Developed by djbriane, this server offers incredible functionality and seamless performance. The user interface is intuitive, catering to both beginners and advanced users. With robust support and regular updates, Plex MCP has become essential for managing my media library efficiently. Check it out at https://mcp.so/server/plex-mcp/djbriane for an unparalleled experience!