Prompt

Developer tools

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

Your AI app calls the Prompt MCP server, which does the developer tools work and sends the result back to the chat.

About Prompt

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

At a glance

Publisher
gdli6177 (community)
Runs
See the README for setup
Written in
JavaScript
License
MIT
GitHub stars
246

How to set up Prompt

  1. Follow the install steps in the Prompt README; it is written in JavaScript, so have that toolchain ready.
  2. Check the Prompt README for keys or settings; the registry lists none that Prompt requires.
  3. Add Prompt to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Prompt tools to confirm the connection.
  5. Run one read-only task with Prompt first, and keep your app asking before each tool call until the results look right.

Prompt compared with similar servers

  • ITASCA by yusong652 has fewer GitHub stars than Prompt (243 against 246); both are community servers, and both run locally.
  • OnCo by judegomila has fewer GitHub stars than Prompt (246 against 246); both are community servers, and both run locally.
  • Lightroom by Automaat has fewer GitHub stars than Prompt (243 against 246); both are community servers, and both run locally.

Before you connect Prompt

  • Give Prompt its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Prompt tool call until you trust what it does with them.
  • Treat text that Prompt fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Prompt on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Prompt

How marketing and sales teams put Prompt to work, by company size. Pick the size closest to yours and start Prompt on one use case.

Small business

  • A small business with a developer can use Prompt to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Prompt to explain and fix a marketing site issue without context switching between tools.
  • Prompt runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Prompt to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Prompt to keep scripts and automations documented and versioned as they change.
  • Start Prompt on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Prompt with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Prompt so web and marketing engineering share one reviewed way of working with AI.
  • Prompt is a community server, so have security review the code and pin a version before Prompt touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Prompt README

From gdli6177/mcp-prompt-server on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

MCP Prompt Server

🚀 重要升级通知!

我们基于基于 MCP Prompt Server 使用场景,推出全新升级服务:mypromptmcp.com。

通过该平台,您可以在线自由管理自己的 prompt 提示词,并且允许灵活组合、打包成 MCP 服务,轻松集成到不同的 AI Agent 或工具中(如 Cursor、Windsurf、Cline 等),实现跨平台调用和高效协作。

立即体验更强大的 prompt 管理与分发能力,访问 mypromptmcp.com 了解详情!

⚠️ 重要提醒:

MCP Prompt Server 依然可以正常使用,但后续我们将不再进行功能升级和维护。如果您希望持续获得最新的功能和体验,建议迁移并使用 mypromptmcp.com。

English Version

这是一个基于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            # 项目说明文档

安装和使用

  1. 安装依赖:
cd prompt-server
npm install
  1. 启动服务器:
npm start

服务器将在标准输入/输出上运行,可以被Cursor、Windsurf或其他MCP客户端连接。

添加新的Prompt模板

您可以通过在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。

使用示例

在Cursor或Windsurf中调用代码审查工具
{
  "name": "code_review",
  "arguments": {
    "language": "javascript",
    "code": "function add(a, b) { return a + b; }"
  }
}
在Cursor或Windsurf中调用API文档生成工具
{
  "name": "api_documentation",
  "arguments": {
    "language": "python",
    "code": "def process_data(data, options=None):\n    # 处理数据\n    return result",
    "format": "markdown"
  }
}

工具API

服务器提供以下管理工具:

  • reload_prompts: 重新加载所有预设的prompts
  • get_prompt_names: 获取所有可用的prompt名称

此外,所有在src/prompts目录中定义的prompt模板都会作为工具提供给客户端。

与编辑器集成

Cursor

在Cursor中,您需要编辑MCP配置文件:

  1. 找到或创建Cursor的MCP配置文件(通常位于~/.cursor/目录)
  2. 添加以下内容:
{
  "servers": [
    {
      "name": "Prompt Server",
      "command": ["node", "/path/to/prompt-server/src/index.js"],
      "transport": "stdio",
      "initialization_options": {}
    }
  ]
}

请确保将/path/to/prompt-server替换为您实际的项目路径。

  1. 保存配置并重启编辑器
  2. 现在您应该能够在工具面板中看到所有可用的prompt工具
Windsurf

在Windsurf中,通过以下方式访问MCP配置:

  1. 导航至 Windsurf - 设置 > 高级设置,或
  2. 使用命令面板 > 打开Windsurf设置页面
  3. 滚动到Cascade部分,您会看到添加新服务器的选项
  4. 点击"添加服务器"按钮,然后选择"添加自定义服务器+"
  5. 或者,您可以直接编辑~/.codeium/windsurf/mcp_config.json文件,添加以下内容:
{
  "mcpServers": {
    "prompt-server": {
      "command": "node",
      "args": [
        "/path/to/prompt-server/src/index.js"
      ],
      "transport": "stdio"
    }
  }
}

请确保将/path/to/prompt-server替换为您实际的项目路径。

  1. 添加服务器后,点击刷新按钮
  2. 现在您应该能够在工具面板中看到所有可用的prompt工具

扩展建议

  1. 添加更多专业领域的prompt模板
  2. 实现prompt版本控制
  3. 添加prompt分类和标签
  4. 实现prompt使用统计和分析
  5. 添加用户反馈机制

Questions about Prompt

What is the Prompt MCP server?

这是一个基于Model Context Protocol (MCP)的服务器,用于根据用户任务需求提供预设的prompt模板,帮助Cline/Cursor/Windsurf...更高效地执行各种任务。服务器将预设的prompt作为工具(tools)返回,以便在Cursor和Windsurf等编辑器中更好地使用。. Prompt is maintained by gdli6177 on GitHub at gdli6177/mcp-prompt-server, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Prompt MCP server?

Prompt doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (gdli6177/mcp-prompt-server). Like most servers, Prompt ends with a command or URL you paste into your AI app's MCP config.

Does Prompt need an API key?

The registry lists no required keys for Prompt. Check the Prompt README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Prompt an official MCP server?

No. Prompt is a community server maintained by gdli6177. Community servers can be excellent; read the code and the open issues before you give Prompt access to company data.

What license is Prompt under?

Prompt is released under the MIT license, according to its GitHub repository. The license covers the code of Prompt; the service it connects to has its own terms.