Skip to content
프로젝트

소개

WebMCP starter demo — a DoorDash-style food delivery app with 9 AI agent tools (imperative + declarative)

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

WebMCP Starter — Midnight Eats 🌙🍜

A single-file food delivery demo showcasing WebMCP, the proposed web standard that exposes structured tools for AI browser agents.

Repo: https://github.com/Doriandarko/webmcp-starter

What it demonstrates

9 WebMCP tools covering a full DoorDash-style ordering flow:

Tool API What it does
search_restaurants Imperative Filter by cuisine, name, dietary tag
get_menu Imperative Browse a restaurant's full menu
add_to_cart Imperative Add items with quantity + special instructions
remove_from_cart Imperative Remove items from cart
get_cart Imperative Read-only cart state + totals
clear_cart Imperative Empty the cart
apply_promo_code Imperative Apply WELCOME20, FREEDELIVERY, or SAVE5
get_order_status Imperative Track a placed order
checkout Declarative HTML form with address, tip, payment

Setup

  1. Install C146+ (Canary)
  2. Enable chrome://flags/#enable-webmcp-testing
  3. Install the Model Context Tool Inspector extension
  4. Open food-app.html locally in Chrome Canary
  5. Click the extension → see all 9 tools → test with Gemini

Test prompt

Paste this into the extension's agent prompt:

I'm craving Italian food. Find me an Italian restaurant, add a margherita pizza, a carbonara, and a tiramisu. Apply WELCOME20. Checkout to 742 Evergreen Terrace, Apt 3B with a $5 tip on Visa.

Resources

관련 프로젝트 살펴보기

불러오는 중…