use-mcp/demo
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-06-10 15:13:22 +10:00
..
api Added the start of a demo 2025-06-10 15:13:22 +10:00
e2e Added the start of a demo 2025-06-10 15:13:22 +10:00
public Added the start of a demo 2025-06-10 15:13:22 +10:00
src Added the start of a demo 2025-06-10 15:13:22 +10:00
.gitignore Added the start of a demo 2025-06-10 15:13:22 +10:00
.prettierrc Added the start of a demo 2025-06-10 15:13:22 +10:00
AGENT.md Added the start of a demo 2025-06-10 15:13:22 +10:00
eslint.config.js Added the start of a demo 2025-06-10 15:13:22 +10:00
index.html Added the start of a demo 2025-06-10 15:13:22 +10:00
package.json Added the start of a demo 2025-06-10 15:13:22 +10:00
playwright.config.ts Added the start of a demo 2025-06-10 15:13:22 +10:00
pnpm-lock.yaml Added the start of a demo 2025-06-10 15:13:22 +10:00
README.md Added the start of a demo 2025-06-10 15:13:22 +10:00
tailwind.config.js Added the start of a demo 2025-06-10 15:13:22 +10:00
tsconfig.app.json Added the start of a demo 2025-06-10 15:13:22 +10:00
tsconfig.json Added the start of a demo 2025-06-10 15:13:22 +10:00
tsconfig.node.json Added the start of a demo 2025-06-10 15:13:22 +10:00
tsconfig.worker.json Added the start of a demo 2025-06-10 15:13:22 +10:00
vite.config.ts Added the start of a demo 2025-06-10 15:13:22 +10:00
wrangler.jsonc Added the start of a demo 2025-06-10 15:13:22 +10:00

AI chat template

An unofficial template for ⚛️ React ⨉ ⚡️ Vite ⨉ ⛅️ Cloudflare Workers AI.

Full-stack AI chat application using Workers for the APIs (using the Cloudflare vite-plugin) and Vite for the React application (hosted using Workers Static Assets). Provides chat functionality with Workers AI, stores conversations in the browser's IndexedDB, and uses ai-sdk, tailwindcss and workers-ai-provider.

Get started

Create the project using create-cloudflare:

npm create cloudflare@latest -- --template thomasgauvin/ai-chat-template

Run the project and deploy it:

cd <project-name>
npm install
npm run dev
npm run deploy

What's next?

  • Change the name of the package (in package.json)
  • Change the name of the worker (in wrangler.jsonc)