Logpoint MCP Server

Logpoint MCP Server

Logpoint MCP Server provides MCP endpoints for Logpoint SIEM, enabling search, incident management, alert rules, and integrations with n8n and Claude for SIEM operations.

Category
访问服务器

README

Logpoint MCP Server

Logpoint Logo

This repository implements production-ready MCP server endpoints for Logpoint SIEM with support for n8n and Claude integrations.

Features

  • POST /getalloweddata for allowed configuration data
  • POST /getsearchlogs to start and fetch search results
  • Incident API endpoints for retrieving, updating, and closing incidents
  • Alert Rule API endpoints with JWT bearer authentication
  • Repo and user-defined list endpoints
  • HTTP and email notification settings endpoints
  • n8n webhook integration endpoint
  • Claude incident summary integration endpoint
  • MCP server (app/mcp_server.py) exposing the incident/search actions, threat intel lookups, MITRE ATT&CK reference, and Jira/email tools as MCP tools for an LLM triage agent (see MCP Server below)

Run locally

  1. Create a Python environment:

    python3 -m venv .venv
    source .venv/bin/activate
    pip install -r requirements.txt
    
  2. Copy env example and customize production settings:

    cp .env.example .env
    
  3. Configure your .env values before starting the server.

  4. Start the server:

    uvicorn app.main:app --host 0.0.0.0 --port 8000 --log-level info
    
  5. Example credentials:

    • username: John
    • secret_key: a1b2c3d4e5f6g7h8i9j0k1

Production and Integration Ready

  • Environment-driven configuration via .env
  • CORS enabled for allowed origins
  • /health status endpoint
  • /integration/n8n/alert for n8n webhooks
  • /integration/claude/incident-summary for Claude prompt-ready incident summaries

Environment variables

The server loads configuration from .env or environment variables using Pydantic.

JWT_SECRET=a1b2c3d4e5f6g7h8i9j0k1
JWT_ALGORITHM=HS256
ALLOWED_ORIGINS=["*"]
ENVIRONMENT=production
ALLOWED_USERS=John:a1b2c3d4e5f6g7h8i9j0k1

Integration examples

n8n webhook payload example:

curl -X POST http://localhost:8000/integration/n8n/alert \
  -H "Content-Type: application/json" \
  -d '{"alert_id":"abc123","severity":"high"}'

Claude incident summary example:

curl -X POST http://localhost:8000/integration/claude/incident-summary \
  -H "Content-Type: application/json" \
  -d '{"incident_id":"abc123","name":"Suspicious login","risk_level":"high","status":"unresolved","assigned_to":"admin"}'

MCP Server

app/mcp_server.py exposes the Guardsix triage actions as MCP tools, so an LLM (Claude/OpenAI via n8n's AI Agent + MCP Client Tool node, or Claude Desktop) can call them directly instead of n8n hardcoding the request sequence.

Tools exposed:

Tool Purpose
get_incidents Fetch incidents in a time range
get_incident_data Fetch correlated log rows for one incident
search_logs / fetch_search_results Start/poll a Guardsix search
add_incident_comment Note an analyst decision (false-positive path)
assign_incident Assign an incident to a user/group
resolve_incident / close_incident / reopen_incident Incident lifecycle actions
get_users List incident users/groups for assignment
lookup_virustotal_tool / lookup_abuseipdb_tool / lookup_misp_tool Threat intel reputation (mocked)
mitre_attack_lookup Ground technique IDs against a local ATT&CK reference
create_jira_ticket_tool Open a Jira case for a confirmed true positive (mocked)
send_email_tool Notify the SOC team (mocked)

Run it:

# stdio - Claude Desktop / MCP CLI clients
python -m app.mcp_server

# SSE - n8n's MCP Client Tool node
python -m app.mcp_server --transport sse

# Streamable HTTP
python -m app.mcp_server --transport streamable-http

Incident/search tools require the same username/secret_key credentials as the REST API (see example credentials above). Threat intel, Jira, and email tools are mocked (app/integrations.py) — swap those function bodies for real VirusTotal/AbuseIPDB/MISP/Jira/SMTP calls once API keys are available.

JWT Token Generator

python token_generator.py --sub admin --scope "user:read alertrules:write logsources:read alertrules:read search:read search:write" --secret a1b2c3d4e5f6g7h8i9j0k1

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选