食堂MCP
シンプルな API 統合を介して食堂のランチ メニューへのアクセスを提供するモデル コンテキスト プロトコル (MCP) サーバー。
説明
Canteen MCPは、FastMCPベースのサーバーで、食堂から毎日のランチメニューを取得するためのツールを公開しています。メニューAPIに接続し、特定の日付のメニューデータを照会するための構造化インターフェースを提供します。
特徴
- 特定の日付のランチメニューを入手
- リアルタイム通信のためのhttpStreamベースのトランスポート
- 環境ベースの構成
- 入力検証を備えた型安全なAPI
インストール
構成
サンプル環境ファイルをコピーし、値で更新します。
環境変数
変数 | 説明 | 例 |
---|---|---|
API_URL | ランチメニューAPIのURL | https://lunch-menu-ai.vercel.app/api/v1/menu |
ポート | MCP サーバーのポート | 8080 |
終点 | HTTPエンドポイント | /終点 |
使用法
サーバーを起動します。
利用可能なツール
ランチメニューを取得する
特定の日付のランチ メニューを取得します。
- パラメータ:
date
: YYYY-MM-DD形式の文字列
- 戻り値: メニューデータを含むJSON文字列
- 例:
発達
前提条件
- 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 MCP Servers
- -securityFlicense-qualityModel Context Protocol server that provides seamless access to Google Calendar API with asynchronous operation support, enabling efficient calendar management through a standardized interface.Last updated -Python
- -securityAlicense-qualityA Model Context Protocol server that provides seamless interaction with Workato's API through custom AI tools, enabling management of recipes, connections, connectors, folders, and activity logs.Last updated -TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server providing utility tools for development and testing, offering functionalities like personalized greetings, random card drawing, and datetime formatting with an extensible architecture.Last updated -192082TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that provides tools for interacting with Gmail and Calendar APIs, enabling programmatic management of emails and calendar events.Last updated -813JavaScriptMIT License