promptbuilder-mcp

MCP server cho Prompt Builder — tìm kiếm, truy xuất và biên soạn các thành phần prompt từ kho lưu trữ cộng đồng bằng cách sử dụng tìm kiếm ngữ nghĩa (pgvector) và tra cứu dựa trên slug. Hoạt động với Claude Desktop và Cursor.

Tài liệu

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