MCP Prompt Server
by MCP-Mirror
This is a Model Context Protocol (MCP) based server that provides preset prompt templates based on user task requirements. It helps Cline/Cursor/Windsurf... execute various tasks more efficiently by returning preset prompts as tools.
Last updated: N/A
What is MCP Prompt Server?
The MCP Prompt Server is a server based on the Model Context Protocol (MCP) that provides preset prompt templates to help editors like Cline/Cursor/Windsurf execute tasks more efficiently. It serves prompts as tools, enabling better integration and usage within these editors.
How to use MCP Prompt Server?
- Install dependencies using
npm install
. 2. Start the server withnpm start
. 3. Configure your editor (Cursor or Windsurf) to connect to the server via stdio, providing the path to the server's entry point (src/index.js
). 4. Use the available prompt tools within the editor by specifying the tool name and any required arguments.
Key features of MCP Prompt Server
Provides preset prompt templates for various tasks
Offers prompts as MCP tools instead of MCP prompts format
Supports dynamic parameter replacement for flexible prompts
Allows developers to add and modify prompt templates
Provides a tool API for reloading prompts and querying available prompts
Optimized for Cursor and Windsurf editors for better integration
Use cases of MCP Prompt Server
Code review
API documentation generation
Code refactoring
Test case generation
Project architecture analysis
FAQ from MCP Prompt Server
How do I add a new prompt template?
How do I add a new prompt template?
Create a new YAML or JSON file in the src/prompts
directory with the required fields (name, description, arguments, messages). The server will automatically load it on the next start or reload using the reload_prompts
tool.
How do I reload prompts without restarting the server?
How do I reload prompts without restarting the server?
Use the reload_prompts
tool provided by the server's API.
What editors are supported?
What editors are supported?
The server is primarily designed for Cursor and Windsurf editors, but can be used with any MCP-compatible client.
Where can I find the MCP configuration file for Cursor?
Where can I find the MCP configuration file for Cursor?
The MCP configuration file for Cursor is typically located in the ~/.cursor/
directory.
How do I find the MCP configuration in Windsurf?
How do I find the MCP configuration in Windsurf?
Navigate to Windsurf - Settings > Advanced Settings, or use the command panel > Open Windsurf settings page, then scroll to the Cascade section.