شعار Claude Prompts MCP Server

Claude Prompts MCP Server

المجتمع
minipuft

MCP server for reusable prompt templates, multi-step workflow chains, and quality gates. Compose agentic workflows with an operator syntax; export as native skills to Claude Code, Cursor, OpenCode, and Gemini CLI.

الناشرminipuft
المستودعclaude-prompts-mcp
اللغةTypeScript
التفريعات
33
النجوم
186
الأدوات المتاحة
3
نوع نقل البياناتstdio
الفئات
الترخيصMIT
الروابط
  • اربط الأدوات بمسارات عمل الذكاء الاصطناعي

    يتيح Claude Prompts MCP Server إمكانات MCP لتطبيقات الذكاء الاصطناعي العميلة المتوافقة معه، وكذلك لوكلاء الذكاء الاصطناعي المتوافقين معه.

  • الأدوات المتاحة: 3

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم مقتطفات التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات اهتمام المجتمع بالمستودع مفتوح المصدر

    إحصاءات المستودع المرتبط: النجوم: 186، والتفريعات: 33.

The portable workflow layer beside your AI coding harness.

Quick Start · What You Get · Compose Workflows · Run Anywhere · Docs

What your AI client gives you — and what this server adds

Your client already doesThis server adds
Run a promptCompose prompts with validation, reasoning guidance, and formatting in one expression
Single-shot skillsMulti-step workflows that thread context between steps
Execute subagentsHand off mid-chain steps to agents with full workflow context
Client-native skill formatAuthor once as YAML, export to any client with skills:export
Manual prompt writingVersioned templates with hot-reload, rollback, and history
Trust the outputValidate output between steps: self-evaluation and shell commands

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 /commands already 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)

bash
# Add marketplace (first time only)
/plugin marketplace add minipuft/minipuft-plugins

# Install
/plugin install claude-prompts@minipuft

# Try it
>>tech_evaluation_chain library:'zod' context:'API validation'

Load plugin from local source for development:

bash
git clone https://github.com/minipuft/claude-prompts-mcp ~/Applications/claude-prompts-mcp
cd ~/Applications/claude-prompts-mcp/server && npm install && npm run build
claude --plugin-dir ~/Applications/claude-prompts-mcp

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:

toml
[features]
hooks = true

Then install the plugin:

bash
codex plugin marketplace add https://github.com/minipuft/minipuft-plugins.git
codex plugin add codex-prompts@minipuft

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)

  1. Download claude-prompts-{version}.mcpb from Releases
  2. Drag into Claude Desktop Settings → MCP Servers
  3. 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
json
{
  "mcpServers": {
    "claude-prompts": {
      "command": "npx",
      "args": ["-y", "claude-prompts@latest", "--client", "claude-code"]
    }
  }
}

Restart Claude Desktop and test: >>research_chain topic:'remote team policies'

Client setup: VS Code, Cursor, and other MCP-only clients use the manual configuration guide below.

Plugin installers (recommended where available; adds hooks):

bash
# OpenCode (full hooks)
npm install -g opencode-prompts && opencode-prompts install

# Gemini CLI (partial hooks)
gemini extensions install https://github.com/minipuft/gemini-prompts

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):

bash
git clone https://github.com/minipuft/claude-prompts-mcp.git
cd claude-prompts-mcp/server && npm install && npm run build && npm test

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. See Custom Resources Guide.


What You Get

Four primitives you author, version, and compose. The bundled set ships 51 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.

PrimitiveSymbolWhat it isExample
Prompt template>>Versioned YAML with named arguments; hot-reload on save>>review target:'src/auth/'
Gate::Validation criterion the AI checks its own output against; blocking or advisory; can shell-verify:: 'cite sources' · :: verify:"npm test"
Framework@Reasoning framework that shapes how the AI works through the problem; plug in your own or use built-ins like @ReACT, @5W1H, or the project's own @CAGEERF scaffold (Frameworks Guide)@ReACT · @your_framework
Style#Output formatting and tone#analytical · #procedural

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:

ToolPurpose
prompt_engineExecute prompts with frameworks and validation
resource_managerCreate, update, version, and roll back resources
system_controlStatus, analytics, framework switching

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

>>review target:'src/auth/' @ReACT :: 'cite sources'
  --> security_scan :: verify:"npm test"
  ==> implementation

