About Prompt Manager
Prompt Manager is a web and API system for creating, organizing, and editing AI prompts. It stands out through composable templates, prompt directories, and real-time editing.
Key features
- 01Create and organize standard or composite prompts
- 02Compose templates with inclusions and expansions
- 03Edit prompts in real time over WebSocket
- 04Manage prompts through a REST API
- 05Organize prompts into directories
Use cases
- 01Build reusable prompts from composable elements
- 02Edit prompt content live through the web interface
- 03Manage prompt collections programmatically
- 04Expand templates before using them
MCP support
Its MCP server integrates managed prompts into MCP-compatible AI workflows, including Claude Desktop compatibility.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEPrompt Manager
A standalone system for managing AI prompts with composable elements.
Overview
Prompt Manager provides a web interface and API for creating, organizing, and managing prompts for AI interactions. It supports composable templates, prompt directories, and real-time editing. There is a focus on keyboard shortcuts and efficient workflow- directory listing and prompt embedding support tab completion, most interactions can be navigated using keyboard shortcuts, etc.
Features
- Create and manage prompts (standard and composite)
- Compose templates with prompt inclusions and expansions
- Real-time editing via WebSocket (for prompts)
- Access prompts via RESTful API
- Render templates with all inclusions expanded
- Organize prompts in directories
- Integrates with Model Context Protocol (MCP) for advanced prompt workflows
Quick Start
-
Clone the repository:
git clone <repository-url> cd prompt_manager -
Set up the environment (choose one):
# Using Taskfile (recommended for full dev setup) task setup:py task setup:js task setup:e2e # Or using Makefile make setup -
Run the application:
./bin/start_prompt_manager.sh # Or bin/restart_prompt_manager.sh -
Open your browser to http://localhost:8081
Usage
The prompt manager can be used in two ways:
- Web Interface: Access the web UI at http://localhost:8081
- API: Use the RESTful API endpoints to programmatically manage prompts
API Endpoints
Prompt Management
GET /api/prompts/all: List all promptsGET /api/prompts/{prompt_id}: Get a specific promptPOST /api/prompts: Create a new promptPUT /api/prompts/{prompt_id}: Update a promptDELETE /api/prompts/{prompt_id}: Delete a promptPOST /api/prompts/expand: Render a template with inclusions expandedPOST /api/prompts/rename: Rename a prompt
Directory Management
GET /api/prompts/directories/all: List all prompt directoriesPOST /api/prompts/directories: Add a new directoryDELETE /api/prompts/directories/{directory_path}: Remove a directoryPOST /api/prompts/reload: Reload all prompts from all directories
WebSocket Interface
- Connect to
/api/prompts/ws/{prompt_id}for real-time prompt editing - Uses standard WebSocket protocol with JSON messages for updates
Configuration
The system uses several directories for prompt storage:
- Project data directory:
prompt_manager/data/prompts/ - User config directory:
~/.prompt_manager/prompts/
MCP Integration
Prompt Manager supports integration with the Model Context Protocol (MCP) for advanced prompt workflows and Claude Desktop compatibility. See mcp_server/ and related scripts for details.
Development & Testing
- Run tests with
pytestor using the provided Taskfile/Makefile targets. - See
CHANGES.mdfor recent updates and protocol fixes. - See
README.mdinmcp_server/for MCP-specific details.
License
Apache License 2.0. See LICENSE.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.