This repository provides an example client implementation using the Vercel AI SDK and Model Context Protocol SDK to streamline LLM chat interactions within a browser environment, including tool discovery and usage.
This repository provides an example implementation of client-side code for the Model Context Protocol (MCP) SDK, leveraging the Vercel AI SDK to streamline LLM chat interactions within a browser environment. It complements the MCP server creation guide.
How It Works
Getting Started
To run this example:
# Install dependencies
npm install
# Run the development server
npm run dev
Access the application at http://localhost:3000
.
QuantGeekDev/vercel-ai-mcp-client
February 21, 2025
March 17, 2025
TypeScript