Software Development Prompts
About
Provides pre-defined YAML prompts for common software development tasks as tools, including code review, refactoring, API documentation, test generation, and architecture assistance through a configurable Node.js server.
Details
- Author
- gdli6177
- Repository
- gdli6177/mcp-prompt-server
- GitHub stars
- 6
- Downloads
- 222
- License
- MIT License
- Categories
- Developer Tools, Productivity, Automation, Design, Workplace, File Management, AI, Project Management, API, Other
Jump to
- Provides preset prompt templates as MCP tools
- Supports dynamic argument substitution in templates
- Allows developers to add and modify prompt templates freely
- Offers management tools: reload_prompts and get_prompt_names
- Optimised for integration with Cursor and Windsurf
- Templates are stored in YAML or JSON files in src/prompts/
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Software Development PromptsCommand (node, npx, python, etc.)nodeArguments-
Argument 1
/path/to/prompt-server/src/index.js
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Clone the repository, run npm install inside the prompt-server directory, then start with npm start. The server communicates over stdio. To integrate with Cursor or Windsurf, edit the editor’s MCP configuration file to point to the server’s entry script (src/index.js). The server automatically loads all prompt templates from src/prompts/ on start.
reload_prompts
Reloads all pre-defined prompts.
get_prompt_names
Retrieves the names of all available prompts.
code_review
Executes a code review on the provided code. Parameters: language (string), code (string)
api_documentation
Generates API documentation for the provided code. Parameters: language (string), code (string), format (string)
code_refactoring
Refactors the provided code according to best practices. Parameters: language (string), code (string)
test_case_generator
Generates test cases for the provided code. Parameters: language (string), code (string)
project_architecture
Analyzes and suggests improvements for project architecture. Parameters: project_details (string)
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"software development prompts": {
"env": {},
"args": [
"/path/to/prompt-server/src/index.js"
],
"command": "node",
"transport": "stdio"
}
}
}
Linux
{
"env": [],
"args": [
"/path/to/prompt-server/src/index.js"
],
"command": "node",
"transport": "stdio"
}
Macos
{
"env": [],
"args": [
"/path/to/prompt-server/src/index.js"
],
"command": "node",
"transport": "stdio"
}
Windows
{
"env": [],
"args": [
"/path/to/prompt-server/src/index.js"
],
"command": "node",
"transport": "stdio"
}
Provides preset prompt templates as tools to assist clients like Cursor and Windsurf in executing various tasks.
我们基于基于 MCP Prompt Server 使用场景,推出全新升级服务:mypromptmcp.com。
通过该平台,您可以在线自由管理自己的 prompt 提示词,并且允许灵活组合、打包成 MCP 服务,轻松集成到不同的 AI Agent 或工具中(如 Cursor、Windsurf、Cline 等),实现跨平台调用和高效协作。
立即体验更强大的 prompt 管理与分发能力,访问mypromptmcp.com了解详情!
MCP Prompt Server 依然可以正常使用,但后续我们将不再进行功能升级和维护。如果您希望持续获得最新的功能和体验,建议迁移并使用mypromptmcp.com。
这是一个基于Model Context Protocol (MCP)的服务器,用于根据用户任务需求提供预设的prompt模板,帮助Cline/Cursor/Windsurf...更高效地执行各种任务。服务器将预设的prompt作为工具(tools)返回,以便在Cursor和Windsurf等编辑器中更好地使用。
- 提供预设的prompt模板,可用于代码审查、API文档生成、代码重构等任务
- 将所有prompt模板作为MCP工具(tools)提供,而非MCP prompts格式
- 支持动态参数替换,使prompt模板更加灵活
- 允许开发者自由添加和修改prompt模板
- 提供工具API,可重新加载prompt和查询可用prompt
- 专为Cursor和Windsurf等编辑器优化,提供更好的集成体验
prompt-server/ ├── package.json # 项目依赖和脚本 ├── src/ # 源代码目录 │ ├── index.js # 服务器入口文件 │ └── prompts/ # 预设prompt模板目录 │ ├── code_review.yaml │ ├── api_documentation.yaml │ ├── code_refactoring.yaml │ ├── test_case_generator.yaml │ └── project_architecture.yaml └── README.md # 项目说明文档
服务器将在标准输入/输出上运行,可以被Cursor、Windsurf或其他MCP客户端连接。
您可以通过在src/prompts目录中添加新的YAML或JSON文件来创建新的prompt模板。每个模板文件应包含以下内容:
name: prompt_name # 唯一标识符,用于调用此prompt description: prompt description # 对prompt功能的描述 arguments: # 参数列表(可选) - name: arg_name # 参数名称 description: arg description # 参数描述 required: true/false # 是否必需 messages: # prompt消息列表 - role: user/assistant # 消息角色 content: type: text # 内容类型 text: | # 文本内容,可包含参数占位符 {{arg_name}} Your prompt text here...
添加新文件后,服务器会在下次启动时自动加载,或者您可以使用reload_prompts工具重新加载所有prompt。
{ "name": "code_review", "arguments": { "language": "javascript", "code": "function add(a, b) { return a + b; }" } }
{ "name": "api_documentation", "arguments": { "language": "python", "code": "def process_data(data, options=None):\n # 处理数据\n return result", "format": "markdown" } }
- reload_prompts: 重新加载所有预设的prompts
- get_prompt_names: 获取所有可用的prompt名称
此外,所有在src/prompts目录中定义的prompt模板都会作为工具提供给客户端。
- 找到或创建Cursor的MCP配置文件(通常位于~/.cursor/目录)
- 添加以下内容:
{ "servers": [ { "name": "Prompt Server", "command": ["node", "/path/to/prompt-server/src/index.js"], "transport": "stdio", "initialization_options": {} } ] }
请确保将/path/to/prompt-server替换为您实际的项目路径。
- 导航至 Windsurf - 设置 > 高级设置,或
- 使用命令面板 > 打开Windsurf设置页面
- 滚动到Cascade部分,您会看到添加新服务器的选项
- 点击"添加服务器"按钮,然后选择"添加自定义服务器+"
- 或者,您可以直接编辑~/.codeium/windsurf/mcp_config.json文件,添加以下内容:
{ "mcpServers": { "prompt-server": { "command": "node", "args": [ "/path/to/prompt-server/src/index.js" ], "transport": "stdio" } } }
请确保将/path/to/prompt-server替换为您实际的项目路径。
- 添加服务器后,点击刷新按钮
- 现在您应该能够在工具面板中看到所有可用的prompt工具
- 添加更多专业领域的prompt模板
- 实现prompt版本控制
- 添加prompt分类和标签
- 实现prompt使用统计和分析
- 添加用户反馈机制
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
Runtime continuity layer MCP for AI coding agents, providing persistent workspace state and session context across tools and runs.
Local-first MCP server for agent skills. Validate, lint, diff, and convert agent skill files across Cursor, Claude, Kiro, Windsurf, VS Code, and Amazon Q — no account required. Optional cloud sync with ModelBound.
Execute any LLM-generated code in the YepCode secure and scalable sandbox environment and create your own MCP tools using JavaScript or Python, with full support for NPM and PyPI packages
Agent-native developer Q&A API with MCP + A2A endpoints for citations, job pickup, and answer submission.
MCP bridge that lets Claude Code delegate heavy tasks to the Antigravity CLI (agy) — purpose-built tools, model routing with fallback, session continuity, and output truncation to save Claude's context and tokens.
Structured .aide spec files that give AI agents progressive disclosure into your codebase architecture. 6 MCP tools, 8 slash commands, TUI wizard, multi-IDE support.
An MCP server for real-time user intervention in AI-assisted development workflows.
Embeds intelligent guidance into AI workflows to organize development and ensure quality.
Hosted MCP server and coordination layer for AI coding agents — live API contracts, database schema, frontend/backend mismatch detection, and shared handoff tickets for Claude Code, Cursor, Codex, and Lovable.
Open-source AI coding stack — bundled MCP servers, agent runtime, and developer tooling for shipping AI-native dev tools.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.


