Skip to content
Agentmart
Submit a tool

mcluster

Manage local MongoDB clusters with the mcluster script, including setup, version linking, cluster init, status checks, and binary diagnostics.

Skill by enricogolfieri

IndexedUnlicense★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/enricogolfieri-mcluster

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Manage local MongoDB clusters with the mcluster script, including setup, version linking, cluster init, status checks, and binary diagnostics. Use when the user asks to spin up a local cluster, inspect ports/primary, or troubleshoot mcluster setup/link errors.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/mcluster

What's inside

Skill name
mcluster
Description
Manage local MongoDB clusters with the mcluster script, including setup, version linking, cluster init, status checks, and binary diagnostics. Use when the user asks to spin up a local cluster, inspect ports/primary, or troubleshoot mcluster setup/link errors.
License
Unlicense
Instructions
49 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# mcluster Workflow

Use `bashscripts/mcluster` for local cluster lifecycle and diagnostics.

## Source the necessary paths 

source /root/.antigen/bundles/enricogolfieri/workspace-mongo-main/workspace-mongo.plugin.zsh

to load the necessary path and aliases

## Quick Start

```bash
mcluster setup
mcluster link <major>.<minor> (8.0). To link master we use "." which must be compiled via resmoke. 
mcluster init-cluster
mcluster status --json
```

`init*` commands initialize and start a cluster in one step.

## Core Commands

- `mcluster setup`: mandatory bootstrap; recreates `~/.mcluster/.venv`, installs tools, and cleans prior cluster state/processes.
- `mcluster link .`: use local repo binaries (`./bazel-bin/install/bin`).
- `mcluster link <version>`: activate/install via `m`, then link that version.
- `mcluster initd|init-replica|init-lite|init-cluster`: create and start cluster layouts.
- `mcluster start`: restart an already-initialized cluster.
- `mcluster status --json`: machine-readable cluster state (`mongos`, `mongod`, `primary`).
- `mcluster binary --json`: show resolved binary paths and versions for troubleshooting.

## Troubleshooting Order

1. Run `mcluster setup` if any command says setup is missing or stale.
2. Run `mcluster binary --json` to confirm `mongod`/`mongos` resolution.
3. If `.mongo_paths` is missing, run `mcluster link .` or `mcluster link <version>`.
4. If startup metadata is missing, run an `init*` command before `start`.

## AI Usage Notes

- Prefer `mcluster status --json` for automation and summaries.
- Report:
  - `mongos` ports
  - `mongod` ports
  - `primary`
  - `running` flag
- On failures, include the exact remediation command shown by `mcluster`.

From enricogolfieri/workspace-mongo, Unlicense.

More from enricogolfieri/workspace-mongo

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Mar 20, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Unlicense
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from enricogolfieri

Cite this page

mcluster skill. Agent Mart. https://agentmart.dev/skills/enricogolfieri-mcluster (last updated 2026-10-24)