Security Command Center MCP server
Project description
Google Cloud Security Command Center (SCC) MCP Server
This is an MCP (Model Context Protocol) server for interacting with Google Cloud Security Command Center (SCC) and Cloud Asset Inventory (CAI).
Features
Available Tools
-
top_vulnerability_findings(project_id, max_findings=20)- Description: Lists the top ACTIVE, HIGH or CRITICAL severity findings of class VULNERABILITY for a specific project, sorted by Attack Exposure Score (descending). Includes the Attack Exposure score in the output if available. Aids prioritization for remediation.
- Parameters:
project_id(required): The Google Cloud project ID (e.g., 'my-gcp-project').max_findings(optional): The maximum number of findings to return. Defaults to 20.
-
get_finding_remediation(project_id, resource_name=None, category=None, finding_id=None)- Description: Gets the remediation steps (
nextSteps) for a specific finding within a project, along with details of the affected resource fetched from Cloud Asset Inventory (CAI). The finding can be identified either by itsresource_nameandcategory(for ACTIVE findings) or directly by itsfinding_id(regardless of state). - Parameters:
project_id(required): The Google Cloud project ID (e.g., 'my-gcp-project').resource_name(optional): The full resource name associated with the finding (e.g.,//container.googleapis.com/projects/my-project/locations/us-central1/clusters/my-cluster). Required iffinding_idis not provided.category(optional): The category of the finding (e.g.,GKE_SECURITY_BULLETIN). Required iffinding_idis not provided.finding_id(optional): The ID of the finding to search for directly (e.g.,finding123). Required ifresource_nameandcategoryare not provided.
- Description: Gets the remediation steps (
Configuration
MCP Server Configuration
Add the following configuration to your MCP client's settings file:
NOTE: For OSX users, if you used this one-liner to install uv, use the full path to the uv binary for the "command" value below, as uv will not be placed in the system path for Claude to use! For example: /Users/yourusername/.local/bin/uv instead of just uv.
{
"mcpServers": {
"scc-mcp": {
"command": "uv",
"args": [
"--env-file=/path/to/your/env",
"--directory",
"/path/to/the/repo/server/scc",
"run",
"scc_mcp.py"
],
"env": {},
"disabled": false,
"autoApprove": []
}
}
}
Authentication
The server uses Google Cloud's authentication mechanisms. Ensure you have one of the following configured in the environment where the server runs:
- Application Default Credentials (ADC) set up (e.g., via
gcloud auth application-default login). - The
GOOGLE_APPLICATION_CREDENTIALSenvironment variable pointing to a valid service account key file.
Required IAM Permissions
Appropriate IAM permissions are required on the target Google Cloud project(s):
- Security Command Center:
roles/securitycenter.adminViewerorroles/securitycenter.adminEditor - Cloud Asset Inventory:
roles/cloudasset.viewer
License
Apache 2.0
Development
The project is structured as follows:
scc_mcp.py: Main MCP server implementation
Project details
Release history Release notifications | RSS feed
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 scc_mcp-0.1.0.tar.gz.
File metadata
- Download URL: scc_mcp-0.1.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
392b6a4357a1f2d08bfd34983052be8ce6080080edf21194ed4cad2f148b51a6
|
|
| MD5 |
6690bf65add74427edd0e2aae521697b
|
|
| BLAKE2b-256 |
5afe1ff1e7a1aec2f8f32661970eb898ba4a648478d900b532f0155d200d85b9
|
File details
Details for the file scc_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: scc_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4aa51219a1a43d8a932a4f3e9fab0b7ebbd58f378d67b2b8d362de06665c45ae
|
|
| MD5 |
8320fab303aacc424fe3f6b30df4bec6
|
|
| BLAKE2b-256 |
144fb75978bdedcdfc700a9b59e3877a01f0ecf6b83970af69eb23fe5394b2d7
|