Cover image
Try Now
2024-11-30

3 years

Works with Finder

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://hubeiqiao.com
  • IT problem solver with clear, step-by-step guidance.

  • 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.

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

  • 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

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

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • oatpp
  • Anthropic的模型上下文协议实现了燕麦++

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

  • zhaoyunxing92
  • MCP(消息连接器协议)服务

    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!