MCP Server Google Logging
M

MCP Server Google Logging

An MCP service that retrieves Google Cloud project logs via the gcloud CLI, supports conditional queries for OCPP and service - related logs, and returns results in YAML format
2 points
7.4K

What is the MCP Google Logging Server?

This is an intermediate service specifically designed for querying and analyzing log data on the Google Cloud platform. It encapsulates the gcloud logging commands and provides a unified log query interface for different business scenarios such as YS4B, Muji, and detached houses.

How to use the MCP Google Logging Server?

Start the service by running the server with Node.js and specifying the Google Cloud project ID. After the service is started, you can query various business logs through the standard interface.

Applicable scenarios

Suitable for scenarios that require monitoring and analyzing business logs such as charging pile status (OCPP), service reservations, and administrator operations. Particularly suitable for centralized log query across multiple GCP projects.

Main features

Log query
Supports querying logs through the gcloud logging read command and can be filtered by conditions such as resource type, timestamp, and log level.
Business context support
Built - in special handling for business logs such as OCPP charging piles and reservation services to simplify business queries.
YAML format output
Query results are returned in a readable YAML format by default, facilitating front - end processing.
Advantages
Unify and encapsulate complex gcloud logging commands to simplify log queries.
Built - in business knowledge to directly query business logs such as OCPP charging status.
Support cross - project queries for convenient centralized management of logs from multiple GCP projects.
Limitations
Does not support complex filtering conditions similar to SQL.
Cannot monitor log changes in real - time (does not support the tail function).
Requires pre - configuration of the gcloud CLI and corresponding IAM permissions.

How to use

Prepare the environment
Ensure that the gcloud CLI is installed and logged in, and the current user has IAM permissions to access the logs.
Start the service
Run the server with Node.js and specify the GCP project ID to be queried.
Query logs
Send a query request through the service interface to obtain formatted log data.

Usage examples

Query charging pile status changes
Obtain the status change records of a specific charging pile (chargePointId) and analyze the charging time.
Monitor service exceptions
Query all service logs at the ERROR level in the last 1 hour.

Frequently Asked Questions

Why can't I query some logs?
How to query logs of a specific business type?

Related resources

gcloud logging official documentation
Official guide for gcloud CLI log query and writing.
Google Cloud IAM permission configuration
How to configure the IAM permissions required to access logs.

Installation

Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

K
Kubernetes
An MCP server based on Kubernetes for managing and operating Kubernetes clusters
TypeScript
9.7K
5 points
E
Edgeone Pages MCP Server
EdgeOne Pages MCP is a service that quickly deploys HTML content to EdgeOne Pages via the MCP protocol and obtains a public URL
TypeScript
15.7K
4.8 points
A
Awslabs Cost Analysis MCP Server
The AWS MCP Servers are a set of dedicated servers based on the Model Context Protocol, offering various AWS-related functions, including document retrieval, knowledge base query, CDK best practices, cost analysis, image generation, etc., aiming to enhance the integration of AI applications with AWS services through a standardized protocol.
Python
12.2K
5 points
2
2344
Opik is an open-source LLM evaluation framework that supports tracking, evaluating, and monitoring LLM applications, helping developers build more efficient and cost-effective LLM systems.
TypeScript
17.2K
5 points
M
MCP K8s Go
An MCP server based on Golang for connecting to Kubernetes clusters, providing resource query and operation functions.
Go
10.1K
4 points
S
Solon
Solon is an efficient, open, and eco - friendly Java enterprise application development framework that supports all - scenario development. It features high performance, low memory consumption, fast startup, and small - volume packaging. It is compatible with Java 8 to Java 24 and the GraalVM native runtime.
Java
13.2K
5 points
K
Kubectl MCP Server
The Kubectl MCP Tool is a Kubernetes interaction tool based on the Model Context Protocol (MCP), allowing AI assistants to interact with Kubernetes clusters using natural language.
Python
8.0K
4.5 points
K
Kubernetes Manager
A Kubernetes cluster management server based on the MCP protocol, supporting interaction with the Kubernetes cluster through the command line or chat interface, providing functions such as resource management and Helm chart operations.
TypeScript
12.3K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
16.6K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
14.8K
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
24.6K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
44.0K
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
19.2K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
44.5K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
14.8K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
30.3K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase