Skip to main content
Glama

Canteen MCP

by c0dr
MIT License
0
  • Linux
  • Apple

매점 MCP

간단한 API 통합을 통해 식당의 점심 메뉴에 대한 액세스를 제공하는 MCP(모델 컨텍스트 프로토콜) 서버입니다.

설명

Canteen MCP는 구내식당의 일일 점심 메뉴를 검색하는 도구를 제공하는 FastMCP 기반 서버입니다. 메뉴 API에 연결하여 특정 날짜의 메뉴 데이터를 쿼리할 수 있는 구조화된 인터페이스를 제공합니다.

특징

  • 특정 날짜의 점심 메뉴를 받아보세요

  • 실시간 통신을 위한 httpStream 기반 전송

  • 환경 기반 구성

  • 입력 검증을 통한 유형 안전 API

설치

지엑스피1

구성

예제 환경 파일을 복사하고 원하는 값으로 업데이트하세요.

cp .env.example .env

환경 변수

변하기 쉬운

설명

API_URL

점심 메뉴 API의 URL

https://lunch-menu-ai.vercel.app/api/v1/menu

포트

MCP 서버용 포트

8080

엔드포인트

HTTP 엔드포인트

/엔드포인트

용법

서버를 시작합니다:

npm start

사용 가능한 도구

점심 메뉴 받기

특정 날짜의 점심 메뉴를 검색합니다.

  • 매개변수 :

    • date : YYYY-MM-DD 형식의 문자열

  • 반환 : 메뉴 데이터를 포함하는 JSON 문자열

  • :

    const result = await tool.execute({ date: "2024-10-05" });

개발

필수 조건

  • 노드.js >= 18

  • 엔피엠

개발 모드에서 실행

npm run dev

도커

이미지 구축

docker build -t canteen-mcp .

컨테이너 실행

docker run -d \ -p 8080:3000 \ -e API_URL=your_api_url \ -e PORT=3000 \ -e ENDPOINT=/http \ --name canteen-mcp \ canteen-mcp

GitHub 컨테이너 레지스트리 사용

최신 이미지를 가져옵니다.

docker pull ghcr.io/[your-username]/canteen-mcp:latest

전개

Hetzner에 배치

  1. Hetzner 서버에 SSH를 실행합니다.

ssh root@your-server-ip
  1. Docker가 아직 설치되지 않았다면 설치하세요.

curl -fsSL https://get.docker.com | sh
  1. docker-compose.yml 파일을 만듭니다.

version: '3.8' services: canteen-mcp: image: ghcr.io/c0dr/canteen-mcp:latest restart: always ports: - "8080:3000" environment: - API_URL=your_api_url - PORT=3000 - ENDPOINT=/http
  1. 서비스 시작:

docker-compose up -d

특허

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.

https://github.com/punkpeye/fastmcp-boilerplate 기반

Deploy Server
A
security – no known vulnerabilities
-
license - not tested
A
quality - confirmed to work

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.

간단한 API 통합을 통해 특정 날짜의 식당 점심 메뉴에 대한 구조화된 액세스를 제공하는 모델 컨텍스트 프로토콜 서버입니다.

  1. 설명
    1. 특징
      1. 설치
        1. 구성
          1. 환경 변수
        2. 용법
          1. 사용 가능한 도구
        3. 개발
          1. 필수 조건
          2. 개발 모드에서 실행
        4. 도커
          1. 이미지 구축
          2. 컨테이너 실행
          3. GitHub 컨테이너 레지스트리 사용
        5. 전개
          1. Hetzner에 배치
        6. 특허

          Related MCP Servers

          • -
            security
            -
            license
            -
            quality
            A 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
            • Linux
            • Apple
          • -
            security
            -
            license
            -
            quality
            A 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.
          • A
            security
            -
            license
            A
            quality
            A Model Context Protocol server for AI models to access and manipulate Apple Calendar data on macOS through a standardized interface.
            Last updated -
            7
            16
            4
            • Apple
          • -
            security
            -
            license
            -
            quality
            A 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 -
            • Linux
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/c0dr/canteen-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server