如何配置多目录加载模板?
设置环境变量`TEMPLATE_DIRS`,值为逗号分隔的目录路径,例如`TEMPLATE_DIRS="./dir1,./dir2"`。也可通过命令行参数`--template-dirs`指定,优先级高于单目录配置。
@enjoyzl
基本情報
概要はまだありません
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-server-prompts": {
"command": "node",
"args": [
"dist/index.js",
"--template-dirs=./dir1,./dir2,./dir3"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
基于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)的完整配置示例,包括单目录和多目录模式。

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.
MCP Toolbox for Databases is an open source MCP server for databases.

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep

A free remote MCP server for The Living Bread. Bible passages read word for word from a stored public domain text with an evidence label, keyword search and cross references, real churches, gatherings and prayer groups w
A search tool helps dev to solve the naming things problem.
コメント