Prompt Store MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Prompt Store MCPsearch for my prompts about code reviews"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@mhoshdev/prompt-store-mcp
A local-only MCP (Model Context Protocol) server for managing AI prompts with SQLite storage. Designed for individual developers to organize prompts without complex web services.
✨ Why Use This?
Your personal prompt library - Store, search, and reuse prompts across all your AI tools.
Simple & focused - Just prompts, nothing more. No cloud, no accounts, no complexity.
Works everywhere - Same prompts available in Claude, Cursor, Windsurf, any MCP client.
100% local - All data stays on your machine in SQLite. Your prompts, your control.
Fast search - Find prompts by keyword or filter by tags instantly.
Easy setup - One npx command, no install needed.
Related MCP server: mcp-hub
📦 Installation
No installation needed. Just use npx:
npx -y @mhoshdev/prompt-store-mcp@latestNote: Requires Node.js 20+.
⚙️ MCP Client Configuration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"prompt-store": {
"command": "npx",
"args": ["-y", "@mhoshdev/prompt-store-mcp@latest"]
}
}
}Cursor IDE
Add to your Cursor MCP settings:
{
"mcpServers": {
"prompt-store": {
"command": "npx",
"args": ["-y", "@mhoshdev/prompt-store-mcp@latest"]
}
}
}Windsurf
Add to your Windsurf MCP configuration:
{
"mcpServers": {
"prompt-store": {
"command": "npx",
"args": ["-y", "@mhoshdev/prompt-store-mcp@latest"]
}
}
}For CLI access (e.g.,
--reset):npx -y @mhoshdev/prompt-store-mcp@latest --reset
CLI Options
# Start MCP server (default)
npx -y @mhoshdev/prompt-store-mcp@latest
# Reset database (clear all data, keep schema)
npx -y @mhoshdev/prompt-store-mcp@latest --reset🛠️ Available Tools
Tool | Description |
| Store a new prompt with optional tags |
| List prompts with pagination |
| Retrieve full prompt by ID |
| Update prompt title, content, and tags |
| Permanently remove a prompt |
| Search by keyword in title/content |
| Filter prompts by tags (OR logic) |
| List all tags with prompt counts |
💡 Example Usage
Store a Prompt
Use add_prompt with:
- title: "Code Review Assistant"
- content: "You are a senior code reviewer. Analyze code for bugs, security issues, and suggest improvements."
- tags: ["coding", "review"]Search Prompts
Use search_prompts with:
- query: "review"Filter by Tags
Use filter_by_tags with:
- tags: ["coding", "review"]💾 Data Storage
Location:
~/.prompt-store/prompts.dbFormat: SQLite database
Permissions: User-only read/write (600)
🔧 Development
# Install dependencies
pnpm install
# Build
pnpm build
# Run tests
pnpm test
# Type check
pnpm typecheck🔍 Troubleshooting
Server won't start
Ensure Node.js v20+ is installed:
node --versionCheck database directory permissions:
ls -la ~/.prompt-storeView error logs: errors output to stderr
Database corruption
Backup:
cp ~/.prompt-store/prompts.db ~/.prompt-store/prompts.db.backupReset:
npx -y @mhoshdev/prompt-store-mcp@latest --resetRe-add prompts
MCP client can't connect
Verify MCP client configuration path is correct
Restart MCP client after configuration changes
Ensure
npx -y @mhoshdev/prompt-store-mcp@latestruns successfully in terminal
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceA lightweight, file-based server for managing and serving personal prompt templates with variable substitution support via the Model Context Protocol. It allows users to store, update, and organize prompts in a local directory through integrated MCP tools and CLI assistants.97MIT
- Alicense-qualityDmaintenanceA self-hosted remote MCP server that provides reusable prompts and development conventions across various AI tools. It features a modular architecture for organizing and namespacing custom prompts to streamline AI-assisted coding workflows.MIT
- Flicense-qualityDmaintenanceAn MCP server that enables users to manage, search, and apply specialized AI personas within Claude Desktop and Claude Code CLI. It features a local-first architecture with YAML-based storage for organizing curated prompts and role collections.1
- Alicense-qualityDmaintenanceLocal-first MCP server that extracts structured knowledge from markdown notes into SQLite with full-text search, enabling AI coding tools to retrieve relevant context offline at zero cost.3MIT
Related MCP Connectors
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Person-owned, portable AI memory as a remote MCP server, readable and writable by any MCP client.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mhoshdev/prompt-store-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server