食堂MCP
シンプルな API 統合を介して食堂のランチ メニューへのアクセスを提供するモデル コンテキスト プロトコル (MCP) サーバー。
説明
Canteen MCPは、FastMCPベースのサーバーで、食堂から毎日のランチメニューを取得するためのツールを公開しています。メニューAPIに接続し、特定の日付のメニューデータを照会するための構造化インターフェースを提供します。
特徴
特定の日付のランチメニューを入手
リアルタイム通信のためのhttpStreamベースのトランスポート
環境ベースの構成
入力検証を備えた型安全なAPI
インストール
構成
サンプル環境ファイルをコピーし、値で更新します。
環境変数
変数 | 説明 | 例 |
API_URL | ランチメニューAPIのURL | |
ポート | MCP サーバーのポート | 8080 |
終点 | HTTPエンドポイント | /終点 |
使用法
サーバーを起動します。
利用可能なツール
ランチメニューを取得する
特定の日付のランチ メニューを取得します。
パラメータ:
date: YYYY-MM-DD形式の文字列
戻り値: メニューデータを含むJSON文字列
例:
const result = await tool.execute({ date: "2024-10-05" });
発達
前提条件
Node.js >= 18
npm
開発モードで実行
ドッカー
イメージの構築
コンテナの実行
GitHub コンテナレジストリの使用
最新のイメージをプルします:
展開
Hetznerへの導入
Hetzner サーバーに SSH で接続します。
まだインストールされていない場合は Docker をインストールします。
docker-compose.yml ファイルを作成します。
サービスを開始します:
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
シンプルな API 統合を通じて、特定の日付の食堂のランチ メニューへの構造化されたアクセスを提供するモデル コンテキスト プロトコル サーバー。
Related Resources
Related MCP Servers
- -security-license-qualityA proof-of-concept Model Context Protocol server that enables LLM applications to interact with Uber Eats, allowing AI agents to browse and order food through natural language.Last updated -204
- -security-license-qualityA Model Context Protocol (MCP) server that interacts with system APIs, allowing users to check connections, search employees, register breakfast, and update chemical information by shifts.
- Asecurity-licenseAqualityA Model Context Protocol server for AI models to access and manipulate Apple Calendar data on macOS through a standardized interface.Last updated -7164
- -security-license-qualityA simple Model Context Protocol (MCP) server that provides date and time functionality in any timezone, along with user profiles and personalized greeting resources.Last updated -