aura-tracker-gcp
Health Warn
- License — License: Apache-2.0
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Pass
- Code scan — Scanned 11 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
The self-hosted GCP intelligence engine that explains architecture, investigates failures, and predicts change blast radius—with every conclusion tied to inspectable evidence.
Aura Tracker GCP
The open-source intelligence layer for Google Cloud.
Ask a question in plain English. Aura investigates live GCP inventory, metrics, logs, IAM, topology, recommendations, and billing data—then returns a prioritized answer with evidence.
Aura is an open-source, model-agnostic GCP intelligence engine. It combines live cloud access with deterministic investigation workflows for incidents, security, architecture, environment drift, and cost.
Codex, Claude Desktop, Claude Code, Cowork, and other AI clients connect to Aura through Model Context Protocol (MCP).
73 tools across 30 modules · 10 context resources · multi-environment routing · preview-before-change safety
![]()
Install in five minutes · Try real questions · Read the wiki · View releases
If Aura saves you a round of console-hopping, consider starring the repository. It helps other GCP engineers discover the project.
Try asking Aura
These are starting points, not a fixed command list. Ask naturally, add the environment when it matters, and follow up on anything Aura finds.
GCP problems rarely live inside one product page. A failed scheduled workload may require Cloud Scheduler, Cloud Run Jobs, execution history, and Logging. A cost increase may require billing exports, Asset Inventory, Monitoring, and Recommender.
Aura follows those relationships for you.
| Ask | Aura investigates | You get |
|---|---|---|
| “Are my scheduled Cloud Run jobs actually succeeding?” | Scheduler → Cloud Run Jobs → executions → logs | The failing job, failed runs, root cause, and what is still healthy |
| “Why did preprod cost more last week?” | Correct environment → billing export → service/SKU/resource deltas → assets → recommendations | Ranked cost drivers, new resources, rate/usage effects, and savings opportunities |
| “Is this project secure?” | IAM inheritance and deny policies → service accounts → secrets metadata → public endpoints → firewalls → GKE identity | A severity-ranked audit, security score, remediation, and explicit coverage gaps |
| “What changed between dev and preprod?” | Symmetric collection across supported services | Field-level drift without silently treating either environment as the baseline |
| “Show me how this system is connected.” | Runtime inventory → topology → dependencies | Mermaid, Graphviz DOT, JSON, or rendered SVG architecture output |
| “What is unhealthy in dev right now, and what should I investigate first?” | Resource health → metrics → recommendations → Aura Score | A worst-first project triage with evidence |
| “Where are our monitoring blind spots?” | Runtime inventory → metrics → logs → alerts → SLO coverage | Unmonitored workloads and concrete observability gaps |
| “Which workloads depend on this Pub/Sub topic?” | Pub/Sub → Eventarc → Cloud Run and Functions → serverless graph | Producers, consumers, triggers, and the surrounding event path |
Why engineers use Aura
It reasons across services
Aura is not a collection of thin list wrappers. Its higher-level workflows correlate evidence across GKE, Cloud Run, Scheduler, Eventarc, Pub/Sub, Monitoring, Logging, IAM, Cloud SQL, networking, billing, and more.
It starts with the problem, not the product page
Ask naturally. You do not need to know the tool name, API filter, resource URI, or which GCP console page contains the next clue.
It understands environments
Configure aliases such as dev, preprod, and prod, choose one default, and address any environment explicitly. Aura uses aliases in responses so project IDs do not need to leak into model context.
It explains spend—not only totals
The opt-in cost engine compares complete calendar windows, reconciles cost deltas, finds new billable resources, separates usage and rate effects, checks traffic evidence, and adds idle-resource recommendations. Each environment can route to its own billing export and BigQuery query project.
It is safe to explore
71 of the 73 default tools are read-only. The two infrastructure-changing tools—GKE node-pool scaling and Cloud Run traffic updates—use expiring, single-use preview plans when safety is enabled. Secret Manager integration reads metadata only; secret values are never accessed.
It stays yours
The engine is Apache-2.0 licensed, uses your Application Default Credentials, and can run locally over stdio or as a protected team service over SSE. Choose the model and MCP client that fit your workflow.
Quick start
1. Install
Homebrew is the fastest path on macOS and Linux:
brew install --cask asbrodova/tap/aura-tracker-gcp
You can also download a binary from the latest release, install with Go, or run the published container.
go install github.com/asbrodova/aura-tracker-gcp/cmd/aura-tracker-gcp@latest
2. Authenticate
Aura uses Google Cloud Application Default Credentials. It does not need a credential embedded in the MCP configuration.
gcloud auth application-default login
For teams, prefer service-account impersonation, Workload Identity, or an attached service account. The service-account setup guide provides least-privilege roles by module.
3. Add Aura to your MCP client
Find the installed binary:
which aura-tracker-gcp
Use that exact path in your client configuration. On an Apple Silicon Mac it is normally /opt/homebrew/bin/aura-tracker-gcp.
{
"mcpServers": {
"aura-tracker-gcp": {
"command": "/opt/homebrew/bin/aura-tracker-gcp",
"env": {
"GCP_PROJECT_ID": "your-gcp-project-id"
}
}
}
}
Common configuration locations:
- Codex app, CLI, and IDE extension:
~/.codex/config.tomlor project-scoped.codex/config.toml - Claude Desktop on macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Claude Code:
.claude/settings.jsonor~/.claude/settings.json - Other clients: point the MCP stdio server at the Aura binary
For Codex, you can add Aura directly from the terminal:
codex mcp add aura-tracker-gcp \
--env GCP_PROJECT_ID=your-gcp-project-id \
-- /opt/homebrew/bin/aura-tracker-gcp
See the official Codex MCP setup for app, CLI, IDE, and config.toml options.
Restart the client after saving the file.
4. Ask one useful question
Start with something real:
Check whether my scheduled Cloud Run jobs are actually succeeding.
Or ask for a wider view:
Give me a quick Aura check for dev. Show me what is healthy, what is not, and what I should look at first.
Aura will use the default full tool surface. You only need --modules when you intentionally want to reduce client context or limit GCP connections.
[!IMPORTANT]
Aura’s Recommender integration is on at runtime by default, but that does not enable the Google Cloud Recommender API or grant IAM access. Enablerecommender.googleapis.comand grantroles/recommender.viewerseparately in every configured project. See Recommender setup.
macOS Gatekeeper
If macOS blocks the downloaded binary on first run, use System Settings → Privacy & Security → Allow Anyway, or run:
xattr -d com.apple.quarantine "$(which aura-tracker-gcp)"
Then restart the MCP client.
More questions to try
Copy one into your connected AI client, or use it as the beginning of a deeper investigation. These are deliberately written like real engineering questions, not API calls.
Reliability and incident response
Production is failing. Correlate recent deployments, 5xx errors, latency, logs, dependencies, and infrastructure changes. Rank the likely causes and show the evidence.
Are any GKE clusters or node pools showing bottlenecks, version drift, or autoscaling problems?
Which Pub/Sub subscriptions are building backlog, and what downstream services consume them?
Check whether my scheduled Cloud Run jobs are actually succeeding.
Give me a quick health check for dev. Show what is healthy, what is not, and the three things I should investigate first.
What changed shortly before latency and 5xx errors increased?
Find workloads that have no useful alerts, uptime checks, or SLO coverage.
Security and access
Audit dev for the most important security gaps. Prioritize what I should fix first and tell me what you could not verify.
Which services are publicly reachable, and is that exposure consistent with IAM and firewall configuration?
What can the current identity inspect in this project, and which Aura checks will fail because of missing permissions?
Which service accounts have user-managed keys or unexpectedly broad access?
Trace how a public request could reach this service through networking and IAM.
Check GKE identity configuration for risky workload-to-service-account mappings.
Cost and efficiency
Why did GCP costs increase in preprod during the last seven complete days? Show the biggest drivers and evidence.
Which resources appeared for the first time this month, and how much did they cost?
Find idle or over-provisioned resources and estimate the available monthly savings.
Compare dev and preprod cost by service, SKU, and resource. Explain the largest differences.
Which Recommender findings could save the most money, and which ones need validation before acting?
Are BigQuery workloads showing expensive query patterns or optimization opportunities?
Architecture and drift
Compare dev and preprod. Show only differences that could cause incidents or unexpected cost.
Generate a Mermaid architecture diagram for the serverless request path from Eventarc through Cloud Run and Pub/Sub.
Show the dependencies around this Cloud Run service, including data stores, queues, secrets, and networking.
Trace the full event path from this Pub/Sub topic to every Eventarc trigger, Cloud Run service, and function.
Inventory the databases in preprod and show which runtimes appear to depend on each one.
Which resources are missing owner, environment, or cost-center labels?
Platform inventory and delivery
What is deployed in this project across GKE, Cloud Run, Functions, workflows, jobs, and data stores?
Show me outdated GKE versions, risky node-pool configuration, and workload placement problems.
Review Artifact Registry and Cloud Build for supply-chain or artifact-hygiene gaps.
Which enabled Google Cloud APIs appear relevant to Aura checks, and where will permissions or disabled APIs limit the investigation?
Multi-environment GCP intelligence
For teams, put project selection in ~/.aura-tracker.yaml instead of duplicating MCP server definitions:
environments:
- project_id: my-company-dev
alias: dev
default: true
- project_id: my-company-preprod
alias: preprod
The behavior is predictable:
- “Check Cloud Run errors” uses
dev, because it is the default. - “Check Cloud Run errors in preprod” uses the preprod project.
- “Compare dev and preprod” performs one symmetric drift comparison.
- Results, errors, resources, prompts, and diagrams use aliases instead of configured project IDs.
- Aliases are case-insensitive; configured project IDs are also accepted as selectors.
Multi-environment collection covers BigQuery, Cloud Run, Cloud SQL, data stores, Eventarc, Cloud Functions, GKE clusters and workloads, IAM service accounts, Monitoring, networking, Pub/Sub, Scheduler, Secret Manager, Storage, supply chain, Cloud Tasks, VPC Access, and Workflows.
Read the full environment configuration and drift detection guides.
Cost reasoning for dev, preprod, and prod
Cost reasoning is opt-in because it executes chargeable BigQuery queries against the Cloud Billing detailed usage export. Aura dry-runs every statement first, enforces a maximum-bytes-billed limit, and caches results for 15 minutes.
Each environment can use a separate export:
environments:
- project_id: my-company-dev
alias: dev
default: true
- project_id: my-company-preprod
alias: preprod
cost_reasoning:
enabled: true
timezone: UTC
history_days: 90
max_bytes_billed: 5368709120
sources:
- environments: [dev]
query_project_id: finops-dev
export_project_id: billing-dev
dataset: cloud_billing
- environments: [preprod]
query_project_id: finops-preprod
export_project_id: billing-preprod
dataset: cloud_billing
query_project_id owns the BigQuery query jobs and their query charges. It may be the same project as dev, preprod, or a central FinOps project. export_project_id contains the detailed billing-export dataset.
One central export is also supported: assign environments: [dev, preprod] to one source. Aura still filters billing rows by the selected workload project, so results never silently mix environments.
If the question does not name an environment, Aura analyzes the default (dev above) and says so. If the question names preprod, Aura selects the preprod project and its mapped billing source and labels the answer as preprod. It never falls back to another environment’s billing source.
See Cost Reasoning for billing export setup, IAM, attribution limits, query bounds, and complete configuration examples.
What Aura covers
| Intelligence area | Capabilities |
|---|---|
| Health and incidents | Production diagnosis, Aura Score, GKE bottlenecks, Cloud Run health and jobs, logs, metrics, traces, alerting, uptime checks, SLOs, and observability coverage |
| Security | Project security posture, inherited IAM and deny policies, service accounts and keys, public endpoints, firewalls, Workload Identity mappings, secrets metadata, and permission testing |
| Architecture | Cross-service topology, serverless event graph, architecture export, scoped Mermaid/Graphviz/SVG diagrams, GKE workloads and mesh, load balancers, API Gateway, VPC, subnets, NEGs, and PSC |
| Cost | Recommender signals, composite health/efficiency scores, detailed billing-export reasoning, new-resource confirmation, traffic correlation, and BigQuery optimization prompts |
| Environment control | Aliases, default routing, project-ID masking, symmetric drift detection, and per-environment cost-source routing |
| Platform inventory | Cloud Functions, Eventarc, Scheduler, Workflows, Tasks, Pub/Sub, Cloud SQL, Storage, Spanner, AlloyDB, Firestore, Memorystore, Artifact Registry, Cloud Build, and Service Directory |
| Safe changes | Preview-and-confirm GKE node-pool scaling and Cloud Run traffic updates |
The default server exposes 73 tools across 30 module flags. Cost reasoning and recommendation export are separately controlled integrations. Four static and six templated MCP resources expose BigQuery schemas, Cloud Run snapshots, Storage metadata, and IAM permissions before the model chooses a tool.
Browse the complete module reference, resource reference, and built-in workflows.
Aura Score
Aura Score turns raw signals into a 0–100 view of health and efficiency. It can score individual Cloud Run services, Cloud SQL instances, BigQuery datasets, GKE clusters, and Cloud Storage buckets, or summarize a project worst-first.
🔴 Cloud SQL: legacy-db | Aura: 28 (Idle resource)
🟡 Cloud Run: api-gateway | Aura: 62 (Healthy, over-provisioned)
🟢 Cloud Run: auth-service | Aura: 91 (Healthy and scaled)
The response includes the individual health and efficiency signals, evidence, and concrete reasons behind the score. Recommender results are cached for 12 hours and quota gaps are reported rather than disguised as clean health.
See the scoring model and signal weights.
Safety and privacy by design
| Control | Default | Behavior |
|---|---|---|
| Read-only tools | 71 of 73 base tools | Inventory, investigation, audits, diagrams, drift, and recommendations do not mutate infrastructure |
| Mutation safety | On | Dry-run returns an immutable plan; confirmation requires its expiring, single-use plan_id |
| Recommender runtime integration | On | The Google API and roles/recommender.viewer must still be enabled per project |
| Cost reasoning | Off | Must be explicitly enabled and configured with billing-export sources |
| PII and credential scrubbing | Off | Optional local anonymization can scrub every tool, resource, prompt, error, and diagram response |
| Secret values | Never accessed | Secret Manager exposes metadata only and never calls the versions-access API |
| Remote SSE access | Authenticated | Public endpoints require HTTPS, Google identity tokens, and an email allowlist unless explicitly broadened |
Mutation plans expire after 10 minutes and are single-use. Confirmed executions are audit-logged. The protocol enforces a separate preview and confirmation call; whether a distinct human approves the second call depends on the MCP client and deployment policy.
Read the full security model and safety and cost safeguards.
Run only what you need
Omit --modules to load the default full toolkit. For smaller client context and fewer GCP client connections, select modules explicitly:
{
"mcpServers": {
"aura-tracker-gcp": {
"command": "/opt/homebrew/bin/aura-tracker-gcp",
"args": ["--modules=incident,security,drift"],
"env": {
"GCP_PROJECT_ID": "your-gcp-project-id"
}
}
}
}
Useful focused setups:
| Goal | Modules |
|---|---|
| One-call production diagnosis | incident |
| Project security audit | security |
| Environment comparison | drift |
| GKE investigation | gke,gke_workloads,gke_mesh,aura,monitoring,logging |
| Serverless investigation | cloudrun,functions,eventarc,scheduler,pubsub,serverlessgraph,monitoring,logging |
| Architecture discovery | archgraph,topology,networking,serverlessgraph |
| Historical cost explanation | cost plus cost_reasoning.enabled: true |
Local engine today. Managed platform next.
Aura Tracker GCP is the open-source engine: auditable, self-hostable, model-agnostic, and useful without a hosted account.
The long-term direction is Aura Cloud—a managed UI and team experience built on the same engine, with simpler onboarding, multi-project workspaces, saved investigations, scheduled checks, history, alerts, collaboration, and governance.
The open-source engine is not a teaser. It is the foundation. You should be able to keep using it locally or self-hosted even as managed capabilities grow around it.
If you would use a managed Aura experience, open an issue and describe your workflow. Real platform-engineering use cases will shape what is built first.
Documentation
| Start here | Guide |
|---|---|
| Install, authenticate, and configure IAM | Getting Started |
| Configure one or many environments | Configure Your Environment |
| Understand every module | Module Reference |
| Diagnose incidents | Incident Diagnosis |
| Audit security posture | Security Posture |
| Explain cost changes | Cost Reasoning |
| Compare environments | Drift Detection |
| Generate architecture diagrams | Automatic Architecture Diagrams |
| Review safety and privacy | Security and Safety |
| Contribute a new tool or module | Architecture and Contributing |
Contributing
Contributions are welcome—especially new GCP intelligence workflows, collectors, tests, documentation, and real-world investigation prompts.
git clone https://github.com/asbrodova/aura-tracker-gcp.git
cd aura-tracker-gcp
make build
make test
make smoke
Before opening a PR, read CONTRIBUTING.md. The project uses a hexagonal architecture boundary, structured MCP errors, module-scoped IAM, and tests for every registered tool.
Not ready to contribute code? You can still help:
- Star the repository so more GCP engineers can find it.
- Watch releases for new intelligence workflows.
- Open an issue with a real question Aura should answer.
- Share a successful prompt or anonymized investigation with the community.
Aura Tracker GCP is created and maintained by Anna Sbrodova, building practical open-source GCP intelligence in public.
License
Aura Tracker GCP is licensed under the Apache License 2.0.
Ask your cloud a question. Get evidence—not another dashboard.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found