prompt-templates-mcp

prompt-templates-mcp

3.3

If you are the rightful owner of prompt-templates-mcp 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 prompt templates with dynamic variable substitution.

The Prompt Templates MCP Server is designed to streamline the management of prompt templates by providing dynamic variable extraction and substitution capabilities. It allows users to save, update, retrieve, and manage reusable prompt templates efficiently. The server is equipped with a REST API for seamless integration with external applications and uses Cloudflare D1 database for persistent storage. By automatically detecting variable placeholders within templates, it simplifies the process of rendering templates with provided input values. This server is built using the HONC stack, which includes Hono for the web framework and Cloudflare Workers for a serverless platform, ensuring a robust and scalable solution for prompt template management.

Features

  • Dynamic Variable Extraction: Automatically detects `{variable}` placeholders in templates.
  • MCP Tools: Full set of tools for template management accessible via MCP clients.
  • REST API: HTTP endpoints for integration with external applications.
  • Persistent Storage: Uses Cloudflare D1 database for reliable storage.
  • Variable Substitution: Render templates with provided input values.

Tools

  1. save_prompt_template

    Save new templates with automatic input extraction.

  2. update_prompt_template

    Modify existing templates.

  3. delete_prompt_template

    Remove templates.

  4. list_prompt_templates

    View all saved templates.

  5. get_prompt_by_name

    Retrieve and render templates with input values.