Coding Prompt Engineer MCP Server
Rewrites coding prompts for optimal results with AI IDEs like Cursor AI, powered by Claude by Anthropic.
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 install
Install 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_key
If no API key is provided, the server will throw an error indicating the missing API key.
Running the Server
npm start
Or with MCP Inspector:
npx @modelcontextprotocol/inspector npm start
Tool: 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.js
Example
Input:
Create a function that sorts an array of objects by a specific property
With 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.
Máy chủ liên quan
Scout Monitoring MCP
nhà tài trợPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
nhà tài trợAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Remote MCP Server (Authless)
A remote MCP server for Cloudflare Workers, authless by default with optional token-based authentication.
MCP for Docs
Automatically downloads and converts documentation from various sources into organized markdown files.
JMeter MCP Server
Execute JMeter tests and analyze results through MCP-compatible clients.
Linkinator
A Model Context Protocol (MCP) server that provides link checking capabilities using linkinator. This allows AI assistants like Claude to scan webpages and local files for broken links.
MCP Chart Server
Generates TradingView chart visualizations using the Chart-IMG API.
agent-friend
Universal tool adapter — @tool decorator exports Python functions to OpenAI, Claude, Gemini, MCP, JSON Schema. Audit token costs.
Node.js Sandbox MCP Server
Run arbitrary JavaScript in an isolated Docker container with on-the-fly npm dependency installation.
Exploit Intelligence Platform MCP Server
An MCP (Model Context Protocol) server that gives AI assistants access to the Exploit Intelligence Platform — hundreds of thousands of vulnerabilities and exploits from NVD, CISA KEV, VulnCheck KEV, InTheWild.io, ENISA EUVD, OSV.dev, EPSS, ExploitDB, Metasploit, GitHub, and more. I
Octopus Deploy Official MCP Server
The Octopus MCP Server provides your AI assistant with powerful tools that allow it to inspect, query, and diagnose problems within your Octopus instance, transforming it into your ultimate DevOps wingmate.
Kestra Python MCP Server
A Python implementation of a Model Context Protocol server for interacting with Kestra.