Read top-to-bottom:

  • >>review target:'src/auth/' runs the review prompt against your auth folder.
  • @ReACT overlays 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 pass npm test before producing output.
  • ==> implementation hands 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.

A gate catches a missing field, the model corrects itself, and the chain passes. Recorded on haiku, the cheapest model.

Two patterns extend the basic syntax. Chains also support context threading between steps and agent handoffs. See Chains Lifecycle and MCP Tools Reference.

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:

>>implement-feature :: verify:"npm test" loop:true

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.

PresetTriesTimeoutUse Case
:fast130sQuick check
:full55 minCI validation
:extended1010 minLarge test suites

For autonomous test-fix cycles with context-rot prevention: Ralph Loops Guide.

Judge Mode

Let the AI pick the right resources for the task:

%judge Help me refactor this authentication module

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.

[!IMPORTANT] There are two source-of-truth scopes. MCP prompt YAML under server/resources/ is canonical for skills compiled by this repository. Shared user-authored operational skills, rules, and global instructions are canonical in ~/.claude; Codex and OpenCode installations are one-way downstream consumers and must not be edited independently. Codex uses per-skill symlinks; Codex and OpenCode share a generated global AGENTS.md containing the global CLAUDE.md plus compact rule dispatch. OpenCode natively discovers ~/.claude/skills and loads that generated file through its instructions configuration. ~/.codex/rules/ remains reserved for Codex command-execution policy.

