# How to connect Google Cloud Logging to Claude

```json
{
  "title": "How to connect Google Cloud Logging to Claude",
  "toolkit": "Google Cloud Logging",
  "toolkit_slug": "google_cloud_logging",
  "framework": "Claude Cowork",
  "framework_slug": "claude-cowork",
  "url": "https://composio.dev/toolkits/google_cloud_logging/framework/claude-cowork",
  "markdown_url": "https://composio.dev/toolkits/google_cloud_logging/framework/claude-cowork.md",
  "updated_at": "2026-11-28T05:34:01.339Z"
}
```

## Introduction

Claude is Anthropic's AI assistant, available on the web, in the desktop app, and on mobile. Cowork is its agent for knowledge work, and it runs on all of those surfaces too. Connected to your apps, Claude can work with your files and services to accomplish complex tasks on your behalf.
This guide walks you through the easiest and most secure way to connect your Google Cloud Logging account to Claude via Composio Connect, enabling it to find production errors from the last hour, summarize warning logs for your service, review recent audit logs for unusual activity, and more such actions on your behalf without compromising your account security.
Setup is the same on Claude Web, Desktop, and Cowork, and you only need to do it once. The connector is tied to your account, so it's available in all three.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/google_cloud_logging).

## Also integrate Google Cloud Logging with

