Skip to main content

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 its resource_name and category (for ACTIVE findings) or directly by its finding_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 if finding_id is not provided.
      • category (optional): The category of the finding (e.g., GKE_SECURITY_BULLETIN). Required if finding_id is not provided.
      • finding_id (optional): The ID of the finding to search for directly (e.g., finding123). Required if resource_name and category are not provided.

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:

  1. Application Default Credentials (ADC) set up (e.g., via gcloud auth application-default login).
  2. The GOOGLE_APPLICATION_CREDENTIALS environment 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.adminViewer or roles/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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scc_mcp-0.1.1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scc_mcp-0.1.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file scc_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: scc_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.16

File hashes

Hashes for scc_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 28922ddbe6d4c6fb2334db3f2c8d067071d865db8ca63a255dd5839fcdb78b60
MD5 2b305eb840ef3ef5ad4e54543dbc7930
BLAKE2b-256 766dad0b003ea9bd3c91ea248ed5e5c79633b7accd7ecbbb5aab363be401441c

See more details on using hashes here.

File details

Details for the file scc_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: scc_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.16

File hashes

Hashes for scc_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c5bc5cc91785bf615d65c4abe05ea84edad14289ef2468e0ddc9e00446a775a3
MD5 7438b7d343faf1881f88d8428e16900d
BLAKE2b-256 2ad4d7f61f49513850a02ff75c70aee98c4e1ac71870c233ce2aa282a971c934

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page