PokeBOT MCP Server

Ray-Ban Meta 안경 + Poke AI + Claude + 웹검색 연동 MCP 서버. Oracle Cloud에 배포.

스택

Node.js 22, TypeScript strict, @modelcontextprotocol/sdk, @anthropic-ai/sdk (claude-sonnet-4-6), Brave Search API, Express, zod, dotenv, Docker

구조

src/
  index.ts       # Express + SSE 엔드포인트
  server.ts      # MCP Server + 도구 등록
  tools/
    search.ts    # Brave Search → Claude 요약
    vision.ts    # Claude Vision (URL/base64)
    events.ts    # 위치 기반 행사 검색
    translate.ts # Claude 번역
  utils/
    claude.ts    # Anthropic SDK 래퍼
    logger.ts    # 구조화 로깅
nginx/pokebot.conf
docker-compose.yml
scripts/setup.sh
.env.example
README.md

MCP 도구 7개

  1. web_search(query, count?) - Brave API → Claude 요약
  2. analyze_image(image_source, question, location?) - URL/base64 분석
  3. analyze_scene(image_source, location?) - 장면 분석 + 행사 검색 결합
  4. search_events(location, date?, category?) - 오늘 행사/입장료/예매링크
  5. get_ticket_info(event_name) - 티켓 가격/예매처
  6. translate(text, target_lang?, source_lang?) - 메뉴판/간판 번역
  7. ask_claude(prompt, system?) - 직접 질문

핵심 구현

SSE 엔드포인트