MCP Prompt Server
@MCP-Mirror
关于 MCP Prompt Server
Mirror of
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"prompt-server": {
"command": "node",
"args": [
"/path/to/prompt-server/src/index.js"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Prompt Server?
MCP Prompt Server is an MCP-based server that provides preset prompt templates as tools (not MCP prompts) for tasks such as code review, API documentation generation, and code refactoring. It is designed for use with editors like Cline, Cursor, and Windsurf to help them execute tasks more efficiently.
How to use MCP Prompt Server?
Install dependencies with npm install in the prompt-server directory and start the server with npm start. The server runs on standard input/output and can be connected by Cursor, Windsurf, or other MCP clients. Configuration involves editing the editor’s MCP configuration file to point to the server’s entry script (src/index.js).
Key features of MCP Prompt Server
- Provides preset prompt templates as MCP tools.
- Supports dynamic parameter substitution in templates.
- Allows developers to freely add and modify prompt templates.
- Includes management tools:
reload_promptsandget_prompt_names. - Optimized for integration with Cursor and Windsurf.
- All prompt templates defined in
src/prompts/are exposed as tools.
Use cases of MCP Prompt Server
- Code review with language and code snippet arguments.
- API documentation generation for various programming languages.
- Code refactoring with targeted transformation guidance.
- Test case generation based on code input.
- Project architecture design and documentation.
FAQ from MCP Prompt Server
How do I add a new prompt template?
Create a new YAML or JSON file in the src/prompts directory following the required schema (name, description, optional arguments, and messages with role, content type, and text). The server loads new templates automatically on restart or when the reload_prompts tool is called.
How do I integrate MCP Prompt Server with Cursor?
Edit Cursor’s MCP configuration file (typically at ~/.cursor/) to add a server entry with the command ["node", "/path/to/prompt-server/src/index.js"], using "transport": "stdio". Restart the editor to see the prompt tools.
How do I integrate MCP Prompt Server with Windsurf?
In Windsurf, navigate to Settings > Advanced Settings (or edit ~/.codeium/windsurf/mcp_config.json) and add a server with "command": "node", "args": ["/path/to/prompt-server/src/index.js"], and "transport": "stdio". Refresh the server list to make the tools available.
What transport does MCP Prompt Server use?
The server uses stdio transport, as shown in the configuration examples for both Cursor and Windsurf.
What runtime dependencies are required?
Node.js and npm are required to install and run the server. No external databases or services are mentioned.
其他 分类下的更多 MCP 服务器
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
评论