SecOps-MCP-Server

SecOps-MCP-Server

Enterprise MCP server for Google SecOps (Chronicle) SIEM/SOAR, enabling alert triage, UDM telemetry search, YARA-L detection rule management, log ingestion, and parser administration via Streamable HTTP.

Category
Visit Server

README

Google SecOps (Chronicle) MCP Server (Streamable HTTP)

Enterprise Model Context Protocol (MCP) server providing Google SecOps (Chronicle) SIEM/SOAR telemetry, alert triage, Universal Data Model (UDM) search, and YARA-L detection rule management using Streamable HTTP (streamable-http) transport—the current MCP specification standard.


🌟 Overview: Streamable HTTP Transport

Streamable HTTP is the standard remote transport for Model Context Protocol (MCP) servers:

  • Unified Endpoint (/mcp): Single endpoint for client-to-server messaging, tool discovery, and bi-directional communication.
  • Production Scalability: Seamlessly deployed to stateless and containerized platforms like Google Cloud Run.
  • Container Health Probes: Built-in /healthz liveness and readiness probes.
  • Enterprise Security: Native Google Cloud IAM authentication (roles/run.invoker) with OAuth2/OIDC token support.

🛠️ Implemented SecOps Tools (All 29 Official Tools)

1. Security Investigation & Alert Tools

  • search_security_events: Searches SecOps events via natural language or UDM queries.
  • get_security_alerts: Retrieves alerts filtered by severity (CRITICAL, HIGH, etc.) and status.
  • get_security_alert_by_id: Fetches detailed alert metadata and MITRE ATT&CK mapping.
  • do_update_security_alert: Updates triage status and appends analyst notes.
  • lookup_entity: 360-degree risk telemetry profile for IP, Domain, Hostname, User, or Hash.
  • get_ioc_matches: Retrieves Indicators of Compromise matches over a lookback window.
  • get_threat_intel: Query SecOps SecLM threat intelligence insights.

2. Detection Rules Management

  • list_security_rules: Lists custom and curated YARA-L detection rules.
  • search_security_rules: Searches detection rules using regex patterns or keywords.
  • get_rule_detections: Retrieves detections triggered by a specific rule.
  • list_rule_errors: Lists execution or compilation errors for rules.
  • create_rule: Creates new YARA-L 2.0 detection rules.
  • test_rule: Backtests detection rules against historical telemetry.
  • validate_rule: Validates syntax and structure of YARA-L definitions.

3. Log Ingestion Tools

  • ingest_raw_log: Ingests raw log payloads (JSON, XML, CEF, syslog).
  • ingest_udm_events: Ingests structured Universal Data Model events.
  • get_available_log_types: Enumerate supported log types (Cloud Audit, EDR, Okta, Zscaler, etc.).

4. Parser Management Tools

  • create_parser: Creates custom log parsers (CBN syntax).
  • get_parser: Retrieves parser configuration and filtering code.
  • activate_parser: Activates parser for live ingestion processing.
  • deactivate_parser: Deactivates an active parser.
  • run_parser_against_sample_logs: Tests parser rules against sample log strings.

5. Data Tables & Reference Lists

  • create_data_table / add_rows_to_data_table / list_data_table_rows / delete_data_table_rows
  • create_reference_list / get_reference_list / update_reference_list

🚀 Quick Start: Run Locally

1. Install Dependencies

pip install -r requirements.txt

2. Start the Server

export PORT=8080
export HOST=0.0.0.0
python server.py

The Streamable HTTP server is now accessible at:

  • Streamable HTTP Endpoint: http://localhost:8080/mcp
  • Health Probe: http://localhost:8080/healthz

☁️ One-Click Deployment to Google Cloud Run

Deploy directly using the automated deployment script:

chmod +x deploy.sh
./deploy.sh

Deployment Steps Executed:

  1. [Step 1/5] Custom Variables: Loads .env file and merges custom variables.
  2. [Step 2/5] Enable APIs: Enables Cloud Run, Cloud Build, and Chronicle APIs.
  3. [Step 3/5] Cloud Run Deploy: Deploys container with Streamable HTTP transport.
  4. [Step 4/5] IAM Policy Bindings: Grants roles/run.invoker to agent runner SA and active user.
  5. [Step 5/5] Verification: Checks /healthz probe and prints endpoint URLs.

🧪 Testing and Inspection

Option A: Run Test Suite

python3 test_client.py

Option B: Using the MCP Inspector UI

Launch the official Model Context Protocol Inspector:

npx -y @modelcontextprotocol/inspector

Connect via HTTP transport to http://localhost:8080/mcp.

Option C: Connect via Google ADK / GenAI Agent

Set the environment variable in your agent configuration:

export SECOPS_MCP_URL="https://<your-cloud-run-service-url>/mcp"

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured