Connect to any Model Context Protocol server, discover tools dynamically, and let the AI use them in a chat interface. Includes a demo MCP server with weather and calculator tools.
Loading interactive preview...
Automatically installs the pattern and its dependencies in your project.
Download the complete pattern as a standalone Next.js project.
Add your AI provider API key to enable real functionality.
Open http://localhost:3000 to see the pattern in action.
The pattern is ready to use. Modify the components, API routes, and styling to fit your application.
app/page.tsxapp/api/Build AI assistants that connect to any MCP-compatible tool server, gaining new capabilities without code changes.
Connect AI agents to internal APIs, databases, and services exposed as MCP servers for secure, governed tool access.
Create coding assistants that use MCP to access file systems, Git repos, package registries, and CI/CD pipelines.
Build AI platforms where users can add new tool servers on the fly, extending the AI's capabilities without redeployment.