promptbuilder-mcp Server

MCP server for Prompt Builder — search, retrieve, and compile prompt components from a community vault using semantic search (pgvector) and slug-based lookup. Works with Claude Desktop and Cursor.

Documentation

promptbuilder-mcp

MCP server for Prompt Builder — access your prompt vault from Claude Desktop, Cursor, and any MCP-compatible client.

Prerequisites

  • Node.js 18+
  • A Prompt Builder account with an API key (generate one at /settings)

Installation

npm install -g promptbuilder-mcp

Configuration

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "promptbuilder": {
      "command": "promptbuilder-mcp",
      "args": ["--key", "pb_your_api_key"]
    }
  }
}

Config file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Cursor

Add to Cursor MCP settings:

{
  "promptbuilder": {
    "command": "promptbuilder-mcp",
    "args": ["--key", "pb_your_api_key"]
  }
}

Available Tools

ToolDescription
list_componentsList components by type — persona, protocol, format, template
get_componentFetch full component content by ID
search_componentsSearch components by name
list_packsList community packs by category
get_packFetch a complete pack with all resolved components

Example Usage in Claude

"Load my HR Business Partner persona from Prompt Builder"

"Find a code review protocol in my vault"

"Get the Employee Performance Review pack"

License

MIT