MCP.so
Sign In
Servers

MCP Prompt Server

@gdli6177

这是一个基于Model Context Protocol (MCP)的服务器,用于根据用户任务需求提供预设的prompt模板,帮助Cline/Cursor/Windsurf...更高效地执行各种任务。服务器将预设的prompt作为工具(tools)返回,以便在Cursor和Windsurf等编辑器中更好地使用。

Overview

What is MCP Prompt Server?

MCP Prompt Server is a Model Context Protocol (MCP) server that provides pre‑defined prompt templates as MCP tools. It helps AI agents and editors like Cline, Cursor, and Windsurf execute tasks more efficiently by offering structured prompts for code review, API documentation, code refactoring, and more.

How to use MCP Prompt Server?

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.

Key features of MCP Prompt Server

  • 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/

Use cases of MCP Prompt Server

  • Request a code review by passing language and code snippet
  • Generate API documentation in different formats (e.g., Markdown)
  • Refactor existing code with guided prompts
  • Create test cases automatically from a code base
  • Analyse project architecture using a dedicated template

FAQ from MCP Prompt Server

How does this server differ from standard MCP prompts?

It exposes each prompt template as an MCP tool (callable with arguments) rather than as an MCP prompt resource, making it easier to use in editors like Cursor and Windsurf.

How can I add a new prompt template?

Add a YAML or JSON file to the src/prompts directory following the required schema (name, description, optional arguments, messages). The server loads new templates on restart, or you can call the reload_prompts tool.

Which editors and tools are supported?

Cursor, Windsurf, and Cline (and any MCP client that can connect over stdio transport) are supported. The README provides specific configuration steps for Cursor and Windsurf.

What are the runtime dependencies?

Node.js and npm. The server runs as a Node.js process and communicates via stdio.

Is this project still maintained?

The README states that the server will continue to work but will no longer receive feature updates or maintenance. Users are encouraged to migrate to the upgraded platform at mypromptmcp.com for ongoing support.

More from Other