如何配置多目录加载模板?
设置环境变量`TEMPLATE_DIRS`,值为逗号分隔的目录路径,例如`TEMPLATE_DIRS="./dir1,./dir2"`。也可通过命令行参数`--template-dirs`指定,优先级高于单目录配置。
@enjoyzl
Basic information
No overview available yet
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-prompts": {
"command": "node",
"args": [
"dist/index.js",
"--template-dirs=./dir1,./dir2,./dir3"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
基于MCP协议的AI提示词库服务器,为软件开发全生命周期提供结构化提示词模板。支持MCP协议和HTTP REST API双重访问方式,内置60+专业模板,覆盖需求分析、架构设计、开发、测试、部署等环节。
通过git clone、npm install && npm run build安装,然后npm start启动MCP服务器或npm run start:http启动HTTP服务器。支持通过环境变量TEMPLATE_DIR(单目录)或TEMPLATE_DIRS(多目录)配置模板加载路径,也可用--template-dirs命令行参数。MCP客户端可调用enhancePrompt、searchTemplates等工具,HTTP客户端访问对应REST接口。
设置环境变量`TEMPLATE_DIRS`,值为逗号分隔的目录路径,例如`TEMPLATE_DIRS="./dir1,./dir2"`。也可通过命令行参数`--template-dirs`指定,优先级高于单目录配置。
需要Node.js环境,通过npm安装依赖后编译运行。模板文件使用Markdown格式,存放在本地文件系统中。
支持三种占位符:`{{用户输入}}`用于主要用户输入,`${变量名}`表示自定义变量,`{{}}`表示空占位符等待填充。
执行`npm run start:http`启动HTTP服务器,默认监听3000端口(可通过`PORT`环境变量修改),提供`/api/enhance`、`/api/categories`等REST接口。
是的,README提供了Windows(cmd)和Mac/Linux(bash)的完整配置示例,包括单目录和多目录模式。

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi

See and control a real Windows PC you own — from any MCP client, locally or remotely. Observe (UIA + screenshots), click/type/drag/scroll, launch apps, owner Live View. BYOH: your machine, your key.

LoadOptimizer plans truck, container and pallet loads with a real optimization engine, straight from your AI assistant. Describe the order in plain language, for example "plan 36 Euro pallets on a standard 13.6 m trailer

Run advanced phishing, voice phishing, deepfake fraud simulations, and cybersecurity awareness training from your AI assistant.
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Comments