- [ChatGPT](https://composio.dev/toolkits/google_cloud_logging/framework/chatgpt)

## Connect Google Cloud Logging to Claude Cowork

### Connecting Google Cloud Logging to Claude Web, Desktop, and Cowork
Two ways to add the Composio connector. Pick whichever you prefer.
### 1. Add with one click
Click the button. Claude opens with the Composio connector filled in. Click Add, then go to step 2.
[Add to Claude](https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Composio&connectorUrl=https%3A%2F%2Fconnect.composio.dev%2Fmcp)
### Add manually
In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.
Click Add custom connector and paste in the Composio MCP server URL:

```bash
https://connect.composio.dev/mcp
```

## What is the Google Cloud Logging MCP server, and what's possible with it?

The Google Cloud Logging MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Google Cloud Logging account. It provides structured and secure access to your logs, log storage, metrics, sinks, exclusions, views, and logging settings, so your agent can search log entries, inspect logging resources, create and manage log configurations, and monitor long-running operations on your behalf.
- Search and review logs: Instruct your agent to find matching log entries, list available logs, and repeatedly check recent entries for ongoing activity.
- Manage log storage: Have your agent list, inspect, create, and delete log buckets, or copy matching log entries to Cloud Storage.
- Configure monitoring: Let the agent create, inspect, list, and delete logs-based metrics, exclusions, and sinks for your Google Cloud resources.
- Organize log access: Direct your agent to create, inspect, and delete log views, saved queries, and log scopes, including access policies for log views.
- Handle logging operations and settings: Instruct your agent to check logging settings, CMEK settings, available locations, and the status or cancellation of long-running operations.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `GOOGLE_CLOUD_LOGGING_CANCEL_OPERATION` | Cancel Operation | Start best-effort cancellation of a Cloud Logging long-running operation using explicit parent, location, and operation IDs. |
| `GOOGLE_CLOUD_LOGGING_COPY_LOG_ENTRIES` | Copy Log Entries | Start a long-running copy of matching entries from a Cloud Logging log bucket to a Cloud Storage bucket. |
| `GOOGLE_CLOUD_LOGGING_CREATE_EXCLUSION` | Create Exclusion | Create one exclusion under an explicit Google Cloud parent resource. |
| `GOOGLE_CLOUD_LOGGING_CREATE_LOG_BUCKET` | Create Log Bucket | Create a Cloud Logging bucket under an explicit parent and location. |
| `GOOGLE_CLOUD_LOGGING_CREATE_LOG_BUCKET_ASYNC` | Create Log Bucket Asynchronously | Start asynchronous creation of a Cloud Logging bucket under an explicit Google Cloud parent and location. |
| `GOOGLE_CLOUD_LOGGING_CREATE_LOG_LINK` | Create Log Link | Start asynchronous creation of a BigQuery-linked dataset for an explicit Cloud Logging bucket. |
| `GOOGLE_CLOUD_LOGGING_CREATE_LOG_METRIC` | Create Log Metric | Create a logs-based metric in an explicit Google Cloud project. |
| `GOOGLE_CLOUD_LOGGING_CREATE_LOG_SCOPE` | Create Log Scope | Create one log scope under an explicit Google Cloud parent and location. |
| `GOOGLE_CLOUD_LOGGING_CREATE_LOG_VIEW` | Create Log View | Create one view over log entries in an explicit Cloud Logging bucket. |
| `GOOGLE_CLOUD_LOGGING_CREATE_SAVED_QUERY` | Create Saved Query | Create one saved query under an explicit Google Cloud parent and location. |
| `GOOGLE_CLOUD_LOGGING_CREATE_SINK` | Create Sink | Create a Cloud Logging sink under an explicit parent resource. |
| `GOOGLE_CLOUD_LOGGING_DELETE_EXCLUSION` | Delete Exclusion | Delete one Cloud Logging exclusion identified by explicit parent and exclusion IDs. |
| `GOOGLE_CLOUD_LOGGING_DELETE_LOG` | Delete Log | Delete all entries in one log from the global _Default Log Bucket under an explicit project, folder, organization, or billing account. |
| `GOOGLE_CLOUD_LOGGING_DELETE_LOG_BUCKET` | Delete Log Bucket | Delete one Cloud Logging log bucket using explicit parent, location, and bucket identifiers. The bucket enters DELETE_REQUESTED state and is permanently purged after the provider's recovery period. |
| `GOOGLE_CLOUD_LOGGING_DELETE_LOG_LINK` | Delete Log Link | Start asynchronous deletion of one Cloud Logging log link and its corresponding BigQuery linked dataset using explicit resource IDs. |
| `GOOGLE_CLOUD_LOGGING_DELETE_LOG_METRIC` | Delete Log Metric | Delete a project log-based metric using explicit project and metric IDs. |
| `GOOGLE_CLOUD_LOGGING_DELETE_LOG_SCOPE` | Delete Log Scope | Delete one Cloud Logging log scope using explicit parent, location, and log scope identifiers. |
| `GOOGLE_CLOUD_LOGGING_DELETE_LOG_VIEW` | Delete Log View | Delete one Cloud Logging log view using explicit parent, location, bucket, and view identifiers. |
| `GOOGLE_CLOUD_LOGGING_DELETE_SAVED_QUERY` | Delete Saved Query | Delete one Cloud Logging saved query using explicit parent, location, and saved query identifiers. |
| `GOOGLE_CLOUD_LOGGING_DELETE_SINK` | Delete Sink | Delete one Cloud Logging sink under an explicit project, folder, organization, or billing account. If the sink has a unique writer identity, Google also deletes that service account. |
| `GOOGLE_CLOUD_LOGGING_GET_CMEK_SETTINGS` | Get CMEK Settings | Get Cloud Logging CMEK settings for an explicit parent resource. |
| `GOOGLE_CLOUD_LOGGING_GET_EXCLUSION` | Get Exclusion | Get one Cloud Logging exclusion by its explicit parent and resource IDs. |
| `GOOGLE_CLOUD_LOGGING_GET_LOCATION` | Get Location | Get one Logging API location under an explicit Google Cloud parent. |
| `GOOGLE_CLOUD_LOGGING_GET_LOG_BUCKET` | Get Log Bucket | Get one Cloud Logging log bucket using explicit parent, location, and bucket identifiers. |
| `GOOGLE_CLOUD_LOGGING_GET_LOG_LINK` | Get Log Link | Get one Cloud Logging log link using explicit parent and resource IDs. |
| `GOOGLE_CLOUD_LOGGING_GET_LOG_METRIC` | Get Log Metric | Get a project log-based metric using explicit project and metric IDs. |
| `GOOGLE_CLOUD_LOGGING_GET_LOG_SCOPE` | Get Log Scope | Get one log scope by its explicit parent and resource IDs. |
| `GOOGLE_CLOUD_LOGGING_GET_LOG_VIEW` | Get Log View | Get one Cloud Logging log view by its explicit parent and resource IDs. |
| `GOOGLE_CLOUD_LOGGING_GET_LOG_VIEW_IAM_POLICY` | Get Log View IAM Policy | Get the IAM access policy for an explicit Cloud Logging log view. |
| `GOOGLE_CLOUD_LOGGING_GET_OPERATION` | Get Operation | Get the latest state of a Cloud Logging long-running operation using explicit parent, location, and operation IDs. |
| `GOOGLE_CLOUD_LOGGING_GET_SAVED_QUERY` | Get Saved Query | Get one saved query by its explicit parent and resource IDs. |
| `GOOGLE_CLOUD_LOGGING_GET_SETTINGS` | Get Settings | Get Cloud Logging settings for an explicit Google Cloud parent resource. |
| `GOOGLE_CLOUD_LOGGING_GET_SINK` | Get Sink | Get one Cloud Logging sink by its explicit parent and sink IDs. |
| `GOOGLE_CLOUD_LOGGING_LIST_EXCLUSIONS` | List Exclusions | List one page of exclusions on the _Default sink for an explicit Google Cloud project, folder, organization, or billing account. |
| `GOOGLE_CLOUD_LOGGING_LIST_LOCATIONS` | List Locations | List one page of Cloud Logging API locations under an explicit Google Cloud project, folder, organization, or billing account. |
| `GOOGLE_CLOUD_LOGGING_LIST_LOG_BUCKETS` | List Log Buckets | List one page of Cloud Logging buckets in an explicit project, folder, organization, or billing account location. |
| `GOOGLE_CLOUD_LOGGING_LIST_LOG_ENTRIES` | List Or Poll Log Entries | List one page of matching Cloud Logging entries, or repeatedly call the same entries.list query for bounded tail-like behavior without using entries.tail. |
| `GOOGLE_CLOUD_LOGGING_LIST_LOG_LINKS` | List Log Links | List one page of Cloud Logging links for an explicit project, folder, organization, or billing account log bucket. |
| `GOOGLE_CLOUD_LOGGING_LIST_LOG_METRICS` | List Log Metrics | List one page of logs-based metrics in an explicit Google Cloud project. |
| `GOOGLE_CLOUD_LOGGING_LIST_LOGS` | List Logs | List one page of Cloud Logging log names in an explicit Google Cloud project, folder, organization, or billing account. |
| `GOOGLE_CLOUD_LOGGING_LIST_LOG_SCOPES` | List Log Scopes | List one page of Cloud Logging log scopes in an explicit project, folder, or organization location. |
| `GOOGLE_CLOUD_LOGGING_LIST_LOG_VIEWS` | List Log Views | List one page of Cloud Logging views for an explicit project, folder, organization, or billing account log bucket. |
| `GOOGLE_CLOUD_LOGGING_LIST_MONITORED_RESOURCE_DESCRIPTORS` | List Monitored Resource Descriptors | List one page of monitored resource descriptor types available to Google Cloud Logging. |
| `GOOGLE_CLOUD_LOGGING_LIST_OPERATIONS` | List Operations | List one page of Cloud Logging long-running operations for an explicit Google Cloud parent and location. |
| `GOOGLE_CLOUD_LOGGING_LIST_RECENT_QUERIES` | List Recent Queries | List one page of queries run by the current user in the last approximately 30 days for an explicit Google Cloud parent and Logging location. |
| `GOOGLE_CLOUD_LOGGING_LIST_SAVED_QUERIES` | List Saved Queries | List one page of Cloud Logging saved queries in an explicit project, folder, organization, or billing account location. |
| `GOOGLE_CLOUD_LOGGING_LIST_SINKS` | List Sinks | List one page of Cloud Logging sinks for an explicit project, folder, organization, or billing account. |
| `GOOGLE_CLOUD_LOGGING_LIST_VIEW_LOGS` | List View Logs | List one page of Cloud Logging log names visible through an explicit log view. |
| `GOOGLE_CLOUD_LOGGING_PATCH_SINK` | Patch Sink | Patch selected fields of one Cloud Logging sink under an explicit project, folder, organization, or billing account. |
| `GOOGLE_CLOUD_LOGGING_REPLACE_SINK` | Replace Sink | Replace a Cloud Logging sink under an explicit Google Cloud parent. |
| `GOOGLE_CLOUD_LOGGING_SET_LOG_VIEW_IAM_POLICY` | Set Log View IAM Policy | Replace the IAM policy on one Cloud Logging log view under an explicit project, folder, or organization resource. |
| `GOOGLE_CLOUD_LOGGING_TAIL_LOG_ENTRIES` | Tail Log Entries With Bounded List Polling | Safely emulate the documented Cloud Logging entries.tail operation with finite entries.list polling from a receive timestamp captured when the action starts. Mercury's buffered unary transport cannot consume the bidirectional tail stream or preserve partial stream messages, so this action never dispatches entries:tail or returns older matching history. It returns matching entries in ascending timestamp order, a page cursor, and whether the bounded polling window expired. |
| `GOOGLE_CLOUD_LOGGING_TEST_LOG_VIEW_IAM_PERMISSIONS` | Test Log View IAM Permissions | Return the requested IAM permissions the caller has on an explicit Cloud Logging log view. Do not use this fail-open API for authorization checks. |
| `GOOGLE_CLOUD_LOGGING_UNDELETE_LOG_BUCKET` | Undelete Log Bucket | Restore a Cloud Logging bucket within its seven-day deletion grace period using explicit parent, location, and bucket IDs. |
| `GOOGLE_CLOUD_LOGGING_UPDATE_CMEK_SETTINGS` | Update CMEK Settings | Patch Cloud Logging CMEK settings for a Google Cloud organization. |
| `GOOGLE_CLOUD_LOGGING_UPDATE_EXCLUSION` | Update Exclusion | Patch selected fields of one Cloud Logging exclusion under an explicit Google Cloud parent resource. |
| `GOOGLE_CLOUD_LOGGING_UPDATE_LOG_BUCKET` | Update Log Bucket | Synchronously patch selected fields of a Cloud Logging bucket under an explicit parent and location. |
| `GOOGLE_CLOUD_LOGGING_UPDATE_LOG_BUCKET_ASYNC` | Update Log Bucket Asynchronously | Start an asynchronous update of selected fields on a Cloud Logging bucket under an explicit parent and location. |
| `GOOGLE_CLOUD_LOGGING_UPDATE_LOG_METRIC` | Update Log Metric | Update a project log-based metric using explicit project and metric IDs. |
| `GOOGLE_CLOUD_LOGGING_UPDATE_LOG_SCOPE` | Update Log Scope | Patch selected fields of one Cloud Logging log scope under an explicit project, folder, or organization. |
| `GOOGLE_CLOUD_LOGGING_UPDATE_LOG_VIEW` | Update Log View | Patch selected fields of one Cloud Logging log view under an explicit parent, location, and bucket. |
| `GOOGLE_CLOUD_LOGGING_UPDATE_SAVED_QUERY` | Update Saved Query | Patch selected fields of one Cloud Logging saved query under an explicit parent and location; update_mask controls which supplied values change. |
| `GOOGLE_CLOUD_LOGGING_UPDATE_SETTINGS` | Update Settings | Patch Cloud Logging settings for an explicit folder or organization. |
| `GOOGLE_CLOUD_LOGGING_WRITE_LOG_ENTRIES` | Write Log Entries | Write a batch of log entries to Google Cloud Logging. |

## Supported Triggers

None listed.

## Troubleshooting

### 1. Why does Claude not use the Composio connector for Google Cloud Logging?

The connector can show as connected, but Claude must use it in each Google Cloud Logging conversation.
- Click + at the lower left of the chat, or type /.
- Hover Connectors.
- Turn on Composio.
- Ask Claude to connect to Google Cloud Logging again.

### 2. Why does Claude show an MCP server error before Google Cloud Logging connects?

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for Google Cloud Logging.
- Check that the connector URL is https://connect.composio.dev/mcp.
- Connectors run from Anthropic's cloud, so your device network is usually not the problem.
- Add the connector again from Customize > Connectors, then ask Claude to connect Google Cloud Logging.
- If it fails again, send the error and the ofid_ reference id to support@composio.dev.

### 3. Why does the Google Cloud Logging authorization link not work?

The Composio connector is one server. Your Google Cloud Logging account connects separately when Claude asks for it.
- If the browser does not open, or the link expires, ask Claude to retry the Google Cloud Logging connection.
- Composio creates a fresh Google Cloud Logging authorization link.
- Open that link in your browser and finish the Google Cloud Logging sign-in.

### 4. Why do Google Cloud Logging actions fail after they worked before?

The Google Cloud Logging connection can expire or lose permission.
- Ask Claude to inspect the Google Cloud Logging connection.
- If the connection is unhealthy, disconnect it when Claude prompts you.
- Reconnect the Google Cloud Logging account and retry the action.
- If Claude shows a permission prompt, approve it before Claude changes data in Google Cloud Logging.
- If the action still fails with a permission error, check that the connected account has that permission in Google Cloud Logging itself.

### 5. How do I switch to a different Google Cloud Logging account?

Claude can manage the Google Cloud Logging connection for you.
- Ask Claude to disconnect or delete the current Google Cloud Logging account.
- Ask Claude to connect Google Cloud Logging again.
- Open the new Composio authorization link for Google Cloud Logging.
- Sign in with the other Google Cloud Logging account in the browser.
- After the account connects, ask Claude to retry the Google Cloud Logging task.

### 6. Why is my Google Cloud Logging connection missing in Claude Desktop or on a Team plan?

The connector belongs to your Claude account, so your Google Cloud Logging connection works in Claude Web, Desktop, and Cowork.
- In Claude Desktop, open Customize > Connectors.
- Next to Composio, click ⋮ and click Clear cache.
- If Google Cloud Logging tools still do not appear, click ⋮, disconnect, remove the connector, and add it again.
- On Team or Enterprise, an Owner or Primary Owner must enable the connector before you can connect Google Cloud Logging.

## Creating MCP Server - Stand-alone vs Composio SDK

The Google Cloud Logging MCP server connects Claude Web, Desktop, and Cowork to your Google Cloud Logging account through Composio. Once connected, Claude can use the available Google Cloud Logging tools and triggers to complete tasks on your behalf.

## Complete Code

None listed.

## How to build Google Cloud Logging MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/google_cloud_logging/framework/chatgpt)

## Related Toolkits

- [Supabase](https://composio.dev/toolkits/supabase) - Supabase is an open-source backend platform offering scalable Postgres databases, authentication, storage, and real-time APIs. It lets developers build modern apps without managing infrastructure.
- [Codeinterpreter](https://composio.dev/toolkits/codeinterpreter) - Codeinterpreter is a Python-based coding environment with built-in data analysis and visualization. It lets you instantly run scripts, plot results, and prototype solutions inside supported platforms.
- [GitHub](https://composio.dev/toolkits/github) - GitHub is a code hosting platform for version control and collaborative software development. It streamlines project management, code review, and team workflows in one place.
- [1password](https://composio.dev/toolkits/_1password) - 1Password is a password manager and digital vault for storing logins, secrets, notes, and secure documents. It helps individuals and teams protect credentials, share access safely, and reduce password risk.
- [21st MCP](https://composio.dev/toolkits/21st_mcp) - 21st MCP is a hosted design resource service for React/shadcn components, themes, templates, and SVG logos. It gives teams a fast way to discover, organize, and reuse polished interface assets.
- [Ably](https://composio.dev/toolkits/ably) - Ably is a real-time messaging platform for live chat and data sync in modern apps. It offers global scale and rock-solid reliability for seamless, instant experiences.
- [Abuselpdb](https://composio.dev/toolkits/abuselpdb) - Abuselpdb is a central database for reporting and checking IPs linked to malicious online activity. Use it to quickly identify and report suspicious or abusive IP addresses.
- [Agent37](https://composio.dev/toolkits/agent37) - Agent37 is a control API for managed agent sandboxes, templates, networking, and execution. It gives teams built-in scheduling, observability, budgets, and workspace administration.
- [Aikido Security](https://composio.dev/toolkits/aikido) - Aikido Security is a security platform for workspace, code, cloud, and application protection. It helps teams find vulnerabilities, manage compliance, and reduce security risk.
- [Alchemy](https://composio.dev/toolkits/alchemy) - Alchemy is a blockchain development platform offering APIs and tools for Ethereum apps. It simplifies building and scaling Web3 projects with robust infrastructure.
- [Algolia](https://composio.dev/toolkits/algolia) - Algolia is a hosted search API that powers lightning-fast, relevant search experiences for web and mobile apps. It helps developers deliver instant, typo-tolerant, and scalable search without complex infrastructure.
- [Anakin](https://composio.dev/toolkits/anakin_io) - Anakin is a web automation platform offering scraping, crawling, search, and browser automation. Use it to extract structured data, automate site tasks, and monitor web changes reliably.
- [Anchor browser](https://composio.dev/toolkits/anchor_browser) - Anchor browser is a developer platform for AI-powered web automation. It transforms complex browser actions into easy API endpoints for streamlined web interaction.
- [Anchor Browser MCP](https://composio.dev/toolkits/anchor_browser_mcp) - Anchor Browser MCP is a hosted browser automation service for running cloud browser sessions and web tasks. It provides secure, reusable browser identities and managed authentication for reliable agent workflows.
- [AnyAPI](https://composio.dev/toolkits/anyapi) - AnyAPI is a marketplace of utility APIs for validation, currency conversion, holidays, documents, and web data. It brings common application workflows together through one practical API platform.
- [Apiflash](https://composio.dev/toolkits/apiflash) - Apiflash is a website screenshot API for programmatically capturing web pages. It delivers high-quality screenshots on demand for automation, monitoring, or reporting.
- [Apiverve](https://composio.dev/toolkits/apiverve) - Apiverve delivers a suite of powerful APIs that simplify integration for developers. It's designed for reliability and scalability so you can build faster, smarter applications without the integration headache.
- [APIVerve MCP](https://composio.dev/toolkits/apiverve_mcp) - APIVerve MCP is a hosted utility API server for lookups, validation, conversion, and data enrichment. It gives developers one MCP connection to access APIVerve's utility APIs.
- [Appcircle](https://composio.dev/toolkits/appcircle) - Appcircle is an enterprise-grade mobile CI/CD platform for building, testing, and publishing mobile apps. It streamlines mobile DevOps so teams ship faster and with more confidence.
- [Appdrag](https://composio.dev/toolkits/appdrag) - Appdrag is a cloud platform for building websites, APIs, and databases with drag-and-drop tools and code editing. It accelerates development and iteration by combining hosting, database management, and low-code features in one place.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Google Cloud Logging MCP?

With a standalone Google Cloud Logging MCP server, the agents and LLMs can only access a fixed set of Google Cloud Logging tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Google Cloud Logging and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Claude Cowork?

Yes, you can. Claude Cowork fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Google Cloud Logging tools.

### Can I manage the permissions and scopes for Google Cloud Logging while using Tool Router?

Yes, absolutely. You can configure which Google Cloud Logging scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Google Cloud Logging data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
