Skip to content

docs(cloud): document configuring the GCP and AWS cloud providers#54

Merged
sourcehawk merged 4 commits into
feature/cloud-context-mcpfrom
feature/cloud-context-mcp--docs
May 30, 2026
Merged

docs(cloud): document configuring the GCP and AWS cloud providers#54
sourcehawk merged 4 commits into
feature/cloud-context-mcpfrom
feature/cloud-context-mcp--docs

Conversation

@sourcehawk
Copy link
Copy Markdown
Owner

Description

Towards #44

Documents how to configure the read-only cloud-context MCP providers (GCP and AWS) for operators, with no Go logic changes. Adds a dedicated docs page covering the identity model (operator-ambient base auth plus harness-pinned impersonation/assume-role), the cloud: profile block, the scope and command allowlists, and the visible-degrade behaviour, then threads pointers to it from the connections and profiles docs, the default profile, and the connections panel.

Changes

  • New public docs page docs/content/cloud-providers.md: what the cloud MCP gives the agent (read-only reachability, IAM, GKE/EKS config, logs, audit), the pinned-identity model, per-provider setup (GCP roles/iam.serviceAccountTokenCreator impersonation via CLOUDSDK_AUTH_IMPERSONATE_SERVICE_ACCOUNT; AWS assume-role profile via AWS_PROFILE), the full commented cloud: block with every field, the scope allowlist, the command-allowlist override plus hardcoded deny floor, and visible degrade.
  • Registered the page in the docs nav in both docs/site/lib/sections.ts and frontend/components/DocsView.tsx, placed next to Connections.
  • Extended docs/content/connections.md with a "Cloud (read-only)" subsection and docs/content/profiles.md with a "Cloud sources" section plus the cloud: block in the anatomy YAML.
  • Added a commented-out cloud: example (a gcp and an aws source) to internal/profile/profiles/default/profile.yaml so forks see the shape without activating a source.
  • Enhanced the connections-panel cloud note (frontend/components/ConnectionsPanel.tsx) to point operators at the profile cloud: block and the Cloud providers docs for the SA/assume-role config, with no edit affordance added.

Testing

cd frontend && npm run typecheck clean; npm test -- --run green (29 files, 195 tests, including the existing ConnectionsPanel cloud-pill specs). make build succeeds: the docs sync (frontend/scripts/sync-docs.mjs, run via prebuild) mirrors cloud-providers.md into frontend/public/docs/, the docs site SSG generates the cloud-providers/ route, and both Go binaries build with the embedded bundle. make docs builds the standalone GitHub Pages docs site clean.

🤖 Generated with Claude Code

sourcehawk and others added 4 commits May 30, 2026 17:32
New public docs page covering the read-only GCP/AWS cloud-context MCP:
what it gives the agent, the pinned-identity model, per-provider setup
(GCP serviceAccountTokenCreator impersonation, AWS assume-role profile),
the full cloud: profile block, scope and command allowlists, and visible
degrade. Registered the section in both docs/site/lib/sections.ts and
frontend/components/DocsView.tsx, placed next to Connections.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add a "Cloud sources" section and the cloud: block to the profiles page
(anatomy YAML plus a prose reference pointing at the cloud-providers
page), and a "Cloud (read-only)" subsection to connections explaining
that cloud identities are profile-configured, read-only, and validated
by the identity probe.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Operators forking the default see the cloud: block shape (a gcp and an
aws source) with every field explained. Kept commented so it does not
activate a cloud source on the runnable default.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Enhance the read-only cloud section's note to say identities are pinned
in the profile's cloud: block (not entered here), point at the Cloud
providers docs for the impersonation / assume-role setup, and name the
operator's own re-auth commands. No edit affordance added.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@sourcehawk sourcehawk merged commit eddc127 into feature/cloud-context-mcp May 30, 2026
4 checks passed
@sourcehawk sourcehawk deleted the feature/cloud-context-mcp--docs branch May 30, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant