mcp-server-google-logging
@kazuhideoki
About mcp-server-google-logging
No overview available yet
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is mcp-server-google-logging?
mcp-server-google-logging is an MCP server that wraps the gcloud CLI to let AI assistants query Google Cloud Logging. It provides a set of logging operations—such as reading, listing, and managing logs, buckets, sinks, and metrics—using natural language prompts. It requires the gcloud CLI, active authentication, and appropriate IAM permissions.
How to use mcp-server-google-logging?
Run the server with Node.js and specify your GCP project ID:
node -- /path/to/mcp-server-google-logging/dist/index.js --project=<project-id>
The server returns log entries in YAML format, containing the content, resource name, and timestamp by default. You can adjust the log query through the MCP client.
Key features of mcp-server-google-logging
- Read logs with timestamp, severity, and resource filters
- List all logs in a project (gcloud logging logs list)
- Manage log buckets (list, describe, update retention)
- Create, update, and delete log sinks for export
- Manage log-based metrics (list, create, update, delete)
Use cases of mcp-server-google-logging
- Troubleshoot OCPP charging sessions by querying status and transaction logs
- Monitor service activities like reservations and admin actions
- Analyze log-based metrics for monitoring and alert triggers
- Export logs to Cloud Storage, BigQuery, or Pub/Sub via sinks
FAQ from mcp-server-google-logging
What are the prerequisites to use this server?
You need the gcloud CLI installed and authenticated, and your account must have the necessary IAM roles to read logging data.
How does the server query logs?
It executes gcloud logging read with optional filters. The output is always in YAML format, and by default only the content, resource name, and timestamp are returned.
What are the limitations of this server?
It cannot filter logs like SQL SELECT; it uses gcloud's filter syntax. Real-time log tailing and log deletion are not supported.
How do I specify the Google Cloud project?
Pass the project ID using the --project=<project-id> parameter when starting the server.
Is authentication handled automatically?
Yes, as long as you are logged into gcloud (gcloud auth login) and have the required IAM permissions for the project.
More Other MCP servers
ghidraMCP
LaurieWiredMCP Server for Ghidra
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
Blender
ahujasidOpen-source MCP to use Blender with any LLM
Nginx UI
0xJackyYet another WebUI for Nginx
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Comments