MCP Elicitation and Apps Demo
MCP Elicitation 및 Apps 데모
웨비나 발표를 위한 Elicitation 및 MCP Apps 지원이 포함된 최소 MCP 서버 데모입니다.
기능
Elicitation 도구: SQLite 영속성을 갖춘
book_appointmentMCP 앱: 대화형 HTML UI를 갖춘
view_appointmentsTailwind CSS: 현대적이고 반응형 인터페이스
실시간 데이터: 실시간 예약 통계
SQLite 데이터베이스: 데이터 영속성 및 샘플 데이터
HTTP 전송:
http://localhost:3000/mcp엔드포인트
Related MCP server: MCP Appointment Booking Server
MCP Apps 기능
이 데모에는 이제 MCP Apps 지원이 포함되어 있습니다:
MCP 호스트에서 렌더링되는 대화형 HTML 인터페이스
현대적인 스타일링을 위한 Tailwind CSS
실시간 예약 데이터 시각화
통계 대시보드
사전 로드된 샘플 데이터
데이터베이스 스키마
CREATE TABLE appointments (
id INTEGER PRIMARY KEY AUTOINCREMENT,
person TEXT NOT NULL,
duration_minutes INTEGER NOT NULL,
created_at TEXT NOT NULL
);설치
# Install dependencies
npm install
# Build TypeScript
npm run build데모 실행
Elicitation 데모 (기존)
# Start the original elicitation server
npm start
# Or for development with auto-reload:
npm run devMCP Apps 데모 (신규)
# Start the MCP Apps server
npm run start:apps
# Or for development with auto-reload:
npm run dev:apps간단한 테스트
예상 흐름을 확인하려면:
npm run test웨비나 진행 순서
서버 시작:
npm startMCP 클라이언트 연결:
http://localhost:3000/mcp에 연결요청: "John과 예약을 잡아줘"
Elicitation이 기간을 요청: 30 / 60 / 90분
60 선택
SQLite GUI에서
appointments.db열기삽입된 행 확인: John, 60분, 타임스탬프
도구 사양
예약 (Elicitation 데모)
이름: book_appointment
초기 입력:
{
"person": "string"
}Elicitation (기간이 누락된 경우):
메시지: "예약 기간은 얼마나 되나요?"
스키마: 30, 60, 90분의 Enum
결과: SQLite에 삽입하고 확인 메시지를 반환합니다.
예약 보기 (MCP 앱)
이름: view_appointments
입력: 필요 없음
결과: 다음을 포함한 대화형 HTML 인터페이스를 엽니다:
전체 예약 목록
통계 대시보드 (총 예약 수, 총 기간, 평균 기간)
실시간 데이터 새로고침
현대적인 Tailwind CSS 스타일링
MCP 앱 기능:
MCP 호스트에서 직접 렌더링되는 대화형 UI
MCP 리소스 API를 통해 제공되는 HTML 콘텐츠
SQLite 데이터베이스의 실시간 데이터
코드 구조
기존 데모
src/server-simple.ts- Elicitation 로직이 포함된 간단한 MCP 서버src/db.ts- SQLite 데이터베이스 작업appointments.db- SQLite 데이터베이스 파일 (최초 실행 시 생성)
MCP Apps 데모
src/server-apps.ts- MCP Apps 지원이 포함된 확장 서버src/appointments-ui.html- Tailwind CSS가 포함된 대화형 HTML 인터페이스appointments.db- 샘플 데이터가 포함된 공유 SQLite 데이터베이스
주요 구현 포인트
도구 시작 -
person매개변수 수신Elicitation - 누락된
duration_minutes감지,inputRequired반환계속 - 사용자가 기간을 제공하면 작업을 완료하고 DB에 저장
테스트
MCP 호환 클라이언트(Claude Desktop, MCP 확장이 설치된 VS Code 등)를 사용하여 http://localhost:3000/mcp에 연결하면 두 서버를 모두 테스트할 수 있습니다.
Elicitation 데모 테스트
http://localhost:3000/mcp에 연결{"person": "John"}과 함께book_appointment호출서버가 기간(30/60/90분)을 elicitation으로 요청
기간을 제공하여 예약 완료
MCP Apps 데모 테스트
MCP Apps 서버 시작:
npm run start:appshttp://localhost:3000/mcp에 연결view_appointments호출 (매개변수 불필요)MCP 호스트가 대화형 HTML 인터페이스를 렌더링
통계 및 실시간 데이터로 예약 탐색
요구 사항
Node.js 18+
SQLite GUI (데모 중 데이터베이스 확인용)
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceAn MCP server that enables interaction with OnSched's consumer-facing appointment scheduling API through natural language, allowing users to manage bookings, appointments, and scheduling operations.
- Alicense-qualityDmaintenanceAn MCP server that enables users to book, cancel, reschedule, and list appointments through natural language interactions. It uses YAML configurations for agent behavior and function logic to manage appointment data and availability.MIT
- Alicense-qualityDmaintenanceEnables users to manage medical appointments by searching for doctors, checking availability, and booking sessions through a natural language interface. It serves as a reference implementation for advanced MCP features like symptom-based specialist recommendations and multi-step scheduling workflows.15MIT
- Flicense-qualityDmaintenanceA demonstration MCP server that shows how to use elicitations to ask users for preferences during a video search tool execution.1
Related MCP Connectors
An AI concierge that turns static forms into adaptive AI conversations. From any MCP client.
MCP server for the Fail Modes taxonomy — a knowledge base of AI system failure modes
Remote MCP for MCP consent scope receipt, structured receipts, audit logs, and reviewer-ready eviden
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/artemreva-hub/Otus.AI_For_Dev.Webinar14.MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server