Canteen MCP

by c0dr
MIT License
44
  • Linux
  • Apple

Integrations

  • Connects to a lunch menu API hosted on Vercel to retrieve daily canteen meal information for specific dates

매점 MCP

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

설명

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

특징

  • 특정 날짜의 점심 메뉴를 받아보세요
  • 실시간 통신을 위한 httpStream 기반 전송
  • 환경 기반 구성
  • 입력 검증을 통한 유형 안전 API

설치

지엑스피1

구성

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

cp .env.example .env

환경 변수

변하기 쉬운설명
API_URL점심 메뉴 API의 URLhttps://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 기반

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
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
            F
            license
            -
            quality
            Model 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
            • Apple
            • Linux
          • -
            security
            A
            license
            -
            quality
            A 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 -
            TypeScript
            MIT License
            • Apple
            • Linux
          • A
            security
            A
            license
            A
            quality
            A 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 -
            19
            105
            2
            TypeScript
            MIT License
            • Apple
            • Linux
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that provides tools for interacting with Gmail and Calendar APIs, enabling programmatic management of emails and calendar events.
            Last updated -
            8
            7
            JavaScript
            MIT License
            • Apple

          View all related MCP servers

          ID: kec2zuh2yo