microprompt-cli
v0.1.10
Published
MicroPrompt — local-first prompt management CLI. Composable, versioned, signed prompts you can run from any AI agent.
Downloads
11
Maintainers
Readme
microprompt-cli
Local-first prompt management CLI. Composable, versioned, signed prompts you can run from any installed AI agent (Claude Code, Codex, Ollama, Aider).
Install
npm install -g microprompt-cliThis installs the right prebuilt binary for your platform via npm's optional-dependency mechanism — no compilation.
Supported: darwin-arm64, darwin-x64, linux-arm64, linux-x64, win32-x64.
What the install does (auto-config)
After npm install -g microprompt-cli, a postinstall script runs mp mcp install which:
- Detects which AI tools you have installed (Claude Desktop, Claude Code, Cursor, Windsurf, Cline)
- For each one detected, adds a single
micropromptentry undermcpServersin that tool's config file - Always backs up the existing config to
<path>.bakbefore writing - Never touches other
mcpServersentries you've already configured - Never creates configs for tools that aren't installed
If you would rather wire MicroPrompt into Claude Desktop / Cursor / etc. yourself, opt out before installing:
MICROPROMPT_SKIP_AUTOCONFIG=1 npm install -g microprompt-cliAlready installed and want to remove the auto-added entries? Open the relevant .bak file (e.g. ~/Library/Application Support/Claude/claude_desktop_config.json.bak on macOS) and copy it back over the live config.
Quick start
mp init # initialize the local store
mp list # show your starter prompts
mp resolve mp:sec # print the resolved security-review prompt
mp run mp:sec # pipe it into your installed AI agentDocs
https://microprompt.io
