claude-prompt-manager

MCP.Pizza Chef: kennethnym

The claude-prompt-manager (cpm) is a TypeScript-based MCP client designed to manage prompts for Claude via the Model Context Protocol. It provides a command-line interface to create, list, and manage saved prompts efficiently. The client supports argument handling (work in progress) and integrates seamlessly with Claude Desktop by configuring MCP server settings. It facilitates streamlined prompt management for developers and users working with Claude, enhancing productivity and control over prompt workflows. Debugging support is available through the MCP Inspector tool, making development and troubleshooting easier.

Use This MCP client To

Create and save prompts for Claude from the command line List all saved prompts for quick access Manage prompt arguments for dynamic input Integrate prompt management with Claude Desktop Automate prompt workflows in development environments

README

cpm-server MCP Server

a prompt manager for claude

This is a TypeScript-based MCP server that implements a prompt manager for claude.

Features

  • creating prompts from the command line
  • listing all your saved prompts
  • arguments support (WIP)

Development

Install dependencies:

bun install

Build the server:

bun run build

For development with auto-rebuild:

bun run watch

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "cpm-server": {
      "command": "/path/to/cpm-server/build/index.js"
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

claude-prompt-manager FAQ

How do I install claude-prompt-manager dependencies?
Use 'bun install' to install all required dependencies for claude-prompt-manager.
How can I build the claude-prompt-manager server?
Run 'bun run build' to compile the TypeScript code into a runnable server.
How do I enable auto-rebuild during development?
Use 'bun run watch' to automatically rebuild the server on code changes.
How do I configure claude-prompt-manager with Claude Desktop?
Add the server config to the claude_desktop_config.json file in the appropriate OS directory, specifying the command path to the built server.
What is the recommended way to debug claude-prompt-manager?
Use the MCP Inspector tool via 'npm run inspector' to monitor MCP server communication over stdio.
Does claude-prompt-manager support argument handling for prompts?
Yes, argument support is currently a work in progress to enable dynamic prompt inputs.
Can claude-prompt-manager be used with other LLM providers?
While designed for Claude, MCP protocol compatibility allows potential integration with other providers like OpenAI and Gemini with appropriate adaptations.
What programming language is claude-prompt-manager written in?
It is implemented in TypeScript, facilitating modern development practices and type safety.