mcp-server-google-cloud-logging

by kazuhideoki

284 downloads
Not rated
GitHub

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

- 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 で利用可能

参考

公式 gcloud logging read

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.