Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Diet / Meal Log MCP Serverlog a chicken salad for lunch, 450 calories"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Diet / Meal Log MCP Server
食事ログを管理するMCP (Model Context Protocol) サーバーです。
機能
add_meal: 食事ログを追加get_daily_summary: 指定日の食事ログと合計カロリーを取得get_week_summary: 指定週の食事ログと合計カロリーを取得
必要な環境
Python 3.11以上
uv (推奨) または pip
セットアップ
1. uvを使う方法(推奨)
uvは高速なPythonパッケージマネージャーです。
2. pipを使う方法
使い方
このサーバーは2つのモードで動作します:
モード1: ローカルモード(stdio)
Claude Desktopなどのローカルクライアント向け。
Claude Desktopでの設定例
~/Library/Application Support/Claude/claude_desktop_config.json:
モード2: ネットワークモード(SSE)
別デバイスからアクセスする場合。
サーバーは http://0.0.0.0:8000 で起動します。
他のデバイスからの接続
サーバーのIPアドレスを確認
クライアント側の設定
Claude Desktopの設定ファイル ~/Library/Application Support/Claude/claude_desktop_config.json:
注意事項:
サーバーとクライアントが同じネットワーク内にある必要があります
ファイアウォールでポート8000を開放してください
インターネット経由でアクセスする場合は、適切なセキュリティ対策(認証、HTTPS化など)が必要です
データの保存
食事ログは ~/diet-mcp-meals.json に保存されます。
開発
プロジェクト構成
チーム開発での環境共有
.python-versionでPythonバージョンを固定requirements.txtで依存関係を固定.venv/はgit管理から除外(.gitignoreに追加)
ライセンス
このプロジェクトは自由に使用できます。