mcp-server-google-cloud-logging
About
An MCP server that retrieves logs from Google Cloud Logging using the gcloud CLI. It is designed for AI agents and developers who need to query logs efficiently, reducing data volume by focusing on essential fields. Works with any Google Cloud organization or project.
Details
- Author
- kazuhideoki
- Downloads
- 284
- Categories
- Other
Jump to
- Retrieves logs from Google Cloud Logging via gcloud.
- Returns essential fields: jsonPayload and timestamp by default.
- Optionally includes metadata fields: labels and resource.
- Reduces data volume compared to raw log output.
- Works across organizations and projects.
- Designed for accurate querying by AI agents.
No explicit installation or configuration steps are provided in the README. The server wraps the gcloud logging read command and exposes a tool that accepts a log query. Users must have gcloud installed and authenticated. Details on invoking the tool or setting up the server are not given.
mcp-server-google-cloud-logging
gcloud で Logging からログを取得する
要求
- クエリを正確に行えること
- ある程度そのプロジェクトのログの出し方に依存する -> エージェントが知るべきか?MCP Server で吸収するべきか?
- データ量の削減 生データは大きすぎる。必要なもののみで加工する
- 項目
- jsonPayload: 必須。メインの情報
- timestamp: 必須。ログの生成時刻
- labels: オプション
- resource: オプション project_idがある
- show オプションみたいなのつけて labels などのメターデータを取得できるようにする?
- 任意の organization, project で利用可能
参考
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



