Get the FREE Ultimate OpenClaw Setup Guide →

mcp-prompt -go

全新升级!** 使用Golang重写的高性能MCP Prompt服务器,提供更好的性能、更强的稳定性和更丰富的功能。

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio anthonyhann-mcp-prompt-server-go node bin/mcp-prompt-server

How to use

This MCP server is a Go-implemented version of the MCP Prompt Server. It provides a fast, statically-typed prompt management service that loads prompt templates from the prompts/ directory, watches for changes, and exposes a set of MCP-compliant tools for runtime interaction. You can interact with the server via the built-in tools such as get_prompt_names to discover all available prompt tools, reload_prompts to hot-reload updated templates, and various prompt-specific utilities for content generation, web page templates, and code-related tasks. Typical client integrations expect a stdio or JSON-RPC style interface, and you can route connections through adapters like Raycast, Cursor, or Windsurf by pointing their mcp_config.json to the server binary and enabling the stdio transport as shown in the project examples. The server exposes a collection of prompts across categories like content creation, web page generation, product development, code assistance, and management tools, enabling rapid prototyping and automated content workflows.

How to install

Prerequisites:

  • Go 1.21+ installed
  • Make (optional but recommended for convenience)
  • Git

Installation and run steps:

  1. Clone the repository or download the Go server package: git clone https://github.com/anthonyhann-mcp-prompt-server-go.git cd mcp-prompt-server-go

  2. Install dependencies and build the binary: go mod tidy make build

  3. Run the server (development or production):

    Development build (with hot-reload support if Makefile dev target is used)

    make dev

    Production run (after build to bin/mcp-prompt-server)

    ./bin/mcp-prompt-server

  4. Verify startup output and access prompts: Check console for messages like:

    • Successfully loaded X prompts from /path/to/prompts
    • Registered prompt tools
    • Server started and listening on stdio (or configured transport)
  5. Optional client integrations:

    • Configure Cursor or Windsurf with the provided mcp_config.json examples in the README, pointing to the built binary at bin/mcp-prompt-server and using the stdio transport.

Additional notes

Tips and notes:

  • The server supports hot-reloading of prompts when you modify the prompts/ directory, without restarting.
  • Use get_prompt_names to see the dynamic list of available prompt tools and their categories.
  • Ensure your prompts directory contains valid YAML/JSON prompt definitions to avoid load-time errors.
  • If you encounter startup issues, verify Go version and ensure dependencies are tidy (go mod tidy) and that the build output exists at bin/mcp-prompt-server.
  • The MCP config shown uses a direct binary path; adjust the transport or command to match your environment (stdio is commonly used for local integrations).

Related MCP Servers

Sponsor this space

Reach thousands of developers