About mcp-server-google-cloud-logging
An MCP server for querying and retrieving logs from Google Cloud Logging through gcloud. It is intended for workflows that need project logs, with an emphasis on precise queries and limiting returned data to selected fields.
Key features
- 01Query logs through gcloud Logging
- 02Extract jsonPayload and timestamps
- 03Optionally include labels and resource metadata
Use cases
- 01Retrieve Google Cloud logs by criteria
- 02Inspect project logs in an Agent workflow
MCP support
The MCP server exposes Google Cloud Logging queries to MCP clients. It returns log payloads and timestamps, with optional labels or resource metadata.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEmcp-server-google-cloud-logging
gcloud で Logging からログを取得する
要求
- クエリを正確に行えること
- ある程度そのプロジェクトのログの出し方に依存する -> エージェントが知るべきか?MCP Server で吸収するべきか?
- データ量の削減 生データは大きすぎる。必要なもののみで加工する
- 項目
- jsonPayload: 必須。メインの情報
- timestamp: 必須。ログの生成時刻
- labels: オプション
- resource: オプション project_idがある
- show オプションみたいなのつけて labels などのメターデータを取得できるようにする?
- 項目
- 任意の organization, project で利用可能
参考
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.