oshaani MCP Marketplace
Sign in

← Documentation

Google Cloud MCP Cloud

Query Compute Engine, GKE, Cloud Run, Cloud Storage and Cloud Logging in your Google Cloud projects.

2 credits / tool call

Quick start

  1. Add a Google Cloud connection with the settings below, then click Test configuration.
  2. Create an API key for your agent.
  3. Paste the key below, click Test endpoint, and copy the configuration for your platform.
Endpointhttps://market.oshaani.com/gcp (your default connection) or https://market.oshaani.com/gcp/<connection-id>
TransportStreamable HTTP (stateless, JSON responses). MCP protocol versions 2024-11-05 to 2025-11-25 and 2026-07-28.
AuthenticationAuthorization: Bearer <API key>, using a key from the API keys page.

Agent configuration

The default URL uses your organisation's default Google Cloud connection; a URL with an ID pins one connection.
Get a key
The key is filled into the snippets below. It stays in this page and is only sent with the test request.
Runs initialize and tools/list against the endpoint, exactly like an agent. No credits are charged.

Any MCP client that supports remote (Streamable HTTP) servers with custom headers.

{
  "name": "gcp",
  "transport": "streamable-http",
  "url": "https://market.oshaani.com/gcp",
  "headers": {
    "Authorization": "Bearer YOUR_API_KEY"
  }
}

Connection settings

Entered once per connection on market.oshaani.com. Secrets are encrypted and never shown again or sent to agents.

SettingTypeDescription
Service account JSON key
service_account_key required secret
string IAM > Service accounts > Keys > Add key > JSON. Grant the account Viewer and Logs Viewer roles.
Default project ID
project_id
string Defaults to the project of the key
pattern ^[a-z][a-z0-9-]{4,28}[a-z0-9]$
Default region
default_region
string
default "us-central1"
Used by Cloud Run tools
pattern ^[a-z]+-[a-z]+\d+$

Tools (6)

list_instances read-only

List Compute Engine VM instances across all zones

ArgumentTypeDescription
filter string Compute filter, e.g. 'status = RUNNING' or 'labels.env = prod'
max_results integer
default 100

min 1, max 500
project_id string Project ID; defaults to the connection's project
pattern ^[a-z][a-z0-9-]{4,28}[a-z0-9]$

list_gke_clusters read-only

List GKE (Kubernetes) clusters with version, node pools and status

ArgumentTypeDescription
location string
default "-"
Region or zone, or '-' for all
pattern ^[a-z0-9-]+$|^-$
project_id string Project ID; defaults to the connection's project
pattern ^[a-z][a-z0-9-]{4,28}[a-z0-9]$

list_cloud_run_services read-only

List Cloud Run services in a region with their URL and latest revision

ArgumentTypeDescription
region string
pattern ^[a-z]+-[a-z]+\d+$
project_id string Project ID; defaults to the connection's project
pattern ^[a-z][a-z0-9-]{4,28}[a-z0-9]$

list_buckets read-only

List Cloud Storage buckets

ArgumentTypeDescription
project_id string Project ID; defaults to the connection's project
pattern ^[a-z][a-z0-9-]{4,28}[a-z0-9]$

list_objects read-only

List objects in a Cloud Storage bucket under an optional prefix

ArgumentTypeDescription
bucket required string
pattern ^[a-z0-9][a-z0-9._-]{1,220}[a-z0-9]$
prefix string
default ""
max_results integer
default 100

min 1, max 1000

query_logs read-only

Search Cloud Logging entries, newest first

ArgumentTypeDescription
filter string
default "severity>=ERROR"
Logging filter, e.g. 'severity>=ERROR AND resource.type="cloud_run_revision"'
minutes integer
default 60
Look back this many minutes
min 1, max 43200
limit integer
default 100

min 1, max 1000
project_id string Project ID; defaults to the connection's project
pattern ^[a-z][a-z0-9-]{4,28}[a-z0-9]$

Billing & errors

Each successful tool call costs 2 oshaani.com credits. initialize, tools/list, failed calls and timeouts are free.

JSON-RPC codeMeaning
-32054 (HTTP 401)Missing, unknown or revoked API key
-32053 (HTTP 404)No Google Cloud connection configured for your organisation, or the connection ID is wrong
-32055 (HTTP 403)Connection disabled or origin not allowed
-32052 (HTTP 429)Rate limit reached; retry after a minute
-32050Not enough oshaani.com credits for the call
-32051Billing temporarily unavailable; the call was not run

Errors from Google Cloud itself (bad IDs, permissions) come back as tool results with isError: true so the agent can read and correct them. See the Google Cloud API documentation.