Skip to main content

Module install

Module install 

Source
Expand description

mushroomdb install / uninstall — wire the /mushroom skill and MCP server into Claude Code and Cursor.

§Design notes

  • No network: writes local config only; binary is already on disk.
  • Idempotent: running install twice is a no-op (exit 0).
  • Non-destructive: refuses to overwrite user files install didn’t create.
  • Manifest-driven uninstall: tracks every file written; removes exactly what install created.

§User-scope MCP config location (verified 2026-09-02 by live inspection)

Claude Code user-level MCP servers live in ~/.claude.json under the top-level "mcpServers" key. This was verified empirically on a live Claude Code install: ~/.claude/settings.json holds env/permissions/hooks but NO mcpServers key. Cursor uses ~/.cursor/mcp.json (same format as project-level .cursor/mcp.json).

Structs§

InstallOpts
Options parsed from mushroomdb install [flags] or mushroomdb uninstall [flags].

Enums§

Platform
Which assistant platform(s) to wire up.

Functions§

run_install
Install the /mushroom skill and MCP server entry for the resolved platforms.
run_uninstall
Uninstall: remove exactly what install wrote. Reads the manifest.