Google SecOps MCP server
Project description
This is a personal project.
Chronicle SecOps MCP Server
This is an MCP (Model Context Protocol) server for interacting with Google's Chronicle Security Operations suite. MCP Info
Installing in Claude Desktop
To use this MCP server with Claude Desktop:
-
Install Claude Desktop
-
Open Claude Desktop and select "Settings" from the Claude menu
-
Click on "Developer" in the lefthand bar, then click "Edit Config"
-
Update your
claude_desktop_config.jsonwith the following configuration (replace paths with your actual paths):
{
"mcpServers": {
"secops-mcp": {
"command": "/path/to/your/uv",
"args": [
"--directory",
"/path/to/your/mcp-secops-v3",
"run",
"secops_mcp.py"
],
"env": {
"CHRONICLE_PROJECT_ID": "your-google-cloud-project-id",
"CHRONICLE_CUSTOMER_ID": "your-chronicle-customer-id",
"CHRONICLE_REGION": "us"
}
}
}
}
-
Make sure to update:
- The path to
uv(usewhich uvto find it) - The directory path to where this repository is cloned
- Your Chronicle credentials (project ID, customer ID, and region)
- The path to
-
Save the file and restart Claude Desktop
-
You should now see the hammer icon in the Claude Desktop interface, indicating the MCP server is active
Features
Security Tools
search_security_events: Search for security events in Chronicle with customizable queriesget_security_alerts: Get security alerts from Chroniclelookup_entity: Look up information about an entity (IP, domain, hash)list_security_rules: List security detection rules from Chronicleget_ioc_matches: Get Indicators of Compromise (IoCs) matches from Chronicle
Installation
Installing via Smithery
To install mcp-secops-v3 for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @emeryray2002/mcp-secops-v3 --client claude
Manual Installation
- Install the package:
pip install -e .
- Set up your environment variables:
export CHRONICLE_PROJECT_ID="your-google-cloud-project-id"
export CHRONICLE_CUSTOMER_ID="your-chronicle-customer-id"
export CHRONICLE_REGION="us" # or your region
Requirements
- Python 3.11+
- A Google Cloud account with Chronicle Security Operations enabled
- Proper authentication configured
Usage
Running the MCP Server
python main.py
API Capabilities
The MCP server provides the following capabilities:
- Search Security Events: Search for security events in Chronicle
- Get Security Alerts: Retrieve security alerts
- Lookup Entity: Look up entity information (IP, domain, hash, etc.)
- List Security Rules: List detection rules
- Get IoC Matches: Get Indicators of Compromise matches
Example
See example.py for a complete example of using the MCP server.
Authentication
The server uses Google's authentication. Make sure you have either:
- Set up Application Default Credentials (ADC)
- Set a GOOGLE_APPLICATION_CREDENTIALS environment variable
- Used
gcloud auth application-default login
License
Apache 2.0
Development
The project is structured as follows:
secops_mcp.py: Main MCP server implementationexample.py: Example usage of the MCP server
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file secops_mcp-0.1.2.tar.gz.
File metadata
- Download URL: secops_mcp-0.1.2.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4c4e00b18fa2d68a02cb448ada06f9db7a484a49fe6f66dff5338a9de014335
|
|
| MD5 |
2f41416dc4ee95ff47338d1618328033
|
|
| BLAKE2b-256 |
18c6a64e4c457d230372365f2c36eda17add74dd6b0e80899b117a3c30a4a9a6
|
File details
Details for the file secops_mcp-0.1.2-py3-none-any.whl.
File metadata
- Download URL: secops_mcp-0.1.2-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d558d446e51e6de2ad461fb936ed96ef143d65dd641ad232ed9fcafe434d85b
|
|
| MD5 |
f2f70ee7fe77b0d17236d2b30f453f96
|
|
| BLAKE2b-256 |
e545263249b1564e4a5ab0d66712ed18a76fd8aa2ef32162b33908b027502782
|