Skip to main content

MCP server and CLI for the Prompt Catalog — an open-source prompt library for AI-assisted software development

Project description

Prompt Catalog MCP Server & CLI

A working MCP server and command-line tool for the Prompt Catalog.

Installation

# From the repository root
cd server
pip install -e .

# Or install directly from GitHub
pip install git+https://github.com/KevinRabun/prompt-catalog.git#subdirectory=server

Requirements: Python 3.11+

CLI Usage

# List all prompts
prompt-catalog list

# Filter by category
prompt-catalog list --category domains
prompt-catalog list --platform web --skill intermediate

# Search prompts
prompt-catalog search fintech
prompt-catalog search "threat model"

# Show full prompt details
prompt-catalog show DOM-FINTECH-001
prompt-catalog show sec-threat-001 --raw    # Raw YAML

# Starter kits
prompt-catalog kit list
prompt-catalog kit show saas-web-app
prompt-catalog kit export saas-web-app --output ./my-project

# Interactive guided mode
prompt-catalog start

# Start MCP server
prompt-catalog serve

Interactive Mode

Run prompt-catalog start for a guided experience:

$ prompt-catalog start

┌─────────────────────────────────────────────┐
│ Welcome to Prompt Catalog                   │
│                                             │
│ Answer a few questions and I'll recommend   │
│ the right prompts, instructions, and        │
│ starter kit for your project.               │
└─────────────────────────────────────────────┘

What are you building?
  1. Web application (SaaS, portal, dashboard)
  2. Mobile app (Android, iOS, or cross-platform)
  3. API / Backend service
  ...

> 1

Target platform(s)?
> Web

Your experience level?
> intermediate

────────────────────────────────────────────────
Recommended Prompt Stack

Prompts:
  ✓ 1. PLAN-REQ-001 — Functional Requirements Elicitation [beginner]
  ✓ 2. PLAN-REQ-003 — User Story and Acceptance Criteria [intermediate]
  ✓ 3. ARCH-SYS-001 — System Architecture Design [intermediate]
  ✓ 4. DEV-WEB-001 — Web Application Development [intermediate]
  ...

Instructions to load:
  ✓ accuracy.instructions — Always — anti-hallucination guardrails
  ✓ security.instructions — Always — security baseline
  ✓ web.instructions — Platform — web guidance

Matching starter kit:
  → saas-web-app — SaaS Web Application

MCP Server

With Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "prompt-catalog": {
      "command": "prompt-catalog",
      "args": ["serve"],
      "env": {
        "CATALOG_ROOT": "/path/to/prompt-catalog"
      }
    }
  }
}

With VS Code / Copilot

Add to your MCP settings:

{
  "mcpServers": {
    "prompt-catalog": {
      "command": "prompt-catalog",
      "args": ["serve"],
      "env": {
        "CATALOG_ROOT": "c:\\Source\\prompt-catalog"
      }
    }
  }
}

Capabilities

The MCP server exposes:

Capability Description
Resources All 32 prompts + 18 instruction files as readable resources
Prompt Templates All prompts with {{variable}} substitution
Filtering Category, skill level, platform, and tag-based filtering

Development

git clone https://github.com/KevinRabun/prompt-catalog.git
cd prompt-catalog/server
pip install -e ".[dev]"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prompt_catalog-1.0.0.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prompt_catalog-1.0.0-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file prompt_catalog-1.0.0.tar.gz.

File metadata

  • Download URL: prompt_catalog-1.0.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for prompt_catalog-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9dc35246cc2a6001011c0d004220d2a7e3a02852e71c4a66dbc421af5e8fbca3
MD5 441c06855cf0d4cbe407905ee7bfa5ec
BLAKE2b-256 e2b70c44ad5fd33f1cf9bad70c25cb742dfdfe18fc1c4979c92ef79e1125d4db

See more details on using hashes here.

Provenance

The following attestation bundles were made for prompt_catalog-1.0.0.tar.gz:

Publisher: publish.yml on KevinRabun/prompt-catalog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file prompt_catalog-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: prompt_catalog-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for prompt_catalog-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b189b3276e4ae7fe5d324a372ca686fb12a62b54813e6179f6d14c0057146a5
MD5 a835ab0d63a15d8c7fd51217acc08b0a
BLAKE2b-256 c05304d031f187a1c9528011a53d81268ba2c5291c5eacd590e030c1a7a58909

See more details on using hashes here.

Provenance

The following attestation bundles were made for prompt_catalog-1.0.0-py3-none-any.whl:

Publisher: publish.yml on KevinRabun/prompt-catalog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page