prompts-mcp-server

tanker327/prompts-mcp-server

3.4

If you are the rightful owner of prompts-mcp-server 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.

A Model Context Protocol (MCP) server for managing and providing prompts, allowing users and LLMs to easily add, retrieve, and manage prompt templates stored as markdown files with YAML frontmatter support.

The Prompts MCP Server is a robust tool designed to streamline the management of prompt templates for both users and language models. By leveraging markdown files with YAML frontmatter, it provides a structured and efficient way to store, retrieve, and manage prompts. The server is implemented in TypeScript, ensuring type safety and modern development practices. It features a modular architecture that separates concerns and allows for easy maintenance and extension. The server supports real-time caching, which ensures that prompt retrieval is fast and responsive, even with large collections of prompts. Additionally, it includes comprehensive testing to ensure reliability and performance. The server is compatible with various MCP clients, making it versatile and adaptable to different environments and use cases.

Features

  • Add Prompts: Store new prompts as markdown files with YAML frontmatter.
  • Retrieve Prompts: Get specific prompts by name.
  • List Prompts: View all available prompts with metadata preview.
  • Delete Prompts: Remove prompts from the collection.
  • Real-time Caching: In-memory cache with automatic file change monitoring.

Tools

  1. add_prompt

    Add a new prompt to the collection with optional YAML frontmatter.

  2. create_structured_prompt

    Create a new prompt with guided metadata structure and validation.

  3. get_prompt

    Retrieve a prompt by name.

  4. list_prompts

    List all available prompts with metadata preview.

  5. delete_prompt

    Delete a prompt by name.