vaydingul
MCP Servervaydingulpublic

whatscamm

Agentic security officer from your camera to your WhatsApp

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
-
License

About This Server

Agentic security officer from your camera to your WhatsApp

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

WhatsCAMM - WhatsApp Camera Monitoring System

WhatsCAMM is a security camera monitoring system that captures frames from RTSP camera streams, analyzes them for suspicious activity using OpenAI's vision models, and sends notifications with images via WhatsApp.

Features

  • Monitors multiple RTSP camera streams simultaneously
  • Uses OpenAI's vision models to analyze camera frames for suspicious activity
  • Automatically sends notifications with images to a WhatsApp group or individual
  • Configurable monitoring intervals
  • Easy to set up with environment variables

Prerequisites

  • Python 3.8+
  • OpenAI API key
  • RTSP camera streams
  • WhatsApp MCP server setup for sending messages

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/whatscamm.git
cd whatscamm
  1. Create a virtual environment and activate it:
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Create a .env file in the root directory with the following variables:
OPENAI_API_KEY="your_openai_api_key"
RTSP_STREAM_URL1="rtsp://username:password@camera_ip:port/stream1"
RTSP_STREAM_URL2="rtsp://username:password@camera_ip:port/stream1" # Optional
WHATSAPP_RECIPIENT="whatsapp_group_id_or_individual_contact"

Usage

Run the main script to start monitoring:

python main.py

The system will:

  1. Capture frames from the configured RTSP streams
  2. Analyze the frames using OpenAI's vision models
  3. Send notifications with the analysis and images via WhatsApp
  4. Wait for the configured interval before repeating

Configuration

All configuration is done through environment variables in the .env file:

  • OPENAI_API_KEY: Your OpenAI API key
  • RTSP_STREAM_URL1: RTSP URL for the first camera
  • RTSP_STREAM_URL2: RTSP URL for the second camera (optional)
  • WHATSAPP_RECIPIENT: WhatsApp recipient ID (group or individual)

Testing

You can test the system by running:

python test.py

This will capture frames from the configured RTSP streams and test the OpenAI vision model analysis without sending WhatsApp messages.

WhatsApp Integration

This project uses a WhatsApp MCP (Model Context Protocol) server for sending messages. Make sure you have the WhatsApp MCP server properly set up and configured. For detailed information on setting up the WhatsApp MCP server, refer to the official documentation.

Security Considerations

  • Never commit your .env file to version control
  • Ensure your camera credentials are strong and unique
  • Consider using a dedicated OpenAI API key with appropriate usage limits

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Quick Start

1

Clone the repository

git clone https://github.com/vaydingul/whatscamm
2

Install dependencies

cd whatscamm
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownervaydingul
Repowhatscamm
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation