@cmflow/agents
v3.22.0
Published
Tool to install Club Med AI tooling for Claude
Readme
@cmflow/agents
CLI for installing and configuring Claude and Codex tooling for Club Med developers.
Quick start
mise use --global [email protected]
npx -p @cmflow/agents cm-agents installCommands
cm-agents install
Interactive setup for Git, environment variables, the shared digital-api-team-skills repository, Claude, Codex, LiteLLM, marketplace plugins, and Python 3.12.
cm-agents install
cm-agents install --yes # remove the legacy MCP configuration without askingThe first prompt selects the components to install: Git, environment variables, the shared repository, Claude, Codex, LiteLLM, Marketplace, and Python.
cm-agents install no longer configures any MCP server and no longer writes any MCP secret. The Marketplace step:
- runs the legacy MCP cleanup described in
cm-agents clean mcps; - when Claude is installed, adds the
claude-plugins-officialandclubmedmarketplaces and installs the selected plugins (Atlassian by default).
cm-agents clean mcps
Removes the MCP configuration written by older cm-agents versions. Club Med MCP servers are now installed from the clubmed marketplace.
cm-agents clean mcps # list, then ask for confirmation
cm-agents clean mcps --dry-run # list only
cm-agents clean mcps --yes # remove without confirmation| Location | Removed |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Claude Code, ~/.claude.json (user-scope mcpServers) | clubmed_api, cms_api, cms_api_staging, cms_dcx |
| Claude Desktop, claude_desktop_config.json (and the legacy Claude-3p file) | the same names |
| Claude Desktop launchers on Windows, %USERPROFILE%\AppData\Local\mise\shims | agents-mcp-remote.cmd/.mjs, npx-proxy.cmd/.mjs |
| Claude Desktop launchers on Windows, %USERPROFILE%\AppData\Local\cmflow\bin | agents-mcp-remote.cmd/.mjs (npx-proxy.cmd/.mjs is kept: the Kibana Desktop MCP uses it) |
| Codex, ~/.codex/config.toml | [mcp_servers.<name>] for the same names |
| Managed block of the shell rc file (Windows: user environment) | CMS_API_MCP_TOKEN, CMS_API_MCP_STAGING_TOKEN (CLUBMED_API_MCP_KEY and CMS_DCX_MCP_TOKEN are kept and reported: the clubmed-api and cms-dcx marketplace plugins still read them) |
Safety rules:
- an entry is removed only when its name and its URL match what cm-agents wrote; an entry edited by hand is kept and reported;
- every modified file is backed up to
<file>.bakand replaced atomically; - only entry and variable names are printed, never their values;
- the command is idempotent: a second run removes nothing.
Restart Claude Code, Claude Desktop and Codex afterwards.
cm-agents check
Checks Node.js, npm, Git, Claude, required environment variables, Claude CLI MCPs and marketplaces, Claude Desktop plugins, leftover legacy MCP entries, and the shared repository.
cm-agents kibana setup
Creates or updates a Kibana profile and registers its MCP in Claude CLI and Claude Desktop.
cm-agents kibana serve <profile>
Starts the Kibana MCP server for a configured profile.
Club Med MCP servers: the clubmed marketplace
Club Med MCP servers are distributed as plugins of the clubmed marketplace (ClubMediterranee/digital-api-team-skills). Each plugin ships its own .mcp.json.
| Plugin | MCP server | Authentication |
| ----------------- | ----------------- | ------------------------------------------ |
| clubmed-api | clubmed_api | CLUBMED_API_MCP_KEY environment variable |
| cms-api | cms_api | OAuth on first call |
| cms-api-staging | cms_api_staging | OAuth on first call |
| cms-dcx | cms_dcx | CMS_DCX_MCP_TOKEN environment variable |
| kibana | kibana | OAuth on first call |
| kibana-staging | kibana_staging | OAuth on first call |
| datadog | datadog | OAuth on first call |
Atlassian is installed from atlassian@claude-plugins-official.
Claude Code
claude plugin marketplace add ClubMediterranee/digital-api-team-skills
claude plugin install <plugin>@clubmed # e.g. claude plugin install cms-api@clubmedCodex
codex plugin marketplace add ClubMediterranee/digital-api-team-skills
codex plugin add <plugin>@clubmed # e.g. codex plugin add cms-api@clubmedClaude Desktop
Claude Desktop does not install marketplace plugins. How Desktop users get the Club Med servers back (for example as custom OAuth connectors using the URL from each plugin .mcp.json) is still to be validated.
License
MIT
