
mcp chat demo
A sample chat application demonstrating integration with Model Context Protocol (MCP) servers
Repository Info
About This Server
A sample chat application demonstrating integration with Model Context Protocol (MCP) servers
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
MCP Chat Demo
A sample chat application demonstrating integration with Model Context Protocol (MCP) servers.
Project Structure
mcp-chat-demo/
├── package.json
├── README.md
├── .gitignore
├── src/
│ ├── App.tsx
│ ├── main.tsx
│ ├── components/
│ │ ├── Chat.tsx
│ │ ├── MessageList.tsx
│ │ ├── MessageInput.tsx
│ │ └── MCPConnection.tsx
│ ├── lib/
│ │ ├── mcp-client.ts
│ │ └── types.ts
│ └── styles/
│ └── main.css
└── public/
└── index.html
Setup Instructions
- Clone the repository:
git clone https://github.com/yourusername/mcp-chat-demo.git
cd mcp-chat-demo
- Install dependencies:
npm install
- Start the development server:
npm run dev
Features
- Connect to local or remote MCP servers
- Real-time chat interface
- Support for MCP tools and resources
- Message history
- Error handling and reconnection logic
Technology Stack
- React 18
- TypeScript
- Vite
- TailwindCSS
- MCP TypeScript SDK
Quick Start
Clone the repository
git clone https://github.com/ehartye/mcp-chat-demoInstall dependencies
cd mcp-chat-demo
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.