Business operating system for Claude Code — 57 skills, 21 agents, smart daemon. Unified inbox (WhatsApp/Email/Slack/Telegram), autonomous PR merge, full-AWS monitoring, revenue (Stripe+RevenueCat), e-commerce (Shopify), marketing (Klaviyo/Meta/GA4), voice (Bland/ElevenLabs), APM (Datadog/NewRelic/OTEL), YOLO mode.
Shell agent-teamsai-agentai-automationanthropicautonomous-agentawsbusiness-operationsclaudeclaude-codeclaude-code-plugindevopsecommerceinbox-zeroklaviyomarketingmcpmorning-briefingpr-automationshopifyterminal
feat: add Doppler MCP server integration across entire plugin
auroracapital393a348e65ee
diff --git a/README.md b/README.mdindex 89fe7573..155bc4a2 100644--- a/README.md+++ b/README.md@@ -155,7 +155,7 @@ Most integrations offer two paths — MCP (zero-config OAuth) or CLI (fuller fea| ElevenLabs | — | API key | TTS + cloning via `/ops:voice` || Whisper | — | API key | Transcription via `/ops:voice` || GSD | — | auto-detected | Optional — roadmap state; degrades gracefully |-| Doppler | — | `doppler` CLI | Optional secret source; falls through to next resolver |+| Doppler | `@dopplerhq/mcp-server` (MCP) | `doppler` CLI (fallback) | Secrets manager; MCP server provides direct tool access |> [!NOTE]> **`infra-monitor` now covers every AWS service you have IAM for** — ECS, EC2, RDS, Lambda, S3, CloudFront, ALB/NLB, API Gateway, SQS, SNS, DynamoDB, ElastiCache, Route 53, ACM, CloudWatch, Budgets, IAM. Probes run in parallel; services you can't access are silently skipped.@@ -246,7 +246,7 @@ SendMessage(to="fix-ecs", content="This is P0, prioritize over CI")> [!IMPORTANT]> **Transparency matters.** claude-ops reads from your AWS, GitHub, Linear, Sentry, WhatsApp, Email, Slack, Telegram, Shopify, Stripe, RevenueCat, and more. You should know exactly what it touches.-**Credential resolution chain (in order):** Doppler → 1Password/Dashlane/Bitwarden → macOS Keychain → env vars → Claude Code's encrypted `userConfig` (`~/.claude.json`).+**Credential resolution chain (in order):** Doppler MCP → Doppler CLI → 1Password/Dashlane/Bitwarden → macOS Keychain → env vars → Claude Code's encrypted `userConfig` (`~/.claude.json`).**Setup auto-scan sources (only during `/ops:setup`):** env, shell profiles, Doppler, 1Password, Dashlane, Bitwarden, macOS Keychain, Claude Code's `~/.claude.json`, Chrome history URL list (never page content), Slack Playwright profile (only if chosen).diff --git a/claude-ops/.claude-plugin/plugin.json b/claude-ops/.claude-plugin/plugin.jsonindex 1bb147d9..13e4da35 100644--- a/claude-ops/.claude-plugin/plugin.json+++ b/claude-ops/.claude-plugin/plugin.json@@ -36,6 +36,7 @@"orchestration","memories","doppler",+ "mcp","1password","stripe","revenuecat",@@ -273,6 +274,27 @@"type": "string","sensitive": true,"default": ""+ },+ "doppler_token": {+ "title": "Doppler Token",+ "description": "Doppler service or personal token for the @dopplerhq/mcp-server MCP integration. Generated by /ops:setup or paste manually.",+ "type": "string",+ "sensitive": true,+ "default": ""+ },+ "doppler_project": {+ "title": "Doppler Default Project",+ "description": "Default Doppler project slug (e.g. 'my-app'). Used by the Doppler MCP server.",+ "type": "string",+ "sensitive": false,+ "default": ""+ },+ "doppler_config": {+ "title": "Doppler Default Config",+ "description": "Default Doppler config name (e.g. 'dev', 'stg', 'prd'). Used by the Doppler MCP server.",+ "type": "string",+ "sensitive": false,+ "default": ""}}}diff --git a/claude-ops/.mcp.json b/claude-ops/.mcp.jsonindex 1ea076a3..594f82f3 100644--- a/claude-ops/.mcp.json+++ b/claude-ops/.mcp.json@@ -9,6 +9,13 @@"TELEGRAM_PHONE": "${user_config.telegram_phone}","TELEGRAM_SESSION": "${user_config.telegram_session}"}+ },+ "doppler": {+ "command": "npx",+ "args": ["-y", "@dopplerhq/mcp-server"],+ "env": {+ "DOPPLER_TOKEN": "${user_config.doppler_token}"+ }}}}diff --git a/claude-ops/bin/ops-setup-preflight b/claude-ops/bin/ops-setup-preflightindex f5202d34..13cdbe0e 100755--- a/claude-ops/bin/ops-setup-preflight+++ b/claude-ops/bin/ops-setup-preflight@@ -148,6 +148,29 @@ cred_get() {fi} &+{+ # Doppler CLI auth + projects cache+ if command -v doppler &>/dev/null; then+ doppler me --json 2>/dev/null > "$OUT/doppler.json" || echo '{"error":"not_authenticated"}' > "$OUT/doppler.json"+ else+ echo '{"error":"not_installed"}' > "$OUT/doppler.json"+ fi+} &++{+ # Doppler MCP server availability+ if [ -n "${DOPPLER_TOKEN:-}" ]; then+ echo '{"available":true,"token_set":true}' > "$OUT/doppler-mcp.json"+ else+ # Check if doppler CLI is configured and could provide a token+ if command -v doppler &>/dev/null && doppler me --json &>/dev/null 2>&1; then+ echo '{"available":true,"token_set":false,"cli_authenticated":true}' > "$OUT/doppler-mcp.json"+ else+ echo '{"available":false,"token_set":false,"cli_authenticated":false}' > "$OUT/doppler-mcp.json"+ fi+ fi+} &+# Wait for all background jobswaitdiff --git a/claude-ops/skills/ops-doctor/SKILL.md b/claude-ops/skills/ops-doctor/SKILL.mdindex df355dd3..a21452b2 100644--- a/claude-ops/skills/ops-doctor/SKILL.md+++ b/claude-ops/skills/ops-doctor/SKILL.md@@ -22,7 +22,7 @@ maxTurns: 30Before diagnosing, load:1. **Preferences**: `cat ${CLAUDE_PLUGIN_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}/preferences.json` — check all configured channels and services2. **Daemon health**: `cat ${CLAUDE_PLUGIN_DATA_DIR}/daemon-health.json` — primary diagnostic input-3. **Secrets**: Verify secret resolution chain works: env → Doppler → password manager+3. **Secrets**: Verify secret resolution chain works: Doppler MCP → env → Doppler CLI → password manager# OPS ► DOCTORdiff --git a/claude-ops/skills/ops-linear/SKILL.md b/claude-ops/skills/ops-linear/SKILL.mdindex 22dd4820..2d2c1491 100644--- a/claude-ops/skills/ops-linear/SKILL.md+++ b/claude-ops/skills/ops-linear/SKILL.md@@ -33,7 +33,8 @@ Before executing, load available context:1. **Secrets**: Linear API key required for MCP fallback queries.### Secret Resolution- Check `$LINEAR_API_KEY` env var- - Then: `doppler secrets get LINEAR_API_KEY --plain` (if doppler configured in prefs)+ - Then: Doppler MCP tools (`mcp__doppler__*`) — if Doppler MCP server is configured+ - Then: `doppler secrets get LINEAR_API_KEY --plain` (if doppler CLI configured in prefs)- Then: use `password_manager_config.query_cmd` from `${CLAUDE_PLUGIN_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}/preferences.json`- If unavailable, use Linear MCP tools exclusively (no curl fallback possible)diff --git a/claude-ops/skills/ops-marketing/SKILL.md b/claude-ops/skills/ops-marketing/SKILL.mdindex 4880d0ff..9772b862 100644--- a/claude-ops/skills/ops-marketing/SKILL.md+++ b/claude-ops/skills/ops-marketing/SKILL.md@@ -32,7 +32,7 @@ Before executing, load available context:2. **Daemon health**: Read `${CLAUDE_PLUGIN_DATA_DIR}/daemon-health.json`- If `action_needed` is not null → surface it before running any channel queries-3. **Secrets**: Resolve API keys via userConfig → env vars → Doppler (see Credential Resolution section below)+3. **Secrets**: Resolve API keys via userConfig → env vars → Doppler MCP (`mcp__doppler__*`) → Doppler CLI fallback (see Credential Resolution section below)## CLI/API Referencediff --git a/claude-ops/skills/ops-merge/SKILL.md b/claude-ops/skills/ops-merge/SKILL.mdindex 0f7c97c8..a657d2db 100644--- a/claude-ops/skills/ops-merge/SKILL.md+++ b/claude-ops/skills/ops-merge/SKILL.md@@ -27,7 +27,7 @@ maxTurns: 50Before executing, load:1. **Preferences**: `cat ${CLAUDE_PLUGIN_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}/preferences.json` — read `owner`, `timezone`, project registry2. **Daemon health**: `cat ${CLAUDE_PLUGIN_DATA_DIR}/daemon-health.json` — if `action_needed` set, surface to user-3. **Secrets**: GitHub token: env `$GITHUB_TOKEN` → `doppler secrets get GITHUB_TOKEN --plain` → password manager+3. **Secrets**: GitHub token: env `$GITHUB_TOKEN` → Doppler MCP (`mcp__doppler__*`) → `doppler secrets get GITHUB_TOKEN --plain` → password manager# OPS ► MERGEdiff --git a/claude-ops/skills/ops-settings/SKILL.md b/claude-ops/skills/ops-settings/SKILL.mdindex b2afb899..a94e59e8 100644--- a/claude-ops/skills/ops-settings/SKILL.md+++ b/claude-ops/skills/ops-settings/SKILL.md@@ -73,6 +73,7 @@ For integrations with a cheap health check, run it to distinguish "configured bu| GitHub | `gh auth status 2>&1` | "Logged in" || AWS | `aws sts get-caller-identity --output text 2>/dev/null` | exits 0 || Linear | `cat "$PREFS" | jq -r .linear_team` | non-empty |+| Doppler MCP | Check if DOPPLER_TOKEN is set and valid | Token present and MCP server responds |Show `🔴 expired` if probe fails for a previously-configured key.@@ -106,6 +107,7 @@ When a specific integration is selected (via argument or user pick from dashboar| Klaviyo | `curl -s -H "Authorization: Klaviyo-API-Key ${new_key}" https://a.klaviyo.com/api/accounts/ \| jq '.data[0].id'` → non-null || Datadog | `curl -s -H "DD-API-KEY: ${new_key}" https://api.datadoghq.com/api/v1/validate \| jq .valid` → true || New Relic | `curl -s -H "Api-Key: ${new_key}" https://api.newrelic.com/v2/applications.json \| jq '.applications | length'` → numeric |+| Doppler MCP | `npx -y @dopplerhq/mcp-server --help 2>&1` with DOPPLER_TOKEN set | exits 0 |## CLI/API Referencediff --git a/claude-ops/skills/ops-triage/SKILL.md b/claude-ops/skills/ops-triage/SKILL.mdindex 032b6bfe..f6f9370f 100644--- a/claude-ops/skills/ops-triage/SKILL.md+++ b/claude-ops/skills/ops-triage/SKILL.md@@ -34,7 +34,7 @@ maxTurns: 40Before triaging, load:1. **Preferences**: `cat ${CLAUDE_PLUGIN_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}/preferences.json` — read project registry for repo paths2. **Daemon health**: `cat ${CLAUDE_PLUGIN_DATA_DIR}/daemon-health.json` — ensure services healthy-3. **Secrets**: Resolve via env → Doppler → password manager: `SENTRY_AUTH_TOKEN`, `LINEAR_API_KEY`, `GITHUB_TOKEN`+3. **Secrets**: Resolve via Doppler MCP (`mcp__doppler__*`) → env → Doppler CLI fallback → password manager: `SENTRY_AUTH_TOKEN`, `LINEAR_API_KEY`, `GITHUB_TOKEN`4. **Ops memories**: Check `${CLAUDE_PLUGIN_DATA_DIR}/memories/topics_active.md` for issue contextdiff --git a/claude-ops/skills/ops-voice/SKILL.md b/claude-ops/skills/ops-voice/SKILL.mdindex cc4e1358..eed88ad0 100644--- a/claude-ops/skills/ops-voice/SKILL.md+++ b/claude-ops/skills/ops-voice/SKILL.md@@ -14,7 +14,7 @@ allowed-tools:Voice interface commands. All API calls via curl — no SDK dependencies.-**Credential resolution order:** userConfig → env vars → Doppler secrets+**Credential resolution order:** userConfig → env vars → Doppler MCP tools (`mcp__doppler__*`) → Doppler CLI fallback (`doppler secrets get <KEY> --plain`) → password manager---diff --git a/claude-ops/skills/setup/SKILL.md b/claude-ops/skills/setup/SKILL.mdindex 779b9657..2a7b74a2 100644--- a/claude-ops/skills/setup/SKILL.md+++ b/claude-ops/skills/setup/SKILL.md@@ -1390,6 +1390,44 @@ Individual skills can override with --project / --config flags.> **Deep-dive:** no dedicated skill ships with Doppler — see `${CLAUDE_PLUGIN_ROOT}/docs/memories-system.md` (Runtime Context section) for how downstream skills consume the `secrets_manager` / `doppler.*` values from `$PREFS_PATH` and resolve `doppler:KEY_NAME` references at runtime. The setup agent can load that file directly when it needs more depth than this wizard provides.+#### Step 3g.5 — Doppler MCP Server++After the CLI is configured and authenticated, offer to set up the official `@dopplerhq/mcp-server` MCP integration. This gives Claude direct tool access to Doppler secrets without shelling out.++1. **Check availability**: Run `npx -y @dopplerhq/mcp-server --help 2>&1` in the background. If it exits 0, the package is available.++2. **Generate a service token**: If the user selected a project/config in Step 3g.3, generate a scoped token:+ ```bash+ doppler configs tokens create mcp-server-token --project <project> --config <config> --plain 2>/dev/null+ ```+ If the command fails or if no project/config was selected, ask:+ ```+ Doppler MCP Server needs a token. Options:+ [Generate from CLI (requires project/config)]+ [Paste a token manually]+ [Skip MCP server]+ ```++3. **Save token to userConfig**: Write the token to `doppler_token` in the plugin's `userConfig` (this feeds `.mcp.json` at runtime via `${user_config.doppler_token}`). Also save `doppler_project` and `doppler_config` if selected.++4. **Smoke test**: Verify the MCP server can start:+ ```bash+ DOPPLER_TOKEN="<token>" timeout 10 npx -y @dopplerhq/mcp-server --help 2>&1+ ```+ If it exits 0, the server is functional.++5. **Confirmation**:+ ```+ ✓ Doppler MCP Server configured — secrets accessible via MCP tools (mcp__doppler__*)+ ```++6. **Note for agents**:+ ```+ With the MCP server configured, skills can now query secrets directly via+ MCP tool calls (mcp__doppler__*) instead of shelling out to `doppler secrets get`.+ The Doppler CLI remains available as a fallback when the MCP server is unavailable.+ ```+### 3h — Password Manager (credential vault)Ops agents frequently need to look up credentials (API keys, database passwords, service tokens) on your behalf. This step wires up a password manager so those queries can be automated via a standard command template stored in `$PREFS_PATH`.diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.mdindex d76cc2da..4af199b6 100644--- a/docs/CONFIGURATION.md+++ b/docs/CONFIGURATION.md@@ -32,14 +32,19 @@ These fields are set through the Claude Code plugin UI (`/plugin` → `ops` →| `stripe_secret_key` | Optional | `""` | Stripe secret key (`sk_live_...` or `sk_test_...`). Prefer a Doppler reference. Used by `/ops:revenue`. || `revenuecat_api_key` | Optional | `""` | RevenueCat V1 API key for mobile subscription revenue tracking. Used by `/ops:revenue`. || `revenuecat_project_id` | Optional | `""` | RevenueCat project ID (visible in the app.revenuecat.com URL). Used by `/ops:revenue`. |+| `doppler_token` | Optional | `""` | Doppler service or personal token for the `@dopplerhq/mcp-server` MCP integration. Generated by `/ops:setup` or paste manually. |+| `doppler_project` | Optional | `""` | Default Doppler project slug (e.g. `my-app`). Used by the Doppler MCP server. |+| `doppler_config` | Optional | `""` | Default Doppler config name (e.g. `dev`, `stg`, `prd`). Used by the Doppler MCP server. |-**Sensitive fields** (`telegram_api_id`, `telegram_api_hash`, `telegram_phone`, `telegram_session`, `klaviyo_private_key`, `meta_ads_token`, `shopify_admin_token`, `shipbob_access_token`, `bland_ai_api_key`, `elevenlabs_api_key`, `groq_api_key`, `stripe_secret_key`, `revenuecat_api_key`) are marked `"sensitive": true` in the schema and are encrypted at rest by Claude Code.+**Sensitive fields** (`telegram_api_id`, `telegram_api_hash`, `telegram_phone`, `telegram_session`, `klaviyo_private_key`, `meta_ads_token`, `shopify_admin_token`, `shipbob_access_token`, `bland_ai_api_key`, `elevenlabs_api_key`, `groq_api_key`, `stripe_secret_key`, `revenuecat_api_key`, `doppler_token`) are marked `"sensitive": true` in the schema and are encrypted at rest by Claude Code.----## Telegram MCP Server (`.mcp.json`)+## MCP Servers (`.mcp.json`)-The bundled Telegram MCP server is wired in `.mcp.json` at the plugin root. It reads all four Telegram credentials directly from `userConfig` at runtime — no manual file editing is required.+Two MCP servers are wired in `.mcp.json` at the plugin root. They read credentials directly from `userConfig` at runtime — no manual file editing is required.++### Telegram MCP Server```json{@@ -58,6 +63,26 @@ The bundled Telegram MCP server is wired in `.mcp.json` at the plugin root. It r}```+### Doppler MCP Server++The official `@dopplerhq/mcp-server` provides direct tool access to Doppler secrets. When `doppler_token` is configured in userConfig, Claude can query secrets via `mcp__doppler__*` tools without shelling out to the Doppler CLI.++```json+{+ "mcpServers": {+ "doppler": {+ "command": "npx",+ "args": ["-y", "@dopplerhq/mcp-server"],+ "env": {+ "DOPPLER_TOKEN": "${user_config.doppler_token}"+ }+ }+ }+}+```++The Doppler CLI remains as a fallback for environments where the MCP server is unavailable.+`CLAUDE_PLUGIN_ROOT` is resolved at runtime to the plugin's installed cache directory. It is also exported into your shell profile by `/ops:setup` so shell scripts can reference it.---@@ -218,10 +243,11 @@ These environment variables are read by optional cron service shell scripts. Theclaude-ops does not use `.env` files. All secrets resolve through the following chain in priority order:-1. **Doppler** — if `doppler` CLI is installed and configured, `/ops:setup` will link it. Skills read secrets via `doppler run --` or environment injection.-2. **Password manager** — 1Password (`op`), Dashlane (`dcli`), or Bitwarden (`bw`) vaults are scanned by `/ops:setup` during credential collection.-3. **macOS Keychain** — the Telegram wizard stores `api_id`, `api_hash`, `phone`, and `session` in the system keychain automatically.-4. **Plugin `userConfig`** — values set in Claude Code plugin settings (see Plugin Settings section above).-5. **Shell environment** — variables exported in your shell profile (e.g. `~/.zshrc`).+1. **Doppler MCP Server** — if `doppler_token` is configured in userConfig, the `@dopplerhq/mcp-server` MCP server runs automatically, giving Claude direct tool access to Doppler secrets without shelling out.+2. **Doppler CLI** — if `doppler` CLI is installed and configured, `/ops:setup` will link it. Skills read secrets via `doppler run --` or environment injection. Used as fallback when MCP is unavailable.+3. **Password manager** — 1Password (`op`), Dashlane (`dcli`), or Bitwarden (`bw`) vaults are scanned by `/ops:setup` during credential collection.+4. **macOS Keychain** — the Telegram wizard stores `api_id`, `api_hash`, `phone`, and `session` in the system keychain automatically.+5. **Plugin `userConfig`** — values set in Claude Code plugin settings (see Plugin Settings section above).+6. **Shell environment** — variables exported in your shell profile (e.g. `~/.zshrc`).For production deployments, Doppler is the recommended secrets source. Skills degrade gracefully when optional credentials are absent — features that require a missing credential are skipped rather than erroring.