promptflow-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@promptflow-mcpsave a greeting template with a {{name}} variable"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
✨ 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
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server for generating rough-draft project plans from natural-language prompts.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
MCP server for building and testing AI agents with multi-model experimentation and insights.
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.5816MIT
- AlicenseNot gradedqualityCmaintenanceMCP 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 gradedqualityCmaintenanceGit-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