- Home
- MCP servers
- Cursor Prompt
Cursor Prompt
- typescript
12
GitHub Stars
typescript
Language
5 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": {
"hireshbrem-prompt-engineer-mcp-server": {
"command": "npx",
"args": [
"-y",
"cursor-prompt-engineer"
],
"env": {
"ANTHROPIC_API_KEY": "YOUR_API_KEY"
}
}
}
}You use this MCP server to rewrite coding prompts into clearer, better-structured inputs for Cursor AI and other AI IDEs, leveraging Claude by Anthropic for high-quality formatting.
How to use
Start by choosing how you want to run the server. You can run a local, self-hosted instance or invoke it through an MCP client. When you provide a prompt and the target language, the server rewrites your prompt to be more structured, includes explicit requirements, and tailors the output for your programming language. This helps you get faster, more accurate results from your coding tools.
How to install
Prerequisites: you need Node.js installed on your machine. Ensure you have npm to install dependencies.
# Using npm (local installation)
git clone https://github.com/yourusername/cursor-prompt-engineer.git
cd cursor-prompt-engineer
npm install
Run the server locally
node index.js
Additional configuration and usage notes
Environment variable required: ANTHROPIC_API_KEY. Set this to your Anthropic API key to enable Claude-based prompt rewriting.
You can also run the MCP server via NPX for quick usage without installing dependencies.
Example usage with NPX from the MCP namespace is provided in the configuration snippet below.
Config snippet for MCP connections
{
"mcpServers": {
"cursor_prompt": {
"command": "npx",
"args": [
"-y",
"cursor-prompt-engineer"
]
},
"cursor_prompt_local": {
"command": "node",
"args": ["index.js"]
}
}
}
Available tools
rewrite_coding_prompt
Takes a raw prompt and rewrites it to be structured, context-rich, and language-aware for optimal results with AI IDEs.