mcp-prompt -go
全新升级!** 使用Golang重写的高性能MCP Prompt服务器,提供更好的性能、更强的稳定性和更丰富的功能。
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:
-
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
-
Install dependencies and build the binary: go mod tidy make build
-
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
-
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)
-
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
trpc-agent-go
trpc-agent-go is a powerful Go framework for building intelligent agent systems using large language models (LLMs) and tools.
station
Station is our open-source runtime that lets teams deploy agents on their own infrastructure with full control.
tiger-cli
Tiger CLI is the command-line interface for Tiger Cloud. It includes an MCP server for helping coding agents write production-level Postgres code.
gopls
MCP server for golang projects development: Expand AI Code Agent ability boundary to have a semantic understanding and determinisic information for golang projects.
kubernetes
A Model Context Protocol (MCP) server for the Kubernetes API.
gcp-cost
💰 An MCP server that enables AI assistants to estimate Google Cloud costs, powered by Cloud Billing Catalog API and built with Genkit for Go