Coding Prompt Engineer MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Coding Prompt Engineer MCP Server rewrite 'add user authentication' for Python with best practices"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Coding Prompt Engineer MCP Server
This Model Context Protocol (MCP) server provides a tool to rewrite coding prompts for optimal results with Cursor AI and other AI IDEs, using Claude by Anthropic.
Installation
npm installInstall via Smithery
You can install this MCP server directly through Smithery by visiting: https://smithery.ai/server/@hireshBrem/prompt-engineer-mcp-server
Related MCP server: Session Buddy
Usage
Setting Environment Variables
The server requires an Anthropic API key to use Claude for formatting. Set it as an environment variable:
export ANTHROPIC_API_KEY=your_anthropic_api_keyIf no API key is provided, the server will throw an error indicating the missing API key.
Running the Server
npm startOr with MCP Inspector:
npx @modelcontextprotocol/inspector npm startTool: rewrite_coding_prompt
This tool takes a raw prompt and rewrites it for optimal results with Cursor AI and other AI IDEs.
Parameters
prompt(required): The raw user's prompt that needs rewritinglanguage(required): The programming language of the code
Example Usage
{
"name": "rewrite_coding_prompt",
"arguments": {
"prompt": "Create a function to convert temperature between Celsius and Fahrenheit",
"language": "typescript"
}
}How It Works
The server uses Claude 3 Sonnet by Anthropic to intelligently rewrite your prompts for better results. It enhances your prompt by:
Adding clear structure and context
Specifying requirements and expectations
Including language-specific considerations
Optimizing for AI IDE understanding
Features
Intelligent Prompt Engineering: Uses Claude 3 Sonnet to rewrite prompts for optimal results
Language-Aware: Customizes prompts based on target programming language
Easy Integration: Works seamlessly with Cursor and other AI IDEs
Low Temperature Setting: Uses 0.2 temperature for consistent, structured output
Configuration
Usage with Claude Desktop
Add this to your claude_desktop_config.json:
NPX
{
"mcpServers": {
"cursor-prompt-engineer": {
"command": "npx",
"args": [
"-y",
"cursor-prompt-engineer"
]
}
}
}Local Installation
# Clone the repository
git clone https://github.com/yourusername/cursor-prompt-engineer.git
cd cursor-prompt-engineer
# Install dependencies
npm install
# Run the server
node index.jsExample
Input:
Create a function that sorts an array of objects by a specific propertyWith arguments:
{
"prompt": "Create a function that sorts an array of objects by a specific property",
"language": "typescript"
}The tool will rewrite the prompt to be more structured and detailed for optimal results with your AI IDE.
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Available Tools
1 toolrewrite_coding_promptC
Rewrites user's coding prompts before passing to AI IDE (e.g. Cursor AI) to get the best results from AI IDE.
Inputs: prompt (required), language (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly defined and distinct by default.
A single tool inherently has perfect naming consistency, as there are no other tools to compare it against. The naming follows a clear verb_noun pattern.
A single tool is too few for a server with a broad purpose like 'Coding Prompt Engineer,' which suggests potential for multiple operations such as analyzing, optimizing, or testing prompts. This minimal set feels incomplete and under-scoped.
The server's domain implies handling coding prompts, but the single rewrite tool leaves significant gaps. Missing operations might include validating prompts, generating examples, or providing feedback, making the surface severely incomplete for the stated purpose.
Maintenance
Related MCP Connectors
Turn rough ideas into structured prompts for ChatGPT, Claude, Gemini, image and video AI.
Persistent memory for Claude Code and Cursor. Stop re-explaining your project every session.
FixMyPrompt is a remote MCP server for coding agents. It saves the steps your agent worked out as project memories and fetches them in later sessions, scores and rewrites prompts, and checks CLAUDE.md and AGENTS.md files. Works with Claude Code, Codex and Cursor. Free plan available.
The best prompt and the best model for the job, tested and improved by your coding agent.
Related MCP Servers
- AlicenseBqualityDmaintenanceIntelligently engineers and optimizes prompts for Claude Code with automatic language detection, task type recognition, and interactive refinement capabilities. Works entirely offline without external API dependencies to transform natural language requests into structured, Claude Code-optimized prompts.413MIT
- AlicenseAqualityBmaintenanceProvides comprehensive session management for Claude Code with automatic initialization/cleanup, quality checkpoints, and local conversation memory with semantic search for capturing learnings across coding sessions.6354 PyPI4BSD 3-Clause
- FlicenseNot gradedqualityDmaintenanceProvides AI-powered selection and generation of specialized system prompts from a database of over 66 templates for Claude Code. It uses semantic search to find the best matching template and can adapt it to fit specific user tasks and contexts.-
- AlicenseBqualityDmaintenanceBridges Claude Code CLI with Cursor IDE to use your existing Claude subscription without separate API costs.13MIT