π¦ OWL x WhatsApp MCP Server Integration
LocalAbout π¦ OWL x WhatsApp MCP Server Integration
OWL x WhatsApp MCP Server Integration connects WhatsApp data to the OWL multi-agent framework through a Streamlit interface. It is for users who want agents to search messages and media, send messages, and use web search in task workflows.
Key features
- 01Search WhatsApp messages and media
- 02Send messages to people or groups
- 03Coordinate agents with OWL and CAMEL-AI
- 04Search the web for current information
- 05Streamlit user interface
Use cases
- 01Search personal WhatsApp conversations
- 02Send a message to a person or group
- 03Combine WhatsApp data with web search
- 04Run agent tasks through a web interface
MCP support
The application uses MCPToolkit to access WhatsApp data through the WhatsApp MCP server. Users must set up and run that server for it to be accessible.
Configuration
Local server config is the same for every client. Copy it into your clientβs MCP config file.
We havenβt collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEπ¦ OWL x WhatsApp MCP Server Integration
Welcome to the OWL x WhatsApp MCP Server project! This application seamlessly integrates the WhatsApp MCP server with the OWL multi-agent framework, enabling AI agents to interact with your WhatsApp data through a user-friendly Streamlit interface.
β¨ Features
- π€ Multi-Agent Collaboration: Leverages CAMEL-AI and OWL frameworks for dynamic agent interactions and task automation.
- π± WhatsApp Integration: Access and search your personal WhatsApp messages, including media files.
- π€ Message Dispatch: Send messages to individuals or groups directly through the app.
- π Real-Time Information Retrieval: Utilize web search capabilities for up-to-date information.
- π Streamlit Interface: Provides an intuitive UI for seamless user interaction.
π οΈ How It Works
- Agent Roles: Defined using CAMEL-AI's
RolePlayingclass to simulate user and assistant interactions. - Toolkits Integration: Incorporates MCPToolkit for WhatsApp data access and SearchToolkit for web searches.
- Task Execution: OWL framework orchestrates the agents to perform tasks based on user input.
- User Interface: Streamlit app captures user tasks and displays results in real-time.
π Getting Started
-
Clone the Repository:
git clone https://github.com/Bipul70701/WhatsApp_MCP_Server.git cd WhatsApp_MCP_Server -
Create a Virtual Environment:
python -m venv venv -
Activate the Virtual Environment:
- On Windows:
venv\Scripts\activate - On macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install Dependencies:
pip install -r requirements.txt -
Configure Environment Variables:
- Rename
.env_templateto.env. - Fill in the required API keys and configurations.
- Rename
-
Configure MCP Server:
- Install and Set Up WhatsApp MCP Server:
- Follow the instructions in the WhatsApp MCP server repository to install and run the server.
- Ensure the server is running and accessible.
- Install and Set Up WhatsApp MCP Server:
-
Run the Streamlit App:
streamlit run project.py
π Project Structure
owl-whatsapp-mcp/
βββ project.py # Main Streamlit application
βββ owl/ # OWL framework and utilities
β βββ utils/ # Utility functions and helpers
βββ mcp_servers_config.json # Configuration for MCP servers
βββ requirements.txt # List of dependencies
βββ .env_template # Example environment variables file
βββ README.md # Project documentation
π§ Key Components
- CAMEL-AI: Framework for designing and managing autonomous agents.
- OWL: Optimized Workforce Learning for real-time task management and collaboration.
- MCPToolkit: Facilitates interaction with WhatsApp data.
- SearchToolkit: Enables web search capabilities.
- Streamlit: Provides an interactive web interface for user interaction.
π Credits
- CAMEL-AI: For the multi-agent framework.
- OWL: For real-time task management and collaboration.
- WhatsApp MCP Server: For WhatsApp data integration.
- Streamlit: For the interactive UI.
Made with β€οΈ by Bipul Kumar Sharma
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.