
aharvard/mcp_aharvard
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCP-UI 부품 및 편리한 환경에서의 상호 작용을 테스트하기위한 시각화 샌드 박스. 이 프로젝트는 Netlify를 사용하여 MCP-UI 활성화 응용 프로그램을 구축하는 방법을 보여줍니다 ...
개요
MCP-UI 부품 및 편리한 환경에서의 상호 작용을 테스트하기위한 시각화 샌드 박스. 이 프로젝트는 Netlify serverless 함수를 사용하여 MCP-UI 활성화 응용 프로그램을 구축하는 방법을 보여줍니다. - TypeScript - 빠른 개발 및 건물 - Netlify의 Serverless 기능 - 풍부한 UI 구성 요소에 대한 통합 - 날씨, 좌석 선택 및 UI 작업을 위해 - MCP-UI 부품 및 상호 작용을 테스트하기위한 것입니다. 그것은 편리한 환경을 제공합니다: - MCP-UI 클라이언트가 렌더링 할 수있는 UI 구성 요소를 테스트 - 도구 통화 및 사용자 상호 작용을 시뮬레이션 - MCP 서버와 UI 클라이언트 사이의 디버그 메시지 - MCP 응용 프로그램에 대한 새로운 UI 패턴을 프로토 타입 sandbox는 인프라를 관리하지 않고 다른 사람들과 쉽게 배포하고 공유 할 수 있도록합니다. - Node.js 18+ - pnpm (권장) 또는 npm 3. 브라우저를 http://localhost:3000로 엽니다. 내장된 파일은 Netlify에 배포할 수 있습니다.
개요(AI 번역)
MCP-UI 부품 및 편리한 환경에서의 상호 작용을 테스트하기위한 시각화 샌드 박스. 이 프로젝트는 Netlify serverless 함수를 사용하여 MCP-UI 활성화 응용 프로그램을 구축하는 방법을 보여줍니다.
특징
-React 18 타입 스크립트
- **Next.js ** 빠른 개발 및 구축
- **Express ** Netlify의 서버가 없는 기능
- MCP-UI 풍부한 UI 컴포넌트 통합
- Tailwind CSS 스타일링 -Interactive demos 날씨, 좌석 선택 및 UI 동작
이 샌드박스는 무엇입니까?
이것은 MCP-UI 구성 요소 및 상호 작용을 테스트하는 가상화 sandbox입니다. 그것은 편리한 환경을 제공합니다:
- MCP-UI 클라이언트에 의해 렌더링 될 수있는 UI 구성 요소를 테스트
- 도구 호출 및 사용자 상호 작용
- MCP 서버와 UI 클라이언트를 통과하는 디버그 메시지
- MCP 응용 분야의 새로운 UI 패턴
sandbox는 ** Netlify serverless 기능**에서 실행되며 인프라를 관리하지 않고 다른 사람들과 쉽게 배포하고 공유할 수 있습니다.
개발
# 필수품
- 노드.js 18+
- pnpm (추천) 또는 npm
설정
-
의존성 설치:
-
개발 서버 시작:
-
명세.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
MCP-UI Demos
A visualization sandbox for testing MCP-UI components and interactions in a convenient environment. This project demonstrates how to build MCP-UI enabled applications using Express with Netlify serverless functions.
Features
- React 18 with TypeScript
- Next.js for fast development and building
- Express serverless functions on Netlify
- MCP-UI integration for rich UI components
- Tailwind CSS for styling
- Interactive demos for weather, seat selection, and UI actions
What is this Sandbox?
This is a visualization sandbox for testing MCP-UI components and interactions. It provides a convenient environment to:
- Test UI components that can be rendered by MCP-UI clients
- Simulate tool calls and user interactions
- Debug message passing between MCP servers and UI clients
- Prototype new UI patterns for MCP applications
The sandbox runs on Netlify serverless functions, making it easy to deploy and share with others without managing infrastructure.
Development
Prerequisites
- Node.js 18+
- pnpm (recommended) or npm
Setup
-
Install dependencies:
pnpm install -
Start the development server:
pnpm dev -
Open your browser to
http://localhost:3000
Building for Production
Build the React app:
pnpm build
The built files will be ready for deployment on Netlify.
Available Demos
Weather Demo (/get-weather)
Test the weather tool with real API calls to Open-Meteo. Demonstrates how to integrate external APIs with MCP-UI components.
Seat Selection (/pick-seat)
Interactive seat picker with visual feedback. Shows how to create complex interactive UI components that can be embedded in MCP clients.
UI Actions (/ui-actions)
Test different types of MCP-UI message actions including tool calls, prompts, links, intents, and notifications.
Toast Notifications (/toast-demo)
Demonstrate toast notification patterns for user feedback in MCP-UI applications.
MCP Integration
This project includes MCP (Model Context Protocol) integration through Express serverless functions, specifically designed for MCP-UI components.
Using as a Goose Extension
- Add a custom extension
- Give it a name
- Select
HTTPtype - Add a description
- Add this endpoint: https://mcp-aharvard.netlify.app/mcp
- A timeout of
300is fine - Save changes
- Ask goose what’s the weather in your city (not all cities are supported)
Available Tool Calls
getWeather
Fetches real-time weather data from Open-Meteo API
- Parameters:
location: string (city name)units: “metric” | “imperial”
SeatSelection
Interactive seat selection interface with visual feedback
- Features:
- Visual seat grid
- Real-time availability
- Selection confirmation
UIActionCard
Demonstrates various MCP-UI message types
설치
npx @modelcontextprotocol/inspector --config mcp-config.json --server mcp-aharvard