Claude Prompts MCP Server
Quick Start
Claude Code (Recommended)
Step 1: Add the plugin marketplace (first time only)
/plugin marketplace add minipuft/minipuft-plugins
Step 2: Install the plugin
/plugin install claude-prompts@minipuft
Step 3: Try it
>>tech_evaluation_chain library:'zod' context:'API validation'
Why hooks matter
The plugin adds hooks that fix common issues:
| Problem | Hook Fix |
|---|
Model ignores >>analyze | Detects syntax, suggests correct MCP call |
| Chain step forgotten | Injects [Chain] Step 2/5 - continue |
| Gate review skipped | Reminds GATE_REVIEW: PASS|FAIL |
Raw MCP works, but models sometimes miss the syntax. The hooks catch that. → hooks/README.md
User Data: Custom prompts stored in ~/.local/share/claude-prompts/ persist across updates.
Gemini CLI
# Install directly from GitHub
gemini extensions install https://github.com/minipuft/claude-prompts-mcp
# Development Setup (Hot Reload)
# Use a symbolic link to point the extension directory directly to your source code.
# This ensures changes to hooks and prompts are reflected immediately.
rm -rf ~/.gemini/extensions/gemini-prompts
ln -s "$(pwd)" ~/.gemini/extensions/gemini-prompts
The extension provides:
- MCP server with the same tools (
prompt_engine, resource_manager, system_control)
- GEMINI.md context file with usage documentation
Enabling Hooks (recommended)
Hooks enhance the experience by detecting >>prompt syntax and tracking chain state. Requires Gemini CLI v0.24.0+.
Step 1: Upgrade Gemini CLI
# Check current version
gemini --version
# Upgrade to preview (required for hooks.enabled support)
npm install -g @google/gemini-cli@0.24.0-preview.0
Step 2: Enable hooks globally
Add to ~/.gemini/settings.json:
{
"hooks": {
"enabled": true
}
}
Step 3: Verify hooks are working
gemini
# On session start, you should see hook activity in logs
# Test with: >>diagnose :: 'security-review'
See hooks/README.md for detailed hook configuration.
Works with the same prompts, gates, and methodologies as Claude Code.
Claude Desktop
| Method | Install Time | Updates | Custom Prompts |
|---|
| Desktop Extension | 10 seconds | Manual | Built-in config |
| NPX | 30 seconds | Automatic | Via env vars |
Desktop Extension (one-click):
1. Download claude-prompts.mcpb → github.com/minipuft/claude-prompts-mcp/releases
2. Drag into Claude Desktop Settings
3. Done. Optionally set a custom prompts folder when prompted.
NPX (auto-updates):
// ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
// %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"claude-prompts": {
"command": "npx",
"args": ["-y", "claude-prompts@latest"]
}
}
}
Restart Claude Desktop. Test it:
>>research_chain topic:'remote team policies' purpose:'handbook update'
→ Returns a 4-step research workflow with methodology injection and quality gates.
Other MCP Clients
Generic MCP clients (.cursor/mcp.json, etc.)
Add to your MCP config:
{
"mcpServers": {
"claude-prompts": {
"command": "npx",
"args": ["-y", "claude-prompts@latest"]
}
}
}
Test: resource_manager(resource_type:"prompt", action:"list")
Cursor 1-click install