SM

stanfrbd/mcp-cyberbro

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

19 stars 10 forks 质量 87 趋势 36MIT

Using MCP is fun with Cyberbro!

概览

Extract IoCs from messy text and analyze them with Cyberbro. 🌐 demo.cyberbro.net Model Context Protocol server for Cyberbro. This project is packaged as a standard Python distribution and can be launched with: - uvx mcp-cyberbro - pip install mcp-cyberbro then mcp-cyberbro - Analyze observables (IP, domain, URL, hash, etc.) via Cyberbro engines. - Integrate threat-analysis actions directly in MCP-capable assistants. - Run with stdio, sse, or streamable-http transports. - Compatible with any MCP client that supports one of these transports. Default container command starts in streamable-http mode on port 8000. To run in stdio mode, a custom Dockerfile is required: - CYBERBRO_URL - API_PREFIX (default: api) - SSL_VERIFY (true/false) - MCP_TRANSPORT (stdio, sse, streamable-http) - MCP_HOST - MCP_PORT - MCP_MOUNT_PATH - MCP_SSE_PATH - MCP_STREAMABLE_HTTP_PATH

README

以下为原文 README 节选,完整内容请查看原文。

Cyberbro MCP Server

Extract IoCs from messy text and analyze them with Cyberbro.

🌐 demo.cyberbro.net

Model Context Protocol server for Cyberbro.

This project is packaged as a standard Python distribution and can be launched with:

  • uvx mcp-cyberbro
  • pip install mcp-cyberbro then mcp-cyberbro

Why this server

  • Analyze observables (IP, domain, URL, hash, etc.) via Cyberbro engines.
  • Integrate threat-analysis actions directly in MCP-capable assistants.
  • Run with stdio, sse, or streamable-http transports.
  • Compatible with any MCP client that supports one of these transports.

Installation

Use with uvx (standalone)

uvx mcp-cyberbro --cyberbro_url http://localhost:5000

Use with pip

pip install mcp-cyberbro
mcp-cyberbro --cyberbro_url http://localhost:5000

Local development

pip install -e .
mcp-cyberbro --cyberbro_url http://localhost:5000

Docker

Default container command starts in streamable-http mode on port 8000.

docker run --rm -p 8000:8000 \
  -e CYBERBRO_URL=http://host.docker.internal:5000 \
  ghcr.io/stanfrbd/mcp-cyberbro:latest

To run in stdio mode, a custom Dockerfile is required:

FROM ghcr.io/stanfrbd/mcp-cyberbro:latest
CMD ["mcp-cyberbro", "--transport", "stdio"]

Build and use it:

docker build -t mcp-cyberbro-stdio .
docker run -i --rm -e CYBERBRO_URL=http://host.docker.internal:5000 mcp-cyberbro-stdio

Configuration

Copy .env.example and set at least:

  • CYBERBRO_URL (required)

Supported environment variables:

  • CYBERBRO_URL
  • API_PREFIX (default: api)
  • SSL_VERIFY (true/false)
  • MCP_TRANSPORT (stdio, sse, streamable-http)
  • MCP_HOST
  • MCP_PORT
  • MCP_MOUNT_PATH
  • MCP_SSE_PATH
  • MCP_STREAMABLE_HTTP_PATH

CLI flags are also available and override env values.

MCP Client Integration

You can use this server with Claude Desktop, Claude Code, Cursor, OpenAI-compatible MCP clients, or any other MCP client.

Example config using uvx:

{
  "mcpServers": {
    "cyberbro": {
      "command": "uvx",
      "args": ["mcp-cyberbro"],
      "env": {
        "CYBERBRO_URL": "http://localhost:5000"
      }
    }
  }
}
在 GitHub 查看完整 README

安装

uvx mcp-cyberbro
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "cyberbro": { "command": "uvx", "args": ["mcp-cyberbro"], "env": { "CYBERBRO_URL": "http://localhost:5000" } } } }