Repository guidance follows the same ownership rule. CLAUDE.md plus .claude/rules/*.md are canonical; the tracked AGENTS.md is a generated compact projection for clients that prefer that filename. It carries selected project-wide handbook sections plus conditional dispatch entries for every Claude rule rather than copying all rule bodies into always-loaded context. The renderer enforces Codex's documented default 32 KiB project-guidance budget. A pre-commit hook regenerates it from staged source bytes, and CI rejects drift:

bash
npm run guidance:sync   # regenerate AGENTS.md
npm run guidance:check  # verify the committed projection
yaml
# skills-sync.yaml — choose what to export
registrations:
  claude-code:
    user:
      - prompt:development/review
      - prompt:development/validate_work
bash
npm run skills:export

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 Claude Code skills, Cursor rules, OpenCode commands, and more. 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:

HookUnlocks
Auto-routing>>research_chain topic:'X' in chat fires the right MCP tool call without you naming it
Chain continuity across compactionMulti-step chains preserve state when context compacts mid-execution; the chain doesn't restart from scratch
Cross-step verdict trackingGate pass/fail verdicts thread across all chain steps without the LLM re-deriving them
Native agent handoffs==> routes to your client's subagent system automatically; no manual subagent invocation
Session persistenceWorkflow state preserved when context compacts mid-chain

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.

→ docs/README.md

Quick jumps: Build your first prompt · Chains lifecycle · MCP Tools reference · Architecture overview · Troubleshooting


Contributing

bash
cd server
npm install
npm run build        # esbuild bundles to dist/index.js
npm test             # Run test suite
npm run validate:all # Full CI validation

The build produces a self-contained bundle. server/dist/ is gitignored, and CI builds fresh from source.

See CONTRIBUTING.md for workflow details.


License

MIT

التثبيت

TypingMind
{
  "mcpServers": {
    "claude-prompts-mcp": {
      "command": "node",
      "args": [
        "path/to/claude-prompts-mcp/server/dist/index.js"
      ]
    }
  }
}

الأدوات المتاحة

  • prompt_engine

    🚀 PROMPT ENGINE [CAGEERF]: Execute prompts with C.A.G.E.E.R.F methodology and ground-truth validation.

    WHAT IT RETURNS: Prepared prompt + CAGEERF phase instructions (Context→Analysis→Goals→Execution→Evaluation→Refinement). WHAT YOU DO: Execute each phase yourself using the returned structure.

    SYNTAX:

    • prompt_id key:"value" # Run prompt with arguments

    • step1 --> >>step2 # Chain multiple steps

    • @CAGEERF >>prompt # Apply CAGEERF methodology
    • :: verify:"npm test" :full # Shell validation (5 attempts, 5min)
    • :: verify:"cmd" loop:true # Autonomous until pass

    PRESETS: :fast (1 try), :full (5 tries), :extended (10 tries) MODIFIERS: %clean (no injection), %lean (gates only), %judge (preview)

  • system_control

    ⚙️ SYSTEM CONTROL [CAGEERF]: System administration. Status shows current CAGEERF phase context.

  • resource_manager

    🗂️ RESOURCE MANAGER [CAGEERF]: Unified CRUD for prompts, gates, and methodologies.

    USAGE: resource_manager(resource_type:"prompt|gate|methodology", action:"...", ...) RESOURCE TYPES: prompt (templates), gate (quality criteria), methodology (frameworks) ACTIONS: create | update | delete | list | inspect | reload | switch (methodology only)

    Use action:"guide" with resource_type:"prompt" for phase-appropriate recommendations.

استخدم MCP الخاص بـ Claude Prompts MCP Server مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل Claude Prompts MCP Server، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal مفتوحة واترك العملية قيد التشغيل أثناء استخدام أدوات MCP.
3

إضافة Claude Prompts MCP Server كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ Claude Prompts MCP Server.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "claude-prompts-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "claude-prompts-root"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ Claude Prompts MCP Server، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ Claude Prompts MCP Server.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام Claude Prompts MCP Server لمساعدتي في هذه المهمة؟
Claude Prompts MCP Server
بالتأكيد. قرأته.
إليك ما وجدته باستخدام Claude Prompts MCP Server.

الأسئلة الشائعة

ما استخدامات خادم MCP Claude Prompts MCP Server؟

Claude Prompts MCP Server هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP Claude Prompts MCP Server مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام Claude Prompts MCP Server مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم خادم MCP Claude Prompts MCP Server مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل Claude Prompts MCP Server، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP Claude Prompts MCP Server بـ TypingMind؟

يعمل Claude Prompts MCP Server عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP Claude Prompts MCP Server في TypingMind؟

يتيح Claude Prompts MCP Server أدوات MCP يبلغ عددها 3، ويمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP Claude Prompts MCP Server؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويتيح لك التحكم بنفسك في مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP. إذا كان Claude Prompts MCP Server يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

codebase_protocol_init

Bootstrap a T3-style project with full protocol setup, tooling, and documentation updates.

scaffold_project

Interactive project scaffolding with LLM-friendly patterns. Creates complete project structures for TypeScript, Python, or hybrid projects with modern tooling, testing, and documentation.

scaffold_project/scaffold_analyze

Step 1 of project scaffolding. Gathers project requirements through interactive questioning when arguments are missing. Outputs a structured configuration JSON for the generate step.

scaffold_project/scaffold_generate

Step 2 of project scaffolding. Takes the configuration from scaffold_analyze and generates all project files with appropriate templates, configs, and LLM-friendly patterns.

scaffold_project/scaffold_review

Step 3 of project scaffolding. Summarizes the generated files, highlights key decisions, and asks for user confirmation before implementation.

create_gate

Guided quality gate creation with examples and validation. Outputs structured JSON for resource_manager.

create_methodology

Guided framework creation with examples from CAGEERF, ReACT. Outputs structured JSON for resource_manager.

create_prompt

Guided prompt/chain creation with examples and validation. Outputs structured JSON for resource_manager.

deep_analysis

Progressive analysis workflow for thorough research. Scans the topic, deep dives into key areas, synthesizes findings, and produces a structured notepage for reference.

quick_decision

Fast decision-making workflow with concise prompts. Identifies options, weighs tradeoffs, and provides a recommendation.

reference_demo

Demonstrates template reference features - {{ref:id}} for prompt inclusion and {{script:id}} for inline script execution

shared_intro

A reusable introduction block demonstrating the {{ref:id}} prompt reference syntax. Reference this prompt from other templates using {{ref:shared_intro}}

test_default

Tests defaultValue rendering

deep_analysis/deep_dive

Thorough investigation of key themes

deep_analysis/initial_scan

Broad overview and key themes identification

deep_analysis/notepage

Structured reference note for future use

deep_analysis/synthesis

Integrate findings into coherent understanding

quick_decision/identify_options

Identify 3-5 viable options for the decision

quick_decision/recommend

Provide final recommendation with rationale

quick_decision/weigh_tradeoffs

Analyze pros/cons of each option

github_repo_setup

Sets up GitHub repository with branch protection, CI workflows, release automation, and optional npm publishing

triage

Analyze ambiguous requests to produce structured Intent Declaration. Determines work type (bug_fix, feature, refactor, explore, optimize) and routes to appropriate next phase.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