
Claude Prompts Mcp
io.github.minipuft由 GitHub 账号 minipuft 发布v4.0.1更新于 Oct 27, 2026
Reusable prompt templates, multi-step workflow chains, and quality gates for any MCP client.
发布方自己的服务:Claude Platform Docs
概览
本地 MCP 服务器,为 AI 编程客户端提供可复用提示词模板、多步工作流链、校验门与推理框架。
- 可以做什么
- 运行带命名参数、推理框架和输出风格的版本化提示词模板
- 把提示词串成多步工作流,在步骤间传递上下文并交接给客户端代理
- 在步骤之间用自评门或 shell 命令校验输出,支持重试与循环预设
- 通过资源管理工具创建、编辑、版本化并回滚提示词、门与框架
- 查看服务器状态、分析数据并切换框架
- 将提示词导出为客户端原生技能
- 适用场景
- 适合反复编写相同提示词、需要运行多步工作流,或希望与团队共享可复用提示词和校验规则的人。若客户端内置命令已能满足需求,或你想要无代码的提示词库,则不必安装。
- 运行要求
- 以 npm 包(npx claude-prompts)或自包含桌面安装包在本地通过 stdio 运行;npm 方式需要 Node.js。部分客户端可通过插件安装器获得钩子,自定义工作区路径可用 MCP_RESOURCES_PATH 指定。
安装
在 SourceWeft 中
- 打开 控制台中的 Claude Prompts Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Claude Prompts
The portable workflow layer beside your AI coding harness.
Your client executes with its own tools, agents, and context.
Claude Prompts adds reusable prompt resources, composable chains, validation gates, and client-native skill export.
[Set up the Claude Code plugin] [Set up the experimental Codex plugin]
Quick Start · What You Get · Compose Workflows · Run Anywhere · Docs
What your AI client gives you — and what this server adds
Is this for me?
- Use this if you write the same prompts repeatedly, run multi-step workflows, or want to share reusable prompts with a team.
- Skip if your client's built-in
/commandsalready handle what you need, or you're looking for a no-code prompt library. - Works with Claude Code, Claude Desktop, Cursor, OpenCode, Gemini CLI, Codex, Windsurf, and Zed. Plugin installers add hooks (chain tracking, gate enforcement, state preservation) for Claude Code, OpenCode, Gemini CLI, and Codex (experimental); other clients run MCP-only.
Quick Start
Claude Code (Recommended)
Development setup
Load plugin from local source for development:
Edit hooks/prompts → restart Claude Code. Edit TypeScript → rebuild first.
Codex (Experimental)
Codex hooks require Codex CLI 0.117 or later and are unavailable on Windows. See the codex-prompts requirements for Python and Node.js prerequisites.
Enable hooks in ~/.codex/config.toml:
Then install the plugin:
Restart Codex, run /hooks to review the plugin hooks, then try >>tech_evaluation_chain library:'zod' context:'API validation'.
More Client Setups
Claude Desktop
Option A: GitHub Release (recommended)
- Download
claude-prompts-{version}.mcpbfrom Releases - Drag into Claude Desktop Settings → MCP Servers
- Done
The .mcpb bundle is self-contained (~5MB); no npm required.
Option B: NPX (auto-updates)
Add to your config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop and test: >>research_chain topic:'remote team policies'
Other clients: VS Code · Cursor · OpenCode · Gemini CLI · Windsurf · Zed · From Source
Client setup: VS Code, Cursor, and other MCP-only clients use the manual configuration guide below.
Plugin installers (recommended where available; adds hooks):
Manual config for VS Code, Cursor, OpenCode (no hooks), Gemini CLI (no hooks), Codex (no plugin hooks), Windsurf, and Zed: see Client Integration Guide for per-client config locations, JSON examples, and --client preset matrix. Client Capabilities Reference covers profile mapping and limits.
From source (developers):
Point your MCP config to server/dist/index.js. Transport: --transport=stdio (default) or --transport=streamable-http.
Custom resources: --init=~/my-prompts scaffolds a starter workspace: three example prompts plus config.jsonc. Edit them (YAML schema), or have your AI author new prompts, gates, and frameworks via resource_manager. Point MCP_RESOURCES_PATH at an existing workspace if you already have one in the right shape. Resources that belong to one repository go in .claude-prompts/ at its root (cpm init --project scaffolds it) and load above your workspace over STDIO. See Custom Resources Guide.
What You Get
Four primitives you author, version, and compose. The bundled set ships 52 prompts across 9 categories — a starting library, not the ceiling: your AI writes new prompts and chains through resource_manager as it works, so the set grows around what you actually do. All hot-reloadable, all versioned with rollback.
Prompts, gates, and frameworks are managed through the resource_manager tool. Your AI creates, edits, versions, and rolls them back through MCP, no file editing required. Styles are managed with the bundled cpm CLI. Failed gate checks can retry automatically or pause for your decision (Gates Guide). Build your first primitive: Prompt Authoring Tutorial.
The Three Tools
Everything above reaches your client through three MCP tools:
Most users invoke these via >> syntax in conversation; hooks construct the actual calls. For programmatic MCP clients calling tools directly, see MCP Tools Reference.
Compose Workflows
How to write a chain
Read top-to-bottom:
>>review target:'src/auth/'runs thereviewprompt against your auth folder.^ReACToverlays the ReACT reasoning framework on this step.:: 'cite sources'adds a gate the AI must satisfy (cite sources, or retry).--> security_scan :: verify:"npm test"chains to step 2, which must passnpm testbefore producing output.==> implementationhands the final step off to a client-native agent (a subagent in Claude Code).
review ships with the server; security_scan and implementation stand in for prompts you write.
Validation runs between steps, not only at the end. For the full operator grammar and examples, see MCP Tools Reference.
No video player here? Open the GIF.
[One Claude Code session, with a side panel showing what the hooks and the server do: npm test fails, >>status is routed by the hook, resource_manager creates a prompt, a two-step chain runs it under ^ReACT, the server runs npm test as the gate, and the review step approves the result]Recorded live in Claude Code on Sonnet, sped up, nothing re-ordered or retyped. The side panel is a second recording of the same moments, shown while the session pauses: what each hook did and the server's own npm test run for the gate. The tests are red, the AI authors a prompt through resource_manager, a two-step chain implements under ^ReACT, the verify:"npm test" gate passes, and review approves. Replay the source yourself: asciinema play assets/demos/src/hero/hero.cast (recorder and storyboard beside it).
Two patterns extend the basic syntax. Chains also support context threading between steps and agent handoffs. See Chains Lifecycle and MCP Tools Reference.
See the output: tech evaluation chain with context7 research
[Tech evaluation chain researching Zod via context7, producing a scored assessment table with security, performance, DX, integration, and ecosystem ratings]
Context7 fetches live library docs mid-chain. The final output is a structured assessment with sources.
Verification Loops
Ground-truth validation via shell commands. The AI keeps iterating until tests pass:
Implements, runs the test, reads failures, fixes, retries. Spawns a fresh context after repeated failures to avoid context rot.
implement-feature stands for your own prompt: :: verify attaches to any of them.
For autonomous test-fix cycles with context-rot prevention: Ralph Loops Guide.
Judge Mode
Let the AI pick the right resources for the task:
Analyzes available templates, reasoning frameworks, validation rules, and styles, then recommends the best combination. You confirm before it runs. For scoring and overrides see Judge Mode Guide.
Run Anywhere
Author workflows as YAML templates. Export as native skills to your client.
The review prompt becomes a /review Claude Code skill. validate_work becomes /validate_work. Same source, native experience; no MCP call required at runtime.
Compiles to native skill packages for Claude Code, Cursor, Codex and OpenCode. npm run skills:diff flags when exports drift from source. Configuration, supported clients, and drift detection: Skills Sync Guide.
With Hooks
Without hooks, you're calling the three MCP tools explicitly (the LLM constructs each call). With hooks, the operators work in conversation: >>, -->, ==>, :: feel native rather than mediated, and workflow state survives across LLM turns and context compaction.
What hooks unlock:
Hooks ship with the plugin install. Full support on Claude Code (this repo) and OpenCode; partial on Gemini CLI; experimental on Codex, where Codex hooks are off by default and each install requires a one-time /hooks trust review. Other clients get the three MCP tools but no hook-driven behaviors. Detail: hooks/README.md.
How It Works
Command with operators → server parses and injects resources (framework, gates, style) → client executes the rendered prompt and self-evaluates against the gates → router decides: next step on pass, retry on fail, return on done.
Full request lifecycle, pipeline stages, and subsystem diagrams: Architecture Overview.
Documentation
Choose a guide based on what you want to do: learn by building, complete a task, look up syntax, or understand the design.
Quick jumps: Build your first prompt · Chains lifecycle · MCP Tools reference · Architecture overview · Troubleshooting
Contributing
The build produces a self-contained bundle. server/dist/ is gitignored, and CI builds fresh from source.
See CONTRIBUTING.md for workflow details.
License
来源:README.md,提交 a4dbed4
工具
0版本历史
1- v4.0.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Claude 集成
Claude Platform Docs
com.claude.platform官方发布者
远程 MCP 服务器,让助手搜索并阅读 Claude 平台文档与 API 参考。

Insta Edits for Claude
由 GitHub 账号 faisalkhanzemi 发布
让 Claude 驱动 Mac 版 Instagram Edits 完整 274 个工具编辑器的桥接服务,并随项目打开同步工具列表。

Claude Checkpoint Mcp
由 GitHub 账号 daniel-munoz 发布
本地 MCP 服务器,把 Claude Code 会话的工作状态保存为项目内的 JSON 文件,并能还原成简短的续接摘要。

Qwen DAP MCP — C/C++ Debugger for Claude Code, Codex & Qwen
由 GitHub 账号 spk-c 发布
通过 GDB、LLDB 和 MCP 为 Claude Code、Codex 和 Qwen 提供 C/C++ 崩溃、挂起和转储调试AI 翻译

AVE for Claude Code — Local Video Editing
由 GitHub 账号 lemberalla 发布
仅适用于 Claude Code 的本地 AVE 时间线编辑与导出。需要现有 AVE 连接。AI 翻译