- Home
- MCP servers
- Claude Code Prompt Engineer
Claude Code Prompt Engineer
- javascript
13
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"gr3enarr0w-cc_peng_mcp": {
"command": "node",
"args": [
"/absolute/path/to/cc_peng_mcp/index.ts"
]
}
}
}You deploy this MCP server to automatically engineer and optimize prompts for Claude Code, enabling interactive refinement and task-aware prompt construction without external APIs. It detects language and task type, refines prompts through a guided session, and delivers highly optimized prompts ready for Claude Code workflows.
How to use
Use the MCP client to access three core capabilities: auto optimization, interactive prompt engineering, and guided question answering during refinement.
Auto optimization analyzes natural language requests and returns a structured prompt that fits Claude Code’s strengths, including file system operations, code search, and Git workflows.
Interactive mode engages a session-based refinement loop. You provide a prompt, and the system asks clarifying questions. Answer with the session responses to generate a final, highly tailored prompt.
Direct prompt engineering lets you specify a raw prompt and optionally a language and context, producing an optimized prompt ready for Claude Code.
How to install
Prerequisites you should have installed before configuring the MCP server:
- Node.js 16+
- TypeScript support (tsx recommended)
- Claude Code CLI
npm install
Create or update your MCP configuration file to expose the local MCP server. The following config launches a local process for the Prompt Engineer MCP server.
## Configuration and startup
Configure your MCP client to connect to the local MCP server you define in the configuration. The server runs as a local process and is referenced by the command and path you provide.
{ "mcpServers": { "prompt_engineer": { "command": "node", "args": ["/absolute/path/to/cc_peng_mcp/index.ts"], "env": {} } } }
## Starting and verifying the MCP server
Restart Claude Code after configuring the MCP entry so the new server connects automatically.
Exit current session and start a new one
claude
Then verify the MCP connection is active by listing connected MCP servers.
Usage with Claude Code tools
Available tools you can use with Claude Code through this MCP server include auto_optimize, engineer_prompt, and answer_questions. Each tool has a specific purpose for constructing and refining prompts.
Example workflows
Auto-Optimization: Provide a natural language task and receive a structured, Claude Code-ready prompt.
Interactive Mode: Use interactive=true to trigger a session where clarifying questions are generated and answered to refine the prompt.
Notes and best practices
No external API keys are required. The server uses built-in capabilities and deterministic, rule-based optimization. Ensure your project context is included when available to improve results.
Available tools
auto_optimize
Automatically detects and optimizes natural language text, producing a Claude Code-ready prompt. Inputs include text, and optional context and interactive flags.
engineer_prompt
Manual prompt engineering with a specified prompt, optional language, and optional context. Supports an interactive refinement workflow.
answer_questions
Provide answers during an interactive session to guide prompt refinement and produce a detailed final prompt.