CyberMCP

CyberMCP is a Model Context Protocol (MCP) server designed for testing backend APIs for security vulnerabilities. It provides a set of specialized tools and resources that can be used by LLMs to identify common security issues in APIs.

Installation

Installing for Claude Desktop

Manual Configuration Required

This MCP server requires manual configuration. Run the command below to open your configuration file:

npx mcpbar@latest edit -c claude

This will open your configuration file where you can add the CyberMCP MCP server manually.

πŸ”’ CyberMCP

AI-powered Cybersecurity API Testing with Model Context Protocol (MCP)

License: MIT Node.js TypeScript

CyberMCP is a Model Context Protocol (MCP) server that enables AI agents to perform comprehensive security testing on backend APIs. It provides 14 specialized security tools and 10 resources for identifying vulnerabilities like authentication bypass, injection attacks, data leakage, and security misconfigurations.

πŸš€ Quick Start

# Clone and setup
git clone https://github.com/your-username/CyberMCP.git
cd CyberMCP
npm install
npm run build

# Test the server
npm run test-server

# Start interactive testing
npm run test-interactive

✨ Features

  • πŸ” Authentication Testing - JWT analysis, bypass detection, OAuth2 flows
  • πŸ’‰ Injection Testing - SQL injection, XSS vulnerability detection
  • πŸ“Š Data Protection - Sensitive data exposure, path traversal checks
  • ⏱️ Rate Limiting - DoS vulnerability assessment
  • πŸ›‘οΈ Security Headers - OWASP security header validation
  • πŸ“š Comprehensive Resources - Security checklists and testing guides

πŸ› οΈ Security Tools (14 Total)

CategoryTools
Authenticationbasic_auth, token_auth, oauth2_auth, api_login, auth_status, clear_auth, jwt_vulnerability_check, auth_bypass_check
Injection Testingsql_injection_check, xss_check
Data Protectionsensitive_data_check, path_traversal_check
Infrastructurerate_limit_check, security_headers_check

🎯 IDE Integration

CyberMCP works with all major AI-powered IDEs:

  • Claude Desktop - Direct MCP integration
  • Cursor IDE - Built-in MCP support
  • Windsurf (Codeium) - Native MCP protocol
  • VS Code + Cline - Extension-based integration

πŸ“– Complete Setup Guide - Detailed configuration for each IDE

πŸ“‹ Usage Example

"Use basic_auth with username 'admin' and password 'secret123' 
then use auth_bypass_check on https://api.example.com/users 
to test for authentication bypass vulnerabilities"

The AI agent will:

  1. Configure authentication credentials
  2. Test the protected endpoint for bypass vulnerabilities
  3. Provide detailed security analysis and recommendations

πŸ“Š Testing & Validation

# Comprehensive tool testing
npm run test-tools

# Manual interactive testing  
npm run test-interactive

# Quick setup verification
npm run quick-start

# MCP Inspector (GUI)
npm run inspector

πŸ“ Project Structure

CyberMCP/
β”œβ”€β”€ src/                    # TypeScript source code
β”‚   β”œβ”€β”€ tools/             # 14 security testing tools
β”‚   β”œβ”€β”€ resources/         # Security checklists & guides
β”‚   └── utils/             # Authentication & utilities
β”œβ”€β”€ docs/                  # Documentation
β”œβ”€β”€ scripts/               # Testing & utility scripts  
β”œβ”€β”€ examples/              # Configuration examples
β”œβ”€β”€ dist/                  # Built JavaScript (generated)
└── README.md              # This file

πŸ”§ Development

# Development mode with hot reload
npm run dev

# Build TypeScript
npm run build

# Start server (stdio mode)
npm start

# Start HTTP server
TRANSPORT=http PORT=3000 npm start

πŸ“– Documentation

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/new-security-tool
  3. Make your changes and add tests
  4. Submit a pull request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ”— Resources


πŸ”’ Secure your APIs with AI-powered testing!

For support and questions, please create an issue.

Share:
Details:
  • Stars


    9
  • Forks


    3
  • Last commit


    29 days ago
  • Repository age


    3 months
  • License


    MIT
View Repository

Auto-fetched from GitHub .

MCP servers similar to CyberMCP:

Β 

Β 
Β 
  • Stars


  • Forks


  • Last commit


Β 

Β 
Β 
  • Stars


  • Forks


  • Last commit


Β 

Β 
Β 
  • Stars


  • Forks


  • Last commit


CyberMCP: MCP Server – MCP.Bar