Skip to main content
Glama
mrobi27
by mrobi27
README.md
<div align="center">

# šŸ›”ļø CyberMCP

### AI-Powered Cyber Security Assistant built with Model Context Protocol (MCP)

[![Python](https://img.shields.io/badge/Python-3.11+-3776AB?logo=python&logoColor=white)](https://python.org)
[![FastMCP](https://img.shields.io/badge/FastMCP-Latest-blue)](#)
[![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![Status](https://img.shields.io/badge/Status-Active-success)](#)

*A production-ready MCP Server that brings cybersecurity analysis tools directly to AI assistants such as Claude Desktop.*

</div>

---

## ✨ Overview

CyberMCP is an **AI-powered Cyber Security Assistant** built on the **Model Context Protocol (MCP)**.

Instead of manually checking DNS, SSL certificates, HTTP headers, cookies, or security configurations, AI assistants can invoke CyberMCP tools and receive structured security analysis automatically.

CyberMCP follows a **Clean Architecture** approach with modular services, asynchronous networking, and defensive security principles.

---

# šŸš€ Features

| Feature | Description |
|----------|-------------|
| šŸŒ RDAP Lookup | Retrieve domain registration information |
| 🌐 DNS Analyzer | Analyze A, AAAA, MX, TXT, NS records |
| šŸ”’ SSL Inspector | Inspect SSL/TLS certificates |
| šŸ›” Security Headers | Detect missing HTTP security headers |
| šŸŖ Cookie Analyzer | Analyze Secure, HttpOnly & SameSite |
| 🧬 Technology Fingerprinting | Detect web technologies |
| šŸ¤– robots.txt Analyzer | Parse robots.txt |
| šŸ“„ security.txt Checker | Find security contact information |
| šŸ“Š Website Audit | Run all security checks together |
| šŸ“‘ Report Generator | Export HTML & JSON reports |

---

# šŸ—ļø Architecture

```text
                 AI Assistant
             (Claude Desktop)
                     │
                     ā–¼
              Model Context Protocol
                     │
                     ā–¼
                CyberMCP Server
                     │
 ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
 │              │               │               │
 ā–¼              ā–¼               ā–¼               ā–¼
 RDAP        DNS Analyzer    SSL Checker    Headers
 │
 ā–¼
 Services
 │
 ā–¼
 External APIs / DNS / Websites
```

---

# šŸ“‚ Project Structure

```text
CyberMCP/

ā”œā”€ā”€ mcp_server.py
ā”œā”€ā”€ README.md
ā”œā”€ā”€ requirements.txt
│
ā”œā”€ā”€ tools/
ā”œā”€ā”€ services/
ā”œā”€ā”€ models/
ā”œā”€ā”€ utils/
ā”œā”€ā”€ tests/
└── docs/
```

---

# āš™ļø Installation

Clone the repository

```bash
git clone https://github.com/YOUR_USERNAME/CyberMCP.git

cd CyberMCP
```

Create virtual environment

```bash
python -m venv .venv
```

Activate environment

### Windows

```bash
.venv\Scripts\activate
```

### Linux / macOS

```bash
source .venv/bin/activate
```

Install dependencies

```bash
pip install -r requirements.txt
```

---

# ā–¶ļø Run Development Server

```bash
mcp dev mcp_server.py
```

---

# šŸ”— Claude Desktop Integration

Edit:

```text
claude_desktop_config.json
```

Example:

```json
{
  "mcpServers": {
    "CyberMCP": {
      "command": "python",
      "args": [
        "/path/to/CyberMCP/mcp_server.py"
      ]
    }
  }
}
```

---

# šŸ’” Example

Ask Claude:

```text
Analyze the security of openai.com
```

Claude automatically calls:

```text
āœ” RDAP Lookup

āœ” DNS Analyzer

āœ” SSL Inspection

āœ” Security Headers

āœ” robots.txt

āœ” security.txt

āœ” Technology Fingerprinting
```

Result:

```text
Security Score : 91/100

SSL           āœ”

HSTS          āœ”

CSP           āœ–

robots.txt    āœ”

security.txt  āœ”
```

---

# šŸ›£ļø Roadmap

- [x] FastMCP Server
- [x] RDAP Lookup
- [x] DNS Analyzer
- [x] SSL Inspector
- [x] Header Analyzer
- [ ] Cookie Analyzer
- [ ] Website Audit
- [ ] HTML Report
- [ ] PDF Report
- [ ] VirusTotal Integration
- [ ] AbuseIPDB Integration

---

# šŸ¤ Contributing

Contributions are welcome!

Feel free to open an Issue or submit a Pull Request.

---

<div align="center">

Made with ā¤ļø using **Python**, **FastMCP**, and **Model Context Protocol**

⭐ If you find this project useful, don't forget to give it a star!

</div>