prompt-library-mcp

smissingham/prompt-library-mcp

3.2

If you are the rightful owner of prompt-library-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Prompt Library MCP Server is a tool designed to serve AI prompts from a local markdown file library, facilitating standardized prompt access for AI tools.

Prompt Library MCP Server

Current Functionality

  • Provide a filepath, all markdown files will be read and served as prompts
  • Nested files will prepend their folder names, with hyphens, as the prompt name
  • One default meta prompt, to help create other prompts

Prompt Library Directory Example

prompts/
ā”œā”€ā”€ my-prompt.md
ā”œā”€ā”€ another-prompt.md
ā”œā”€ā”€ ignored-file.somethingElse
└── category/
    └── specialized-prompt.md

Future Features

  • More default prompts
  • MCP Tools for Creation & Modification of Prompts
  • Prompt variable support
  • Prompt frontmatter descriptors
  • Live Reload of Prompts List
    • This is already implemented by server, but probably not by clients

Installation

Note, all env vars are optional, but at least one is required to get prompts

Cursor

Install MCP Server

Other MCP Client

{
  "PromptLibrary": {
    "command": "npx",
    "args": [
        "-y",
        "prompt-library-mcp@latest"
    ],
    "env": {
        "LIBRARY_PATH": "/path/to/your/stored/prompts",
        "DEFAULT_PROMPTS": "false",
        "SERVER_NAME": "Optional: Overwrite MCP Server Name",
        "SERVER_LOG": "/path/to/log/file/is/optional"
    }
  }
}

See for development instructions.