promptflow-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
β¨ Features
π Template registry β save prompts with variables (
{{input}})π Versioning β every edit creates a new version; nothing is lost
π Search β full-text search across name, body and tags
π§© Rendering β interpolate
{{variables}}at call timeπΎ Local-first β plain JSON on disk; back up or sync with git
π MCP native β works with any MCP client (Claude, Cursor, etc.)
Related MCP server: mcp-prompt-engine
π Quick start
# clone, install, build
git clone https://github.com/DuxuteLi70/promptflow-mcp.git
cd promptflow-mcp
npm install
npm run build
# run the tests
npm test
# start the MCP server
node dist/index.jsπ MCP tools
Tool | Description |
| Save or update a prompt template |
| List all templates (title, version, tags) |
| Get a template, rendered with variables |
| Full-text search |
| Remove a template |
| Show version history of a template |
π‘ Example
import { TemplateRegistry } from "./src/storage/store.js";
const reg = new TemplateRegistry();
// save a template
const id = reg.save("code-review", "Review this diff:\n{{diff}}", ["review"]);
// render it with variables
const rendered = reg.render(id, { diff: "..." });
// every save keeps history
reg.update(id, "Review this carefully:\n{{diff}}");
reg.versions(id); // [{version: 1, ...}, {version: 2, ...}]π¦ Project layout
promptflow-mcp/
βββ src/
β βββ index.ts # entry point
β βββ server.ts # MCP server wiring
β βββ tools/ # MCP tool definitions
β βββ storage/ # JSON-file template store
βββ tests/ # unit tests (node:test)
βββ docs/ # design & usage docs
βββ examples/ # MCP client config examples
βββ assets/ # logo + demo mediaπ€ Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
π License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
Related MCP Connectors
Your prompt library in any MCP client: list, fetch, save and version prompt templates.
Team prompt library with version control and reviews. Save, search and reuse prompts via MCP.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yoβ¦
Self-hosted AI prompt library: prompts, collections, tags, teams, chains. 29 MCP tools for agents.
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol server for managing prompt templates as markdown files with YAML frontmatter, allowing users and LLMs to easily add, retrieve, and manage prompts.522 npm17MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for managing and serving dynamic prompt templates using elegant and powerful text template engine. Create reusable, logic-driven prompts with variables, partials, and conditionals that can be served to any compatible MCP client like Claude Code, Claude Desktop, Gemini CLI, etc.18MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that helps users create, validate, manage, and optimize prompts using the RISEN framework (Role, Instructions, Steps, Expectations, Narrowing).1MIT
- AlicenseNot gradedqualityDmaintenanceGit-driven MCP server that manages and provides prompt templates with Handlebars support, enabling teams to collaborate on and version-control reusable, dynamic prompts across AI editors like Cursor and Claude Desktop.ISC