use-mcp/examples/chat-ui
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-06-27 11:40:13 +10:00
..
api Copying chat example across 2025-06-19 11:51:02 +10:00
e2e fixing prettier 2025-06-25 15:09:09 +10:00
public Copying chat example across 2025-06-19 11:51:02 +10:00
src Round corners more on blue connected server transport type badge 2025-06-26 09:50:50 +10:00
.gitignore Copying chat example across 2025-06-19 11:51:02 +10:00
.prettierrc Copying chat example across 2025-06-19 11:51:02 +10:00
AGENT.md Update AGENT.md with chat UI development guidelines 2025-06-24 08:21:55 +10:00
eslint.config.js fixing prettier 2025-06-25 15:09:09 +10:00
index.html Almost ready 2025-06-25 22:14:36 +10:00
package.json Implement OAuth callback support for MCP servers 2025-06-23 20:19:10 +10:00
playwright.config.ts Copying chat example across 2025-06-19 11:51:02 +10:00
pnpm-lock.yaml Implement OAuth callback support for MCP servers 2025-06-23 20:19:10 +10:00
README.md Copying chat example across 2025-06-19 11:51:02 +10:00
tailwind.config.js opencode + qwen32b 2025-06-27 11:40:13 +10:00
tsconfig.app.json wip, changing the logic in useStreamResponse 2025-06-25 17:06:50 +10:00
tsconfig.json fixing prettier 2025-06-25 15:09:09 +10:00
tsconfig.node.json Copying chat example across 2025-06-19 11:51:02 +10:00
tsconfig.worker.json Copying chat example across 2025-06-19 11:51:02 +10:00
vite.config.ts fixing prettier 2025-06-25 15:09:09 +10:00
wrangler.jsonc fixing prettier 2025-06-25 15:09:09 +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)