1. Conduid
  2. Healthcare
  3. GCP MCP Log Diagnostics
MCP server · Healthcare

GCP MCP Log Diagnostics

Enables diagnosis of Google Cloud Platform logs using Gemini AI via MCP tools, fetching logs from Cloud Logging for issue analysis and root cause identification.

Unclaimed healthcare
34Low

Scored 5 months ago · breakdown

About GCP MCP Log Diagnostics

GCP MCP Log Diagnostics is an MCP server in the Healthcare category: enables diagnosis of Google Cloud Platform logs using Gemini AI via MCP tools, fetching logs from Cloud Logging for issue analysis and root cause identification.

Install

From source
git clone https://github.com/kanhaiworld/gcp_mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about GCP MCP Log Diagnostics

Powered by Claude · Grounded in docs

I know everything about GCP MCP Log Diagnostics. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

GCP MCP Log Diagnostics

This project provides tools for diagnosing Google Cloud Platform (GCP) logs using the Model Context Protocol (MCP) and Google Gemini AI.

Overview

  • diagnose.py: A script that uses Gemini AI to analyze GCP logs fetched via MCP tools. It diagnoses issues, identifies root causes, and suggests fixes.
  • log_mcp_server.py: An MCP server that exposes tools for fetching logs from GCP Cloud Logging.

Prerequisites

  • Python 3.8+
  • Google Cloud Project with appropriate permissions for Cloud Logging
  • Gemini API key

Setup

  1. Clone or download the project files.

  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Set up environment variables in a .env file:

    GEMINI_API_KEY=your_gemini_api_key_here
    

    Ensure your Google Cloud credentials are configured (e.g., via gcloud auth application-default login).

  4. Run the diagnosis:

    python diagnose.py
    

Usage

The diagnose.py script is configured to fetch the last 2 hours of ERROR and CRITICAL logs from Cloud Run and provide a diagnosis. You can modify the query in the script or extend it for other resource types.

Dependencies

  • python-dotenv: For loading environment variables
  • google-generativeai: For interacting with Gemini AI
  • fastmcp: For MCP client and server functionality
  • google-cloud-logging: For accessing GCP Cloud Logging

License

[Add license information if applicable]

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About GCP MCP Log Diagnostics

How do I install GCP MCP Log Diagnostics?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is GCP MCP Log Diagnostics safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is GCP MCP Log Diagnostics still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.