Skip to main content
Glama

fp-prompts

Fast Prompting - Stop repeating yourself when coding.

An MCP server for managing reusable prompts across AI coding tools (Claude Code, Cursor, Codex, OpenCode, and more).

Installation

# Using uv (recommended)
uv pip install fp-prompts

# Using pip
pip install fp-prompts

Related MCP server: Prompt Store MCP

Quick Start

Add to Claude Code

Edit ~/.config/claude-code/mcp_servers.json:

{
  "mcpServers": {
    "fp": {
      "command": "fp-prompts"
    }
  }
}

Add to Codex

Edit ~/.codex/config.toml:

[mcp_servers.fp]
command = "fp-prompts"

Add to OpenCode

Edit ~/.config/opencode/opencode.json:

{
  "mcp": {
    "fp": {
      "type": "local",
      "command": ["fp-prompts"],
      "enabled": true
    }
  }
}

Add to Cursor

Edit MCP settings and add:

{
  "fp": {
    "command": "fp-prompts"
  }
}

Usage

Once configured, you can ask your AI assistant:

  • "Search my prompts for genserver" - finds matching prompts

  • "Get the elixir-migration prompt" - retrieves full content

  • "Save this as 'phoenix-liveview' in coding: [content]" - saves a prompt

  • "Browse my coding prompts" - lists prompts in a category

  • "Show recent prompts" - shows recently modified

MCP Tools

Tool

Description

browse(path?)

Navigate prompt folders

search(query)

Full-text search

get(name, category?)

Retrieve prompt content

save(name, content, category?)

Save/update prompt

delete(name, category?)

Delete prompt

categories()

List all categories

recent(limit?)

Recently modified prompts

Storage

Prompts are stored as markdown files in ~/.prompts/:

~/.prompts/
├── coding/
│   ├── elixir-genserver.md
│   └── phoenix-liveview.md
├── debugging/
│   └── process-debug.md
├── architecture/
│   └── context-boundaries.md
└── common/
    └── quick-fix.md

Shell Functions (Optional)

For terminal power users, add to your .zshrc or .bashrc:

# Download shell functions
curl -o ~/.local/bin/fp.zsh https://raw.githubusercontent.com/fosferon/fp-prompts/main/fp.zsh
source ~/.local/bin/fp.zsh

Then use:

  • fp? query - Search

  • fp/ [category] - Browse

  • fp@ name - Get (copies to clipboard)

  • fp> name [category] - Save

  • fp- name - Delete

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that enables users to save, search, and manage AI conversation records as organized Markdown files across various IDEs. It automatically categorizes sessions by IDE name, date, and description for efficient storage and easy retrieval.
      5
      19 npm
      6
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A local-only MCP server that uses SQLite to store, search, and manage a personal library of AI prompts. It enables developers to organize and reuse prompts across multiple AI clients like Claude and Cursor while keeping all data on their local machine.
      8 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      This MCP server provides access to resources and prompts from GitHub repositories or the local filesystem, enabling teams to share coding standards, documentation, and reusable prompts with AI tools like Claude.
      1
      ISC