UNPKG

@humansecurity/human-mcp-server

Version:

Model Context Protocol (MCP) server providing comprehensive cybersecurity intelligence from HUMAN Security. Offers real-time attack monitoring, threat detection, fraud prevention, PCI DSS compliance validation, and supply chain security for AI-powered app

131 lines (99 loc) 5.66 kB
[![npm version](https://badge.fury.io/js/%40humansecurity%2Fhuman-mcp-server.svg)](https://www.npmjs.com/package/@humansecurity/human-mcp-server) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) ![HUMAN Security Logo](https://raw.githubusercontent.com/HumanSecurity/human-mcp-server/main/.images/logo.png) This is the official MCP Server for [HUMAN Security](https://www.humansecurity.com/). # HUMAN Security MCP Server Supercharge your AI workflows with comprehensive cybersecurity intelligence from HUMAN Security. This Model Context Protocol (MCP) server provides access to HUMAN's industry-leading threat detection, attack analysis, and security monitoring capabilities directly within your AI-powered applications. ![](https://raw.githubusercontent.com/HumanSecurity/human-mcp-server/main/.images/mcp.gif) ## 🛡️ What You Can Do **Cyberfraud Protection & Analytics** - **Traffic Analysis**: Monitor web and mobile traffic patterns with comprehensive security metrics - **Real-time Attack Monitoring**: Track sophisticated attack campaigns with time-series analytics and threat intelligence - **Attack Investigation**: Deep-dive into specific attack clusters with detailed forensics and attribution - **Account Security**: Investigate suspicious account behavior, fraud patterns, and security incidents - **Custom Security Rules**: Manage and audit your custom mitigation policies and security controls **Code Defender - Client-Side Security** - **Supply Chain Protection**: Monitor third-party scripts and vendors on your payment and sensitive pages - **PCI DSS Compliance**: Automated compliance validation and security assessment for payment environments - **Security Incident Response**: Track client-side attacks, XSS attempts, and code injection threats - **HTTP Security Headers**: Comprehensive security posture analysis and misconfiguration detection ## 🚀 Quick Start Add this configuration to your MCP server file: ```json { "mcpServers": { "human-security": { "command": "npx", "args": ["-y", "@humansecurity/human-mcp-server"], "env": { "HUMAN_CYBERFRAUD_API_TOKEN": "your-cyberfraud-token", "HUMAN_CODE_DEFENDER_API_TOKEN": "your-code-defender-token" } } } } ``` * For Claude Desktop, navigate to **Claude > Settings > Developer > Edit Config**. This will take you to the location of the `claude_desktop_config.json` file. Edit this file in your preferred editor. * For Cursor, navigate to **Cursor > Settings > Cursor Settings > Tools & Integrations**. The MCP Tools section will take you to the `mcp.json` file, which you can edit directly in the Cursor editor. You'll need API tokens from your HUMAN Security account to access the services. The server automatically detects which services you have access to and enables the corresponding tools. ### Required Tokens - **`HUMAN_CYBERFRAUD_API_TOKEN`**: Enables attack monitoring, traffic analysis, account investigation, and custom rules management - **`HUMAN_CODE_DEFENDER_API_TOKEN`**: Enables supply chain monitoring, PCI compliance, and client-side security analysis ### Optional Configuration - **`HUMAN_API_HOST`**: Use a different API endpoint (default: `api.humansecurity.com`) - **`HUMAN_API_VERSION`**: Specify API version (default: `v1`) - **`HTTP_TIMEOUT_MS`**: Request timeout in milliseconds (default: `30000`) ## 💡 Usage Examples **Ask your AI assistant questions like:** * *"Show me attack trends over the last 24 hours"* * *"Investigate suspicious activity for account ID XXXXX"* * *"What third-party scripts are running on our payment pages?"* * *"Are we PCI DSS compliant based on our current security headers?"* * *"Analyze the effectiveness of our custom security rules"* * *"Show me details about attack cluster XXXXX"* ## 📊 Available Tools ### Cyberfraud Protection - **Traffic Data**: Comprehensive traffic analytics with security metrics - **Attack Reporting (Overtime)**: Time-series attack analytics and trend analysis - **Attack Reporting (Overview)**: Detailed attack cluster intelligence and forensics - **Account Information**: Individual account security analysis and incident tracking - **Custom Rules**: Security policy management and effectiveness analysis ### Code Defender Security - **Security Incidents**: Client-side attack detection and investigation - **Script Inventory**: Third-party script monitoring and PCI compliance - **Header Inventory**: HTTP security header analysis and optimization ## 🔗 Integration Options ### Single Service Setup If you only need one service, you can configure just that token: **Cyberfraud Only:** ```json { "human-security": { "command": "npx", "args": ["-y", "@humansecurity/human-mcp-server"], "env": { "HUMAN_CYBERFRAUD_API_TOKEN": "your-token-here" } } } ``` **Code Defender Only:** ```json { "human-security": { "command": "npx", "args": ["-y", "@humansecurity/human-mcp-server"], "env": { "HUMAN_CODE_DEFENDER_API_TOKEN": "your-token-here" } } } ``` ## 🆘 Support - **Documentation**: [HUMAN Security Documentation](https://docs.humansecurity.com) - **API Tokens**: - [Cyberfraud](https://docs.humansecurity.com/applications-and-accounts/reference/api-authentication#getting-a-token-for-account-defender-bot-defender-or-credential-intelligence) - [Code Defender](https://docs.humansecurity.com/applications-and-accounts/reference/api-authentication#getting-a-token-for-code-defender-or-pci-dss) - **Technical Support**: Available through your HUMAN Security support channels ## 📄 License MIT