
parsallm
A LangChain-powered chatbot built with Python, integrated with MCP for real-time communication.
Repository Info
About This Server
A LangChain-powered chatbot built with Python, integrated with MCP for real-time communication.
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
ParsaLLM Chatbot
A powerful LangChain-powered chatbot built with Python, featuring real-time communication through MCP (Multi-Channel Platform) integration.
Features
- 🤖 Intelligent responses using LangChain and LLMs
- 🔄 Real-time communication via MCP
- 🎯 Modular and extensible architecture
- 📝 Message analysis and processing
- 🔧 Easy configuration and deployment
Project Structure
parsallm/
├── src/
│ ├── __init__.py
│ ├── bot.py
│ ├── config.py
│ └── utils.py
├── .env.example
├── main.py
├── requirements.txt
└── README.md
Prerequisites
- Python 3.8 or higher
- pip (Python package manager)
Installation
-
Clone the repository:
git clone https://github.com/parsahpmx/parsallm.git cd parsallm -
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: .\venv\Scripts\activate -
Install dependencies:
pip install -r requirements.txt -
Configure environment variables:
cp .env.example .env # Edit .env with your configuration
Configuration
Configure the following environment variables in your .env file:
OPENAI_API_KEY=your_openai_api_key
MCP_API_KEY=your_mcp_api_key
MODEL_NAME=gpt-3.5-turbo
DEBUG=False
Usage
Run the chatbot:
python main.py
Development
Adding New Features
- Create new modules in the
srcdirectory - Update the configuration in
config.py - Implement new functionality in modular components
- Update main.py to integrate new features
Testing
The project includes a basic test suite. Run tests with:
python -m pytest tests/
Contributing
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
For support, please open an issue in the GitHub repository.
Quick Start
Clone the repository
git clone https://github.com/parsahpmx/parsallmInstall dependencies
cd parsallm
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.