Google Cloud Platform MCP Server for Cloudflare Workers
Test Google Cloud tools directly in your browser. Select a tool and provide inputs to see the results.
Create a free account to test Google Cloud tools interactively. No credit card required.
gcloud_list_datasetsList BigQuery datasets in a project. Args: - projectId: GCP project ID Returns: List of datasets with their location and metadata.
gcloud_get_datasetGet details of a specific BigQuery dataset. Args: - projectId: GCP project ID - datasetId: Dataset ID Returns: Detailed dataset information.
gcloud_create_datasetCreate a new BigQuery dataset. Args: - projectId: GCP project ID - datasetId: ID for the new dataset - location: Location for the dataset (e.g., US, EU) Returns: Created dataset details.
gcloud_delete_datasetDelete a BigQuery dataset. Args: - projectId: GCP project ID - datasetId: Dataset ID to delete - deleteContents: Whether to delete all tables in the dataset (default: false) Returns: Confirmation of deletion.
gcloud_list_tablesList tables in a BigQuery dataset. Args: - projectId: GCP project ID - datasetId: Dataset ID Returns: List of tables with their type and row count.
gcloud_get_tableGet details of a specific BigQuery table. Args: - projectId: GCP project ID - datasetId: Dataset ID - tableId: Table ID Returns: Detailed table information including schema and row count.
gcloud_bigquery_queryRun a SQL query in BigQuery. Args: - projectId: GCP project ID - query: SQL query to execute - useLegacySql: Use legacy SQL syntax (default: false) Returns: Query results with schema and rows.
gcloud_list_instancesList Compute Engine VM instances in a zone. Args: - projectId: GCP project ID - zone: Compute zone (e.g., us-central1-a) Returns: List of VM instances with their status, machine type, and network info.
gcloud_get_instanceGet details of a specific Compute Engine VM instance. Args: - projectId: GCP project ID - zone: Compute zone - instanceName: Name of the instance Returns: Detailed instance information including status, machine type, disks, and network.
gcloud_start_instanceStart a stopped Compute Engine VM instance. Args: - projectId: GCP project ID - zone: Compute zone - instanceName: Name of the instance to start Returns: Operation details for the start request.
gcloud_get_firewallGet details of a specific firewall rule. Args: - projectId: GCP project ID - firewallName: Name of the firewall rule Returns: Detailed firewall rule information.
gcloud_stop_instanceStop a running Compute Engine VM instance. Args: - projectId: GCP project ID - zone: Compute zone - instanceName: Name of the instance to stop Returns: Operation details for the stop request.
gcloud_reset_instanceReset (reboot) a Compute Engine VM instance. Args: - projectId: GCP project ID - zone: Compute zone - instanceName: Name of the instance to reset Returns: Operation details for the reset request.
gcloud_delete_instanceDelete a Compute Engine VM instance. Args: - projectId: GCP project ID - zone: Compute zone - instanceName: Name of the instance to delete Returns: Operation details for the delete request.
gcloud_list_disksList Compute Engine persistent disks in a zone. Args: - projectId: GCP project ID - zone: Compute zone Returns: List of disks with their size, type, and status.
gcloud_get_diskGet details of a specific Compute Engine disk. Args: - projectId: GCP project ID - zone: Compute zone - diskName: Name of the disk Returns: Detailed disk information.
gcloud_create_diskCreate a new Compute Engine persistent disk. Args: - projectId: GCP project ID - zone: Compute zone - name: Name for the new disk - sizeGb: Size in GB - type: Disk type (e.g., pd-standard, pd-ssd) - sourceImage: Source image for the disk (optional) Returns: Operation details for the create request.
gcloud_delete_diskDelete a Compute Engine persistent disk. Args: - projectId: GCP project ID - zone: Compute zone - diskName: Name of the disk to delete Returns: Operation details for the delete request.
gcloud_resize_diskResize a Compute Engine persistent disk (can only increase size). Args: - projectId: GCP project ID - zone: Compute zone - diskName: Name of the disk - sizeGb: New size in GB (must be larger than current) Returns: Operation details for the resize request.
gcloud_list_networksList VPC networks in a project. Args: - projectId: GCP project ID Returns: List of networks with their configuration.
gcloud_get_networkGet details of a specific VPC network. Args: - projectId: GCP project ID - networkName: Name of the network Returns: Detailed network information.
gcloud_create_networkCreate a new VPC network. Args: - projectId: GCP project ID - name: Name for the new network - autoCreateSubnetworks: Whether to auto-create subnets (default: true) Returns: Operation details for the create request.
gcloud_delete_networkDelete a VPC network. Args: - projectId: GCP project ID - networkName: Name of the network to delete Returns: Operation details for the delete request.
gcloud_list_firewallsList firewall rules in a project. Args: - projectId: GCP project ID Returns: List of firewall rules with their configuration.
gcloud_delete_firewallDelete a firewall rule. Args: - projectId: GCP project ID - firewallName: Name of the firewall rule to delete Returns: Operation details for the delete request.
gcloud_list_managed_zonesList Cloud DNS managed zones in a project. Args: - projectId: GCP project ID Returns: List of managed zones with their DNS name and configuration.
gcloud_get_managed_zoneGet details of a specific Cloud DNS managed zone. Args: - projectId: GCP project ID - zoneName: Name of the managed zone Returns: Managed zone details including DNS name and visibility.
gcloud_create_managed_zoneCreate a new Cloud DNS managed zone. Args: - projectId: GCP project ID - name: Name for the managed zone - dnsName: DNS name (e.g., example.com.) - description: Description of the zone - visibility: Zone visibility (public or private) Returns: Created managed zone details.
gcloud_delete_managed_zoneDelete a Cloud DNS managed zone. Zone must be empty (no records except NS and SOA). Args: - projectId: GCP project ID - zoneName: Name of the managed zone to delete Returns: Confirmation of deletion.
gcloud_list_resource_record_setsList DNS resource record sets in a managed zone. Args: - projectId: GCP project ID - zoneName: Name of the managed zone Returns: List of DNS records with their type, TTL, and data.
gcloud_create_resource_record_setCreate a DNS resource record set. Args: - projectId: GCP project ID - zoneName: Name of the managed zone - name: Record name (e.g., www.example.com.) - type: Record type (A, AAAA, CNAME, MX, TXT, etc.) - ttl: Time to live in seconds - rrdatas: Array of record data values Returns: Created resource record set.
gcloud_delete_resource_record_setDelete a DNS resource record set. Args: - projectId: GCP project ID - zoneName: Name of the managed zone - name: Record name to delete - type: Record type Returns: Confirmation of deletion.
gcloud_list_functionsList Cloud Functions in a location. Args: - projectId: GCP project ID - location: Location (e.g., us-central1) Returns: List of functions with their state, runtime, and endpoint.
gcloud_get_functionGet details of a specific Cloud Function. Args: - projectId: GCP project ID - location: Location - functionName: Name of the function Returns: Detailed function information including runtime, trigger, and endpoint.
gcloud_delete_functionDelete a Cloud Function. Args: - projectId: GCP project ID - location: Location - functionName: Name of the function to delete Returns: Operation details for the delete request.
gcloud_list_cloud_run_servicesList Cloud Run services in a location. Args: - projectId: GCP project ID - location: Location (e.g., us-central1) Returns: List of services with their URL and status.
gcloud_get_cloud_run_serviceGet details of a specific Cloud Run service. Args: - projectId: GCP project ID - location: Location - serviceName: Name of the service Returns: Detailed service information including URL, conditions, and labels.
gcloud_delete_cloud_run_serviceDelete a Cloud Run service. Args: - projectId: GCP project ID - location: Location - serviceName: Name of the service to delete Returns: Operation details for the delete request.
gcloud_list_clustersList GKE clusters in a location. Args: - projectId: GCP project ID - location: Location (e.g., us-central1 or us-central1-a, use '-' for all) Returns: List of clusters with their status, version, and endpoint.
gcloud_get_clusterGet details of a specific GKE cluster. Args: - projectId: GCP project ID - location: Location - clusterName: Name of the cluster Returns: Detailed cluster information including version, endpoint, and node pools.
gcloud_delete_clusterDelete a GKE cluster. Args: - projectId: GCP project ID - location: Location - clusterName: Name of the cluster to delete Returns: Operation details for the delete request.
gcloud_list_node_poolsList node pools in a GKE cluster. Args: - projectId: GCP project ID - location: Location - clusterName: Name of the cluster Returns: List of node pools with their configuration and autoscaling settings.
gcloud_get_node_poolGet details of a specific node pool in a GKE cluster. Args: - projectId: GCP project ID - location: Location - clusterName: Name of the cluster - nodePoolName: Name of the node pool Returns: Node pool details including configuration and autoscaling.
gcloud_list_service_accountsList service accounts in a project. Args: - projectId: GCP project ID Returns: List of service accounts with their email and status.
gcloud_get_service_accountGet details of a specific service account. Args: - projectId: GCP project ID - email: Service account email Returns: Service account details.
gcloud_create_service_accountCreate a new service account. Args: - projectId: GCP project ID - accountId: ID for the service account (used in email) - displayName: Display name for the service account Returns: Created service account details.
gcloud_delete_service_accountDelete a service account. Args: - projectId: GCP project ID - email: Service account email to delete Returns: Confirmation of deletion.
gcloud_get_project_iam_policyGet the IAM policy for a project. Args: - projectId: GCP project ID Returns: IAM policy with bindings showing roles and members.
gcloud_set_project_iam_policySet the IAM policy for a project. Warning: This replaces the entire policy. Args: - projectId: GCP project ID - bindings: Array of role bindings (role and members) Returns: Updated IAM policy.
gcloud_list_rolesList IAM roles. Can list predefined roles or custom project roles. Args: - projectId: GCP project ID (optional, omit for predefined roles) Returns: List of roles with their permissions.
gcloud_list_log_entriesList log entries from Cloud Logging. Args: - projectId: GCP project ID - filter: Optional filter expression (e.g., 'severity >= ERROR') - pageSize: Number of entries to return (default: 100) Returns: List of log entries with their timestamp, severity, and payload.
gcloud_write_log_entryWrite a log entry to Cloud Logging. Args: - projectId: GCP project ID - logName: Name of the log - severity: Log severity (DEFAULT, DEBUG, INFO, NOTICE, WARNING, ERROR, CRITICAL, ALERT, EMERGENCY) - message: Log message (text payload) - labels: Optional labels for the entry Returns: Confirmation of write.
gcloud_write_log_jsonWrite a JSON log entry to Cloud Logging. Args: - projectId: GCP project ID - logName: Name of the log - severity: Log severity - jsonPayload: JSON payload for the log entry - labels: Optional labels for the entry Returns: Confirmation of write.
gcloud_list_logsList available logs in a project. Args: - projectId: GCP project ID Returns: List of log names.
gcloud_list_topicsList Pub/Sub topics in a project. Args: - projectId: GCP project ID Returns: List of topics.
gcloud_get_topicGet details of a specific Pub/Sub topic. Args: - projectId: GCP project ID - topicName: Name of the topic Returns: Topic details.
gcloud_create_topicCreate a new Pub/Sub topic. Args: - projectId: GCP project ID - topicName: Name for the new topic Returns: Created topic details.
gcloud_delete_topicDelete a Pub/Sub topic. Args: - projectId: GCP project ID - topicName: Name of the topic to delete Returns: Confirmation of deletion.
gcloud_publish_messagePublish a message to a Pub/Sub topic. Args: - projectId: GCP project ID - topicName: Name of the topic - data: Message data (will be base64 encoded) - attributes: Optional message attributes (key-value pairs) Returns: Published message ID.
gcloud_list_subscriptionsList Pub/Sub subscriptions in a project. Args: - projectId: GCP project ID Returns: List of subscriptions with their configuration.
gcloud_get_subscriptionGet details of a specific Pub/Sub subscription. Args: - projectId: GCP project ID - subscriptionName: Name of the subscription Returns: Subscription details including topic and configuration.
gcloud_create_subscriptionCreate a new Pub/Sub subscription. Args: - projectId: GCP project ID - subscriptionName: Name for the new subscription - topicName: Name of the topic to subscribe to Returns: Created subscription details.
gcloud_delete_subscriptionDelete a Pub/Sub subscription. Args: - projectId: GCP project ID - subscriptionName: Name of the subscription to delete Returns: Confirmation of deletion.
gcloud_list_databasesList databases in a Cloud SQL instance. Args: - projectId: GCP project ID - instanceName: Name of the SQL instance Returns: List of databases in the instance.
gcloud_pull_messagesPull messages from a Pub/Sub subscription. Args: - projectId: GCP project ID - subscriptionName: Name of the subscription - maxMessages: Maximum number of messages to pull (default: 10) Returns: List of received messages with their data and ack IDs.
gcloud_acknowledge_messagesAcknowledge messages from a Pub/Sub subscription. Args: - projectId: GCP project ID - subscriptionName: Name of the subscription - ackIds: List of acknowledgment IDs from pulled messages Returns: Confirmation of acknowledgment.
gcloud_list_secretsList secrets in a project. Args: - projectId: GCP project ID Returns: List of secrets (without their values).
gcloud_get_secretGet metadata of a specific secret (not the value). Args: - projectId: GCP project ID - secretName: Name of the secret Returns: Secret metadata including replication config and labels.
gcloud_create_secretCreate a new secret (without a value). Args: - projectId: GCP project ID - secretId: ID for the new secret - automatic: Use automatic replication (default: true) Returns: Created secret metadata.
gcloud_delete_secretDelete a secret and all its versions. Args: - projectId: GCP project ID - secretName: Name of the secret to delete Returns: Confirmation of deletion.
gcloud_list_secret_versionsList versions of a secret. Args: - projectId: GCP project ID - secretName: Name of the secret Returns: List of secret versions with their state.
gcloud_access_secret_versionAccess the value of a secret version. Args: - projectId: GCP project ID - secretName: Name of the secret - version: Version to access (default: 'latest') Returns: Secret value (decoded from base64).
gcloud_add_secret_versionAdd a new version to a secret. Args: - projectId: GCP project ID - secretName: Name of the secret - payload: Secret value to store Returns: Created version details.
gcloud_list_sql_instancesList Cloud SQL instances in a project. Args: - projectId: GCP project ID Returns: List of SQL instances with their configuration and status.
gcloud_get_sql_instanceGet details of a specific Cloud SQL instance. Args: - projectId: GCP project ID - instanceName: Name of the instance Returns: Detailed instance information including IP addresses and settings.
gcloud_delete_sql_instanceDelete a Cloud SQL instance. Args: - projectId: GCP project ID - instanceName: Name of the instance to delete Returns: Operation details for the delete request.
gcloud_restart_sql_instanceRestart a Cloud SQL instance. Args: - projectId: GCP project ID - instanceName: Name of the instance to restart Returns: Operation details for the restart request.
gcloud_get_databaseGet details of a specific database in a Cloud SQL instance. Args: - projectId: GCP project ID - instanceName: Name of the SQL instance - databaseName: Name of the database Returns: Database details including charset and collation.
gcloud_create_databaseCreate a new database in a Cloud SQL instance. Args: - projectId: GCP project ID - instanceName: Name of the SQL instance - databaseName: Name for the new database Returns: Operation details for the create request.
gcloud_delete_databaseDelete a database from a Cloud SQL instance. Args: - projectId: GCP project ID - instanceName: Name of the SQL instance - databaseName: Name of the database to delete Returns: Operation details for the delete request.
gcloud_list_bucketsList Cloud Storage buckets in a project. Args: - projectId: GCP project ID Returns: List of buckets with their location and storage class.
gcloud_get_bucketGet details of a specific Cloud Storage bucket. Args: - bucketName: Name of the bucket Returns: Detailed bucket information including location and storage class.
gcloud_create_bucketCreate a new Cloud Storage bucket. Args: - projectId: GCP project ID - name: Name for the new bucket (must be globally unique) - location: Location for the bucket (e.g., US, EU, us-central1) - storageClass: Storage class (STANDARD, NEARLINE, COLDLINE, ARCHIVE) Returns: Created bucket details.
gcloud_delete_bucketDelete a Cloud Storage bucket. Bucket must be empty. Args: - bucketName: Name of the bucket to delete Returns: Confirmation of deletion.
gcloud_list_objectsList objects in a Cloud Storage bucket. Args: - bucketName: Name of the bucket - prefix: Filter objects by prefix (optional) - maxResults: Maximum number of results (optional) Returns: List of objects with their size and content type.
gcloud_get_objectGet metadata of a specific object in Cloud Storage. Args: - bucketName: Name of the bucket - objectName: Name of the object (full path) Returns: Object metadata including size, content type, and timestamps.
gcloud_delete_objectDelete an object from Cloud Storage. Args: - bucketName: Name of the bucket - objectName: Name of the object to delete Returns: Confirmation of deletion.
gcloud_copy_objectCopy an object within or between Cloud Storage buckets. Args: - sourceBucket: Source bucket name - sourceObject: Source object name - destBucket: Destination bucket name - destObject: Destination object name Returns: Copied object metadata.
gcloud_list_datasets{
"projectId": "example_projectId"
}gcloud_get_dataset{
"datasetId": "example_datasetId",
"projectId": "example_projectId"
}gcloud_create_dataset{
"location": "example_location",
"datasetId": "example_datasetId",
"projectId": "example_projectId"
}