MCP Prompt Manager
A server for managing local prompt files, allowing AI models to create, retrieve, update, and delete them.
MCP Prompt Manager
Certified by MCP Review
This project is officially certified by MCP Review.
MCP (Model Context Protocol) Prompt Manager is a server that enables AI models like Claude to access local prompt files. It provides functionality for creating, retrieving, updating, and deleting prompts, allowing efficient management of frequently used prompts.
Key Features
- List all prompts
- Retrieve specific prompt content
- Create new prompts
- Update prompt content
- Delete prompts
Installation
Prerequisites
- Node.js v18 or higher
- npm
Installation Steps
-
Clone the repository
git clone https://github.com/Tae4an/mcp-prompt-manager.git cd mcp-prompt-manager
-
Install dependencies
npm install
-
Grant execution permissions
chmod +x server.js
Connecting to Claude Desktop
-
Install Claude Desktop (if not already installed)
-
Open Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Add the following content to the configuration file:
{ "mcpServers": { "promptManager": { "command": "node", "args": ["absolute_path_to_cloned_repository/server.js"] } } }
Example:
{ "mcpServers": { "promptManager": { "command": "node", "args": ["/Users/username/projects/mcp-prompt-manager/server.js"] } } }
-
Restart Claude Desktop
Usage
In Claude Desktop, click the tools icon (🛠️) to access the following MCP tools:
list-prompts
Retrieves a list of all prompts.
- Parameters: None
get-prompt
Retrieves the content of a specific prompt.
- Parameters:
filename
- Name of the prompt file to retrieve
create-prompt
Creates a new prompt.
- Parameters:
filename
- Name of the prompt file to create (e.g., my-prompt.txt)content
- Prompt content
update-prompt
Updates the content of an existing prompt.
- Parameters:
filename
- Name of the prompt file to updatecontent
- New prompt content
delete-prompt
Deletes a prompt.
- Parameters:
filename
- Name of the prompt file to delete
Advanced Configuration
Changing Prompt Storage Path
By default, prompts are stored in the prompts
folder in the directory where the server file is located. You can change the path using environment variables:
PROMPTS_DIR=/desired/path node server.js
Or set environment variables in claude_desktop_config.json:
{
"mcpServers": {
"promptManager": {
"command": "node",
"args": ["/absolute/path/mcp-prompt-manager/server.js"],
"env": {
"PROMPTS_DIR": "/desired/path"
}
}
}
}
Examples
-
Creating a new prompt:
- Tool:
create-prompt
- Filename:
greeting.txt
- Content:
You are a friendly and helpful AI assistant. Please respond politely to user questions.
- Tool:
-
Listing prompts:
- Tool:
list-prompts
- Tool:
-
Retrieving prompt content:
- Tool:
get-prompt
- Filename:
greeting.txt
- Tool:
Troubleshooting
If the MCP server doesn't connect
- Verify that the server file path is correct
- Check that the server has execution permissions
- Ensure Node.js version is v18 or higher
If tools don't appear
- Try restarting Claude Desktop
- Verify that the
claude_desktop_config.json
file is configured correctly
File access permission issues
- Ensure you have read/write permissions for the prompts directory
Related Servers
Unreasonable Thinking Server
A tool for bold and unconventional problem-solving, generating unique solutions by branching and tracking thoughts.
Rebrandly
Generate short URLs using the Rebrandly API.
Screen View
Capture and analyze screenshots using the Claude Vision API.
Anki Connect
Manage Anki flashcards and decks via the AnkiConnect plugin.
macOS Notification MCP
Trigger macOS notifications, sounds, and text-to-speech from an AI assistant.
Redmine MCP
Integrates Claude AI with the Redmine project management system to enhance project management tasks.
Hyperweb
A server for interacting with the Hyperweb platform and its tools using AI agents.
Mac Apps Launcher MCP Server
Launch and manage macOS applications. List installed apps, launch them by name, or open files with specific apps.
Bakaláři
Access data from the Bakaláři school system, including schedules, absences, and grades, through a standardized API.
Taiga MCP Server
A server for Taiga project management, enabling advanced sprint and issue tracking.