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
Metadata
Release files for scc-mcp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| scc_mcp-0.1.1.tar.gz | 7.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scc_mcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.6 kB
Release files / scc_mcp-0.1.1.tar.gz
| Download URL | scc_mcp-0.1.1.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28922ddbe6d4c6fb2334db3f2c8d067071d865db8ca63a255dd5839fcdb78b60
|
|
BLAKE2b-256 checksum How to use checksums |
766dad0b003ea9bd3c91ea248ed5e5c79633b7accd7ecbbb5aab363be401441c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / scc_mcp-0.1.1-py3-none-any.whl
| Download URL | scc_mcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c5bc5cc91785bf615d65c4abe05ea84edad14289ef2468e0ddc9e00446a775a3
|
|
BLAKE2b-256 checksum How to use checksums |
2ad4d7f61f49513850a02ff75c70aee98c4e1ac71870c233ce2aa282a971c934
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Security for scc-mcp 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.