prompt-engineer-mcp-server
Write 10x better prompts using Prompt Engineer MCP server.
Documentation
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
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 rewriting
- `language` (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:
1. Adding clear structure and context
2. Specifying requirements and expectations
3. Including language-specific considerations
4. 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.
Frequently asked questions
What is prompt-engineer-mcp-server?
prompt-engineer-mcp-server is Write 10x better prompts using Prompt Engineer MCP server.
How do I install prompt-engineer-mcp-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is prompt-engineer-mcp-server open source?
Yes — it is hosted on GitHub at https://github.com/hireshBrem/prompt-engineer-mcp-server and has 11 stars.
Related MCP tools
An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others. Built for the Model Context Protocol to enhance AI capabiliti
CTTF: MCP integration between Cursor and Figma, allowing Cursor Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients. JavaScript-based implementation.
A server that integrates Linear's project management system with the Model Context Protocol (MCP) to allow LLMs to interact with Linear.
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
Fay是一个帮助数字人(2.5d、3d、移动、pc、网页)或大语言模型(openai兼容、deepseek)连通业务系统的mcp框架。 JavaScript-based implementation. Trusted by 12000+ developers.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP