@prompt-stack/cli
v2.0.1
Published
Prompt Stack CLI - Install and manage MCP stacks, runtimes, and tools
Maintainers
Readme
pstack
Package manager for MCP stacks. Install tools that work with Claude, Codex, and Gemini.
Install
npm i -g @prompt-stack/cliQuick Start
# See what's available
pstack search --all
# Install a stack
pstack install stack:slack
# Add your API key
nano ~/.prompt-stack/stacks/slack/.env
# Done - Claude/Codex/Gemini can now use Slack toolsCommands
pstack search <query> # Search for packages
pstack search --all # List all packages
pstack install <pkg> # Install a package
pstack remove <pkg> # Remove a package
pstack list [kind] # List installed (stacks, runtimes, tools, agents)
pstack update [pkg] # Update packages
pstack doctor # Check system healthAvailable Stacks
| Stack | Description | Auth |
|-------|-------------|------|
| stack:postgres | Query PostgreSQL databases | DATABASE_URL |
| stack:slack | Send messages, search channels | SLACK_BOT_TOKEN |
| stack:notion-workspace | Pages, databases, search | NOTION_API_KEY |
| stack:google-workspace | Gmail, Sheets, Docs, Drive, Calendar | OAuth |
| stack:google-ai | Gemini, Imagen, Veo | GOOGLE_AI_API_KEY |
| stack:openai | DALL-E, Whisper, TTS, Sora | OPENAI_API_KEY |
| stack:zoho-mail | Email via Zoho | OAuth |
| stack:content-extractor | YouTube, Reddit, TikTok transcripts | - |
| stack:video-editor | Trim, speed, compress videos | - |
| stack:ms-office | Read Word/Excel files | - |
| stack:whisper | Local audio transcription | - |
Secrets
Each stack has its own .env file:
~/.prompt-stack/stacks/<stack>/.envWhen you install a stack, a .env is created with placeholders. Add your keys:
# ~/.prompt-stack/stacks/postgres/.env
DATABASE_URL=postgresql://user:pass@host:5432/dbSecrets are automatically injected into Claude, Codex, and Gemini configs.
How It Works
pstack install stack:slackdownloads the MCP server- Creates
.envwith required secrets as placeholders - Registers the MCP server in
~/.claude/settings.json,~/.codex/config.toml,~/.gemini/settings.json - You fill in the API key in
.env - Claude/Codex/Gemini can now use the tools
Data Location
~/.prompt-stack/
├── stacks/ # MCP servers (each with .env)
├── runtimes/ # Node, Python, Deno
├── tools/ # ffmpeg, ripgrep, etc.
├── agents/ # Claude, Codex, Gemini CLIs
└── prompt-stack.db # Local databaseLicense
MIT
