mcp-server-google-logging
@kazuhideoki
关于 mcp-server-google-logging
暂无概览
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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.
其他 分类下的更多 MCP 服务器
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
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!
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
评论