This project implements an AI-powered personal assistant that interacts with users via a chat interface. The assistant connects to multiple MCP (Model Context Protocol) servers, processes queries using Anthropic AI, and maintains a history of conversations similar to ChatGPT. It also provides a web interface where users can seamlessly interact with the AI assistant.
- Chat Interface: A clean and user-friendly chat interface for interacting with the AI assistant.
- Chat History: Ability to view previous messages in the conversation.
- Multiple MCP Server Connectivity: The MCP client connects to multiple servers for redundancy and load balancing.
- AI Integration: Uses Anthropic AI for generating responses based on user input.
- Session Management: Each conversation is tied to a unique session for context retention.
- Responsive Design: Fully responsive chat UI that works on both desktop and mobile devices.
- Frontend:
- React
- TypeScript
- Tailwind CSS (for styling)
- Backend:
- Node.js
- Express.js
- Anthropic AI (for generating AI responses)
- MCP Client (for handling multiple server communication)
git clone https://github.com/yourusername/ai-personal-assistant.git
cd ai-personal-assistant
npm install
Create a .env file in the root directory and add the following:
REACT_APP_API_URL=http://localhost:3000 # Replace with your backend server URL
VITE_API_URL=http://localhost:3000 # API URL for MCP server
OPENAI_API_KEY=your_openai_api_key # Replace with your OpenAI API key (if using GPT-3 or another model)
npm start
- Project Overview: A brief description of the project’s key features.
- Tech Stack: List of technologies used in both frontend and backend.
- Setup Instructions: Steps to clone, install dependencies, and set up the project.
- Running the Application: Instructions on how to start the project and the backend server.
- Testing: How to test the chat functionality.
- Contribution Guidelines: Information on how others can contribute to the project.
- License: The license the project is under (here it’s MIT).
- Acknowledgments: Credit for libraries, tools, and services used in the project.
- Replace placeholders such as
your_openai_api_key
and GitHub URL with actual information related to your project. - Adjust setup instructions if needed based on your project structure.
- Add or modify any sections according to your project’s requirements.
Let me know if you need any further customization!