Logo vun Claude Code Prompt Engineer MCP Server

Claude Code Prompt Engineer MCP Server

Communautéit
gr3enarr0w

Claude Code Prompt Engineer MCP Server

Editeurgr3enarr0w
Repositorycc_peng_mcp
SproochJavaScript
Forks
4
Stären
12
Disponibel Tools
0
Transporttypstdio
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Claude Code Prompt Engineer MCP Server stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    12 Stären an 4 Forks aus dem verlinkte Repository.

Claude Code Prompt Engineer MCP Server

An advanced Model Context Protocol (MCP) server that intelligently engineers and optimizes prompts for Claude Code, with interactive refinement capabilities and automatic optimization.

Features

🚀 Intelligent Prompt Engineering

  • Automatically detects programming language and task type
  • Optimizes prompts specifically for Claude Code's capabilities
  • Leverages knowledge of Claude Code's tools and workflows

🤖 Interactive Refinement

  • Q&A-based prompt clarification system
  • Context-aware question generation
  • Session-based refinement process

⚡ Automatic Optimization

  • Language-specific prompt enhancement
  • Task complexity detection
  • Claude Code capability awareness
  • No external API dependencies - works entirely with built-in capabilities

Installation & Setup

1. Install Dependencies

bash
npm install

2. Configure Claude Code

Create or update your .mcp.json configuration file:

json
{
  "mcpServers": {
    "prompt-engineer": {
      "command": "node",
      "args": ["/absolute/path/to/cc_peng_mcp/index.ts"],
      "env": {}
    }
  }
}

3. Restart Claude Code

bash
# Exit current session and start new one
claude

4. Verify Installation

bash
/mcp

You should see prompt-engineer listed as connected.

Usage with Claude Code

🎯 Auto-Optimization (Primary Usage)

Simply use the tools directly - no setup required:

Use the auto_optimize tool to analyze: "fix my React app performance issues"

Interactive Mode for Complex Requests

Use the engineer_prompt tool with interactive=true for: "create a new authentication system"

Direct Prompt Engineering

Use the engineer_prompt tool with prompt="optimize my database queries" and language="python"

Available Tools

auto_optimize ⭐ Primary Tool

Automatically detects and optimizes natural language text:

  • text (required): Your natural language text/request
  • context (optional): Additional project context
  • interactive (optional): Force interactive questioning

engineer_prompt

Manual prompt engineering with specific parameters:

  • prompt (required): The raw user prompt that needs engineering
  • language (optional): Programming language (auto-detected if not provided)
  • context (optional): Additional project context
  • interactive (optional): Enable Q&A refinement process

answer_questions

Used to provide answers during interactive sessions:

  • sessionId (required): Session ID from interactive mode
  • answers (required): Array of answers to the questions

How It Works

1. Natural Language Detection

The system automatically identifies when your text is natural language that needs optimization by detecting:

  • Request patterns: "help me", "can you", "i need", "i want"
  • Problem descriptions: "issue", "bug", "not working", "broken"
  • Task indicators: "create", "build", "fix", "optimize"
  • Questions: "how do", "what is", "why is"
  • Conversational markers: "i'm", "i think", "not sure"

2. Built-in Intelligence

  • No API calls required - uses pattern matching and rule-based optimization
  • Language detection via regex patterns for 10+ programming languages
  • Task type detection (debug, test, refactor, explain, architecture)
  • Complexity analysis based on text length and technical indicators

3. Claude Code Optimization

Prompts are optimized knowing Claude Code's capabilities:

  • File system operations (Read, Write, Edit)
  • Code search (Grep, Glob patterns)
  • Git operations and workflow management
  • Todo list management for complex tasks
  • Browser automation via Playwright MCP
  • GitHub integration

4. Interactive Refinement

When needed, the system:

  • Generates clarifying questions based on your prompt
  • Creates a session to track the conversation
  • Refines the prompt based on your answers
  • Delivers a highly optimized final prompt

Example Workflows

🎯 Auto-Optimization Example

Input:

"my website is slow and users are complaining"

Auto-Optimized Output:

**Task:** Debug and fix the following issue:

my website is slow and users are complaining

**Requirements:**
- Use file search tools (Grep/Glob) to locate relevant code
- Read and analyze the problematic files
- Identify the root cause and implement a fix
- Test the solution if possible

**Ready to proceed with this task?**

🤖 Interactive Mode Example

Input: "make my app better"

Questions Generated:

  1. What specific aspect needs improvement (performance, readability, maintainability)?
  2. What technology stack or programming language are you using?
  3. Are there any constraints or requirements I should know about?

After Answers: Creates detailed, structured prompt with your specific requirements.

Benefits

✅ No Setup Required: Works immediately after MCP configuration
✅ No API Keys: Uses only built-in Claude Code capabilities
✅ Context Aware: Understands your project and requirements
✅ Interactive: Asks clarifying questions when needed
✅ Systematic: Structures complex requests properly
✅ Fast: No external API calls for instant optimization

Requirements

  • Node.js 16+
  • TypeScript support (tsx recommended)
  • Claude Code CLI
  • No external API keys required

Technical Details

Supported Languages

  • JavaScript/Node.js, TypeScript, Python, Java, C++, Rust, Go, PHP, Ruby, C#/.NET

Task Types

  • Debug: Bug fixing and error resolution
  • Test: Unit testing and test creation
  • Refactor: Code improvement and restructuring
  • Explain: Code explanation and documentation
  • Architecture: System design and patterns
  • Code: General coding tasks (default)

Architecture

  • Pure pattern matching - no machine learning models
  • Rule-based optimization - deterministic and fast
  • Session management - for interactive conversations
  • Built-in language detection - regex-based patterns

License

MIT License - feel free to modify and distribute.

Installation Guide

See INSTALL.md for detailed installation instructions, troubleshooting, and advanced configuration options.

Installatioun

TypingMind
{
  "mcpServers": {
    "cc-peng-mcp": {
      "command": "node",
      "args": [
        "/absolute/path/to/cc_peng_mcp/index.ts"
      ]
    }
  }
}

Claude Code Prompt Engineer MCP Server MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Claude Code Prompt Engineer MCP Server verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Claude Code Prompt Engineer MCP Server als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Claude Code Prompt Engineer MCP Server an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "cc-peng-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "claude-code-prompt-engineer-mcp"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Claude Code Prompt Engineer MCP Server. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Claude Code Prompt Engineer MCP Server.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Claude Code Prompt Engineer MCP Server?
Claude Code Prompt Engineer MCP Server
Jo. Ech hunn et gelies.
Dat hunn ech mat Claude Code Prompt Engineer MCP Server fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Claude Code Prompt Engineer MCP Server benotzt?

Claude Code Prompt Engineer MCP Server ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Claude Code Prompt Engineer MCP Server MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Claude Code Prompt Engineer MCP Server mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Claude Code Prompt Engineer MCP Server MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Claude Code Prompt Engineer MCP Server verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Claude Code Prompt Engineer MCP Server MCP mat TypingMind?

Claude Code Prompt Engineer MCP Server leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Claude Code Prompt Engineer MCP Server MCP an TypingMind zur Verfügung?

Claude Code Prompt Engineer MCP Server stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Claude Code Prompt Engineer MCP Server MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Claude Code Prompt Engineer MCP Server eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