Skip to content

Read Only by Default

Anna Sbrodova edited this page Nov 19, 2026 · 1 revision

Read-Only by Default

Tip

Aura cannot change anything in your Google Cloud projects unless you turn that on. Out of the box every tool only reads. It never creates, modifies, or deletes resources, and it never reads secret values.

This page answers the question most teams ask first: is it safe to point an AI assistant at our GCP projects?


The short answer

Question Answer
Can the AI change my infrastructure? No, not by default. The tools that can change resources are not even registered unless the server runs with MUTATIONS_ENABLED=true.
And if I enable changes? Every change still waits for your approval in your MCP client. The AI can propose and preview a change, but only you can approve it.
Does Aura read my secrets? No. Secret Manager integration returns metadata only (names, labels, timestamps, rotation). Secret values are never fetched.
Does Aura store my data? No durable store. Results may be cached briefly in process memory; nothing is written to server storage. Your AI client and model provider handle what they receive according to their own policies.
Can it run up a bill? Reads use standard GCP APIs and quotas. Chargeable BigQuery cost analysis is off until you enable it, and every query is dry-run and size-capped.
Can it touch the wrong project? Every call is validated against the environments you configured; one environment cannot operate on another project.

What Aura does out of the box

All 71 tools registered by default are read-only. They list, inspect, correlate, and explain:

  • inventory and configuration (Cloud Run, GKE, Functions, Pub/Sub, networking, data stores, and more);
  • metrics, logs, traces, alerts, and SLOs;
  • IAM bindings, service accounts, and security posture;
  • architecture graphs, topology, and environment drift;
  • Recommender signals and the Aura Score.

Each tool declares itself read-only in the MCP protocol (readOnlyHint: true), so MCP clients can show that too.


Four independent layers

Even if one layer were misconfigured, the others still hold.

Layer Default What it does
1. Tools are not registered ✅ On Without MUTATIONS_ENABLED=true, the change tools do not exist on the server. The AI never sees them, so it cannot ask for them.
2. Safety layer refuses changes ✅ On Inside the server, every change method is refused before any GCP call when mutations are disabled. (Only SAFETY_ENABLED=false, allowed for local stdio development, removes this layer.)
3. Read-only IAM ✅ On scripts/setup-iam.sh grants read and inspection roles and never primitive roles (Owner, Editor). Write roles (roles/container.admin, roles/run.admin) are granted only with MUTATION_ROLES=true. Without them, Google Cloud itself rejects any write.
4. Your approval for every change ✅ On When changes are enabled, each one is previewed and executed only after you approve it in your MCP client. See [[Security and Safety

Check it yourself

  1. Startup log. The server prints read-only mode: mutation tools are not registered.
  2. Tool list. With the default modules your MCP client shows 71 tools. gcp_gke_scale_deployment and gcp_cloudrun_update_traffic are absent.
  3. Permissions. Ask "Which permissions does Aura have on this project?". gcp_iam_test_permissions checks only the read permissions the enabled modules need; no write permissions are probed.
  4. IAM. Look at the service account in the Cloud Console: with the default setup script it holds no admin or editor roles.

Turning changes on (optional)

Only two infrastructure changes exist: resizing a GKE node pool and updating a Cloud Run traffic split. The optional recommendation export can also write rows to a BigQuery table. To allow them:

MUTATIONS_ENABLED=true GCP_PROJECT_ID=my-project ./aura-tracker-gcp

or in ~/.aura-tracker.yaml:

mutations_enabled: true

Then grant write roles to the server's identity, ideally scoped with IAM Conditions:

PROJECT_ID=my-project MUTATION_ROLES=true bash scripts/setup-iam.sh

With changes enabled:

  • the AI asks for a change, the server previews it, and your MCP client asks you to approve or decline;
  • nothing changes unless you approve. Each approval is single-use, expires after 10 minutes, and is refused if the resource changed since the preview;
  • clients that cannot show the approval prompt are refused, never allowed through silently.

Related pages

Clone this wiki locally