MCP Prompt Server

v1.0.0Developer Toolsstable

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

mcp-prompt-server-gomcpai-integration
Share:
35
Stars
0
Downloads
0
Weekly
0/5

What is MCP Prompt Server?

MCP Prompt Server is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 一个提供优秀prompt的model context protocol (mcp)的服务器,用于根据用户任务需求提供预设的prompt模板,帮助cline/cursor/windsurf...更高效地执行各种任务。服务器将预设的prompt作为工具(tools)返回,以便在cursor和windsurf等编辑器中更好地和使用。提供tool和prompt两种形式

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

This server falls under the Developer Tools and Coding Agents categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • 一个提供优秀prompt的Model Context Protocol (MCP)的服务器,用于根据用户任务需求提供预设

Use Cases

Access pre-built prompt templates for common tasks.
Optimize workflows in Cursor, Windsurf, and other editors.
Leverage battle-tested prompts for better AI results.
smallnest

Maintainer

LicenseMIT
Languagego
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-prompt-server-go

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use MCP Prompt Server

MCP Prompt Server Go is a Go-based Model Context Protocol server that exposes a library of pre-built prompt templates as MCP tools, enabling AI coding assistants in Cursor, Windsurf, Raycast, and other editors to automatically find and apply the right prompt for common tasks. Templates are stored as YAML or JSON files in a prompts/ directory and can be hot-reloaded without restarting the server. The server registers each template as an individually callable tool, eliminating copy-paste workflows for recurring prompt patterns.

Prerequisites

  • Go 1.21+ runtime to build the server binary, or a pre-built binary from the releases page
  • Git to clone the repository
  • An MCP-compatible client such as Cursor, Windsurf, Raycast, or Claude Desktop
1

Clone the repository

Clone the mcp-prompt-server-go repository from GitHub and navigate to the project directory.

git clone https://github.com/smallnest/mcp-prompt-server-go.git
cd mcp-prompt-server-go
2

Build the binary

Run the included build script to compile the Go server into the bin/ directory.

./build.sh
3

Review the built-in prompt templates

Explore the prompts/ directory to see the included YAML templates for code generation, writing, product design, structured summaries, web page generation, and more. Each file becomes a separate MCP tool.

ls prompts/
4

Configure your MCP client

Add the server binary path to your MCP client configuration. The binary communicates over stdio transport so no network port is needed.

5

Add custom prompt templates

Create new YAML files in the prompts/ directory following the template format. Use the reload_prompts tool or restart the server to make them available as tools.

name: your_prompt_name
description: What this prompt does
arguments: []
messages:
  - role: user
    content:
      type: text
      text: |
        Your prompt content here. Use {{param}} for parameters.

MCP Prompt Server Examples

Client configuration for Cursor

Cursor MCP config block pointing to the compiled Go binary. Replace the path with your actual project path.

{
  "servers": [
    {
      "name": "Prompt Server",
      "command": "/path/to/mcp-prompt-server-go/bin/mcp-prompt-server",
      "args": [],
      "transport": "stdio"
    }
  ]
}

Prompts to try

Example prompts that leverage built-in templates via natural language. The server automatically selects the appropriate template.

- "Generate a visual summary web page for this data"
- "Create a PRD for a user authentication feature"
- "Write 5 catchy titles for an article about Go concurrency"
- "Summarize this document in a structured format with key points and action items"
- "List all available prompt templates"

Troubleshooting MCP Prompt Server

MCP client cannot find or launch the binary

Use the absolute path to the binary in your MCP config, e.g., /Users/yourname/mcp-prompt-server-go/bin/mcp-prompt-server. Ensure the binary is executable by running chmod +x bin/mcp-prompt-server after building.

A prompt template is not showing up as a tool

Check that the YAML file's name field is unique across all files in the prompts/ directory. Duplicate names will cause one to be silently ignored. Call the reload_prompts tool or restart the server after adding new files.

Template parameters are not being substituted

Ensure the arguments field in your YAML file lists each parameter name, and that the placeholder in the text field uses double curly braces: {{param_name}}. Verify the calling tool is passing argument values matching the declared names.

Frequently Asked Questions about MCP Prompt Server

What is MCP Prompt Server?

MCP Prompt Server is a Model Context Protocol (MCP) server that 一个提供优秀prompt的model context protocol (mcp)的服务器,用于根据用户任务需求提供预设的prompt模板,帮助cline/cursor/windsurf...更高效地执行各种任务。服务器将预设的prompt作为工具(tools)返回,以便在cursor和windsurf等编辑器中更好地和使用。提供tool和prompt两种形式 It connects AI assistants to external tools and data sources through a standardized interface.

How do I install MCP Prompt Server?

Follow the installation instructions on the MCP Prompt Server GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with MCP Prompt Server?

MCP Prompt Server works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is MCP Prompt Server free to use?

Yes, MCP Prompt Server is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-prompt-server-go": { "command": "npx", "args": ["-y", "mcp-prompt-server-go"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use MCP Prompt Server?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides