@cmflow/agents 3.7.1 → 3.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -49,7 +49,7 @@ Interactive full workstation setup:
49
49
  3. Clones / updates the `digital-api-team-skills` repository
50
50
  4. Writes environment variables to the shell rc (Unix) or user scope (Windows)
51
51
  5. Installs and configures **Codex CLI** (MCPs; LiteLLM config if chosen)
52
- 6. Installs and configures **Claude CLI** (HTTP MCPs, Atlassian marketplace plugin)
52
+ 6. Installs and configures **Claude CLI** (HTTP MCPs, official Atlassian marketplace plugin) and **Claude Desktop** MCPs
53
53
  7. Optionally installs Python 3.12 via mise
54
54
 
55
55
  ```bash
@@ -74,7 +74,7 @@ Checks the workstation installation state and prints a pass / warn / fail report
74
74
  - Codex config (`~/.codex/config.toml` + standard MCPs)
75
75
  - **Codex LiteLLM provider**: `model_provider = "litellm"`, correct `base_url`, `model_catalog_json` exists, active `model` is in the catalog
76
76
  - **Kibana MCPs**: warns if no `kibana_*` profile is configured in Codex
77
- - Claude MCPs configured
77
+ - Claude CLI MCPs and Claude Desktop MCPs configured separately
78
78
  - Repository cloned
79
79
 
80
80
  > `cm-agents` itself requires Node.js to start. The `check` command also validates that `npm -v` can execute.
@@ -151,7 +151,7 @@ cm-agents codex models --refresh
151
151
 
152
152
  ### `cm-agents kibana setup`
153
153
 
154
- Creates or updates a Kibana MCP profile. `cm-agents` collects the configuration values and securely prompts for the password, then provides them to the Kibana setup command.
154
+ Creates or updates a Kibana MCP profile with the package's non-interactive `bootstrap` command. `cm-agents` collects the connection values, passes the URL, user, and profile as explicit CLI options, and provides the password only through the child process environment.
155
155
 
156
156
  - After a successful setup, registers `kibana_<profile>` as a **stdio MCP** in both Codex and Claude.
157
157
 
@@ -159,26 +159,25 @@ Creates or updates a Kibana MCP profile. `cm-agents` collects the configuration
159
159
  cm-agents kibana setup \
160
160
  --profile production \
161
161
  --url https://api.clubmed.com/logs \
162
- --user User \
163
- --config 'SHARED_AGENTS_REPO_DIR/scripts/kibana-mcp-server/sources.{profile}.json'
162
+ --user User
164
163
 
165
- # Update an existing Kibana profile and re-register the MCP
166
- cm-agents kibana setup --profile production --url https://api.clubmed.com/logs --user User --config sources.prod.json --reinstall
164
+ # Re-register the MCP transport for an existing profile
165
+ cm-agents kibana setup --profile production --url https://api.clubmed.com/logs --user User --reinstall
167
166
  ```
168
167
 
169
- `--config` supports `{profile}` and the literal `SHARED_AGENTS_REPO_DIR/` prefix. The prefix is resolved from the environment variable; when it is absent, `cm-agents` uses the first detected default repository directory.
168
+ The setup also installs the global Codex skill `kibana-log-investigation` with `npx skills add`. After bootstrap, use the MCP's `discover` tool and ask the user to name an exact Kibana index before calling `configure_index`.
170
169
 
171
170
  ### `cm-agents kibana serve <profile>`
172
171
 
173
172
  Starts the Kibana MCP server for a given profile — a thin proxy for:
174
173
 
175
174
  ```bash
176
- KIBANA_PROFILE=<profile> npx --yes --package=@havesomecode/kibana-mcp-server kibana-mcp-server serve
175
+ npx --yes --package=@havesomecode/kibana-mcp-server kibana-mcp-server serve --profile <profile>
177
176
  ```
178
177
 
179
178
  ```bash
180
- cm-agents kibana serve --profile production
181
- cm-agents kibana serve --profile staging
179
+ cm-agents kibana serve production
180
+ cm-agents kibana serve staging
182
181
  ```
183
182
 
184
183
  ## Environment variables
@@ -206,7 +205,7 @@ cm-agents kibana serve --profile staging
206
205
  | `cms_api` | `https://cms.api.clubmed/mcp` |
207
206
  | `atlassian` | `https://mcp.atlassian.com/v1/mcp/authv2` |
208
207
 
209
- ### Claude (user scope)
208
+ ### Claude CLI (user scope)
210
209
 
211
210
  | Name | URL |
212
211
  | ------------- | ------------------------------------------------------ |
@@ -214,6 +213,16 @@ cm-agents kibana serve --profile staging
214
213
  | `cms_api` | `https://cms.api.clubmed/mcp` |
215
214
  | `atlassian` | Marketplace plugin `atlassian@claude-plugins-official` |
216
215
 
216
+ ### Claude Desktop
217
+
218
+ `cm-agents install` merges the Club Med MCP entries into `claude_desktop_config.json` without replacing existing Desktop preferences:
219
+
220
+ - macOS: `~/Library/Application Support/Claude-3p/claude_desktop_config.json`
221
+ - Windows: `%USERPROFILE%\AppData\Local\Claude-3p\claude_desktop_config.json`
222
+
223
+ The Desktop configuration includes `context-mode`, `clubmed_api`, `cms_api`, and `cms_api_staging`.
224
+ The Atlassian marketplace plugin is shared with Claude CLI through `~/.claude/settings.json`, rather than `Claude-3p`.
225
+
217
226
  ## Post-install manual steps
218
227
 
219
228
  1. Restart the terminal to load environment variables