agentic-vision
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agentic-visionCheck the field cameras, report if there is an ISG violation and log to the database."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
👷♂️ Agentic Vision: Autonomous ISG Inspection Agent (MCP + YOLOv8 + Supabase)
This project is an autonomous Occupational Health and Safety (ISG) inspection system based on Model Context Protocol (MCP), giving Large Language Models (LLMs) the ability to "see", "interpret", and "take action" in the real world.
Unlike standard object detection projects, it is built on an "Agentic Workflow". Claude 3.5 Sonnet autonomously finds camera recordings in the system, analyzes them, and produces a risk report according to ISG regulations.
Table of Contents
Related MCP server: construction-safety-inspector
🚀 Features
Model Context Protocol (MCP): Secure access for LLM to local file system and custom APIs.
Autonomous Analysis: Automatic detection and analysis of the latest image dropped in the "images" folder.
Smart Reporting: Converting raw JSON data into a meaningful report according to ISG Law No. 6331.
Corporate Memory: Instant logging of all violations to Supabase (PostgreSQL) database.
Modern Architecture: FastAPI (Asynchronous) + Roboflow (Cloud Inference).
🛠️ Architecture
graph TD
A[Claude Desktop / LLM] -->|MCP Request| B(MCP Server - FastMCP)
B -->|Scan Images| C{Local Storage}
B -->|POST /analyze| D[FastAPI Backend]
D -->|Inference Request| E((Roboflow Cloud API))
E -->|JSON Result| D
D -->|Insert Log| F[(Supabase DB)]
D -->|Formatted Result| B
B -->|Agentic Report| A📦 Installation
Prerequisites
Python 3.10+
Conda or virtualenv
Steps
Clone the repository:
git clone https://github.com/fatihberkanteren/agentic-vision-server.git cd agentic-vision-serverCreate and activate environment:
conda create -n agentic-vision python=3.10 -y conda activate agentic-vision pip install -r requirements.txt
⚙️ Configuration
Create a .env file and enter your information:
ROBOFLOW_API_KEY=your_api_key
SUPABASE_URL=your_project_url
SUPABASE_KEY=your_service_keyClaude Desktop Integration
Add the following to the mcpServers section in your Claude Desktop settings (claude_desktop_config.json):
{
"mcpServers": {
"agentic-vision": {
"command": "C:/path/to/your/python.exe",
"args": ["mcp_server.py"]
}
}
}🎯 Usage
After the system is up, simply give this command to Claude:
"Check the field cameras, report if there is an ISG violation and log to the database."
The agent will find the latest photo in the images/ folder, detect personnel missing helmets/vests, and provide you with a professional inspection report.
🤝 Contributing
Contributions are welcome! Please open an issue or submit a pull request.
This server cannot be deployed
Maintenance
Related MCP Connectors
Deterministic runtime safety for AI agents: scan PII, gate tool actions, verify LLM output.
AgentGuard — 20-tool AI safety MCP: policy preflight, risk scoring, audit logging, rate limits.
The WAF for agents. Pattern-based + heuristic firewall scans prompts, RAG documents, tool argume...
Sentiment, toxicity, entity extraction, PII, translation, summary, QA, fraud scoring, safety audit.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to query workplace incident data using RAG, providing search, analysis, and corrective action plans.1MIT
- FlicenseNot gradedqualityDmaintenanceEnables Claude Desktop to detect construction site hazards from photos, analyze incident PDFs, search similar accident cases, and generate bilingual safety reports with citations.-
- AlicenseAqualityCmaintenanceEnables LLMs to connect to factory PLC sensors, read register data, analyze predictive maintenance, and monitor energy consumption in industrial environments.3MIT
- AlicenseAqualityBmaintenanceEnables LLMs to analyze images via OpenAI-compatible multimodal models, supporting local files, base64, and URLs with safety validation and model selection.1MIT