Logo HUMAN Security MCP Server

HUMAN Security MCP Server

Tổ chức
HumanSecurity

This is the official MCP Server for HUMAN Security.

Nhà phát hànhHumanSecurity
Kho mãhuman-mcp-server
Ngôn ngữTypeScript
Bản fork
3
Sao
12
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    HUMAN Security MCP Server cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    12 sao và 3 bản fork từ kho mã được liên kết.

npm version License: MIT

HUMAN Security Logo

This is the official MCP Server for HUMAN Security.

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.

🛡️ 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

  • Client-Side Supply Chain Protection: Monitor first- and third-party scripts and vendors on your payment and sensitive pages
  • PCI DSS Compliance: Streamline PCI DSS compliance and confirm that your site is not susceptible to attacks from scripts
  • Security Incident Monitoring: Track client-side attacks, e-skimming attempts, and code injection threats
  • HTTP Security-Impacting Headers: Monitor and alert personnel to changes to security-impacting HTTP headers

🔑 Prerequisites

  • If running with NPM, download and install Node.js.
  • If running with Docker, download and install Docker.

🚀 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

🐳 Run with Docker

If you prefer to use Docker over NPM, run the MCP server container directly:

bash
docker run --rm -i \
  -e HUMAN_CYBERFRAUD_API_TOKEN=<value> \
  -e HUMAN_CODE_DEFENDER_API_TOKEN=<value> \
  us-docker.pkg.dev/hmn-registry-public/containers/human-mcp-server:latest

To use Docker from your MCP client config (e.g., Cursor or Claude Desktop), replace the NPM command with a Docker invocation:

json
{
  "mcpServers": {
    "human-security": {
      "command": "docker",
      "args": [
        "run", "--rm", "-i",
        "-e", "HUMAN_CYBERFRAUD_API_TOKEN",
        "-e", "HUMAN_CODE_DEFENDER_API_TOKEN",
        "us-docker.pkg.dev/hmn-registry-public/containers/human-mcp-server:latest"
      ],
      "env": {
        "HUMAN_CYBERFRAUD_API_TOKEN": "your-cyberfraud-token",
        "HUMAN_CODE_DEFENDER_API_TOKEN": "your-code-defender-token"
      }
    }
  }
}

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)
  • HUMAN_TRAFFIC_API_BASE: Override the base URL for traffic data endpoints. Useful for local development against a pxPortal instance (e.g. http://localhost:3000/api/v1/botDefender/traffic). When not set, defaults to the standard HUMAN API base.

💡 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?"
  • "Show me the scripts and headers in my PCI inventory"
  • "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 overtime time-series, aggregated metrics, and ranked tops breakdowns
  • 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: First- and 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"
    }
  }
}

🧪 Local Development & Testing

Running against a local pxPortal instance

To test the MCP server against a locally running pxPortal (default port 3000), set HUMAN_TRAFFIC_API_BASE to override the traffic data endpoint:

json
{
  "mcpServers": {
    "human-security": {
      "command": "node",
      "args": ["/path/to/human-mcp-server/dist/index.cjs"],
      "env": {
        "HUMAN_CYBERFRAUD_API_TOKEN": "your-token",
        "HUMAN_TRAFFIC_API_BASE": "http://localhost:3000/api/v1/botDefender/traffic"
      }
    }
  }
}

End-to-end test script

scripts/test_local.mjs spawns the MCP server and runs 25 scenarios against a live backend, covering all modes (overtime, metrics, tops), filters, combined calls, time ranges, and tops field coverage.

bash
# Build first
npm run build

# Run all scenarios against localhost:3000
HUMAN_CYBERFRAUD_API_TOKEN=<token> node scripts/test_local.mjs

# Run against a custom backend
HUMAN_CYBERFRAUD_API_TOKEN=<token> \
HUMAN_TRAFFIC_API_BASE=http://my-host/api/v1/botDefender/traffic \
node scripts/test_local.mjs

Expected output: RESULTS: 25 passed, 0 failed.

🆘 Support

📄 License

MIT

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "humansecurity-human-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@humansecurity/human-mcp-server"
      ]
    }
  }
}

Dùng MCP HUMAN Security MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối HUMAN Security MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm HUMAN Security MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của HUMAN Security MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "humansecurity-human-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@humansecurity/human-mcp-server"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của HUMAN Security MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của HUMAN Security MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng HUMAN Security MCP Server giúp tôi làm việc này không?
HUMAN Security MCP Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng HUMAN Security MCP Server.

Câu hỏi thường gặp

Máy chủ MCP HUMAN Security MCP Server dùng để làm gì?

HUMAN Security MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP HUMAN Security MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng HUMAN Security MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP HUMAN Security MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối HUMAN Security MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP HUMAN Security MCP Server với TypingMind?

HUMAN Security MCP Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP HUMAN Security MCP Server cung cấp những công cụ nào trong TypingMind?

HUMAN Security MCP Server cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP HUMAN Security MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu HUMAN Security MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