GCP MCP Log Diagnostics
GCP MCP 로그 진단
이 프로젝트는 Model Context Protocol(MCP)과 Google Gemini AI를 사용하여 Google Cloud Platform(GCP) 로그를 진단하기 위한 도구를 제공합니다.
개요
diagnose.py: MCP 도구를 통해 가져온 GCP 로그를 Gemini AI를 사용하여 분석하는 스크립트입니다. 문제를 진단하고, 근본 원인을 파악하며, 해결책을 제안합니다.log_mcp_server.py: GCP Cloud Logging에서 로그를 가져오기 위한 도구를 노출하는 MCP 서버입니다.
Related MCP server: GCP MCP Server
사전 요구 사항
Python 3.8+
Cloud Logging에 대한 적절한 권한이 있는 Google Cloud 프로젝트
Gemini API 키
설정
프로젝트 파일을 복제하거나 다운로드합니다.
의존성을 설치합니다:
pip install -r requirements.txt.env파일에 환경 변수를 설정합니다:GEMINI_API_KEY=your_gemini_api_key_hereGoogle Cloud 자격 증명이 구성되어 있는지 확인하십시오(예:
gcloud auth application-default login사용).진단을 실행합니다:
python diagnose.py
사용법
diagnose.py 스크립트는 Cloud Run에서 최근 2시간 동안의 ERROR 및 CRITICAL 로그를 가져와 진단을 제공하도록 구성되어 있습니다. 스크립트 내의 쿼리를 수정하거나 다른 리소스 유형으로 확장할 수 있습니다.
의존성
python-dotenv: 환경 변수 로드용google-generativeai: Gemini AI 상호작용용fastmcp: MCP 클라이언트 및 서버 기능용google-cloud-logging: GCP Cloud Logging 액세스용
라이선스
[해당되는 경우 라이선스 정보를 추가하세요]
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAllows developers and AI Agents to query Google Cloud Logging using natural language, translating queries into Google Cloud Logging Query Language (LQL) with Vertex AI Gemini 2.5.1
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Google Cloud Platform services for log analysis and root cause investigation. Provides tools to query Cloud Logging, detect error patterns, and perform real-time log streaming across multiple GCP projects.MIT
- AlicenseCqualityDmaintenanceEnables interaction with Google Cloud services including billing cost analysis, log querying, and metrics monitoring through natural language commands. Provides comprehensive tools for managing GCP resources, analyzing costs, detecting anomalies, and retrieving operational insights.401Apache 2.0
- AlicenseNot gradedqualityFmaintenanceEnables AI assistants to query, search, and analyze logs across Google Cloud Platform projects. It supports advanced filtering by severity or resource type and provides detailed log entry retrieval and project listing capabilities.2411MIT
Related MCP Connectors
Remote MCP for Gemini upgrade evals, prompt regressions, output diffs, and eval receipts.
A paid remote MCP for AI SDK data query MCP, built to return verdicts, receipts, usage logs, and aud
Remote MCP for MCP tool deprecation receipt, structured receipts, audit logs, and reviewer-ready evi
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kanhaiworld/gcp_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server