MCP Prompt Server Go

Go-based MCP prompt server exposing prompt templates as MCP tools for natural-language use.
  • go

33

GitHub Stars

go

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "smallnest-mcp-prompt-server-go": {
      "command": "/path/to/mcp-prompt-server-go/bin/mcp-prompt-server",
      "args": []
    }
  }
}

You have a Go-based MCP prompt server that exposes a rich set of prompt templates as MCP tools. It lets you call prompts through natural language via MCP clients, so you don’t need to copy-paste long prompts. Just run the server and interact with the templates as ready-to-use tools in your editor or workflow.

How to use

Start the server locally and connect your MCP client to the exposed tools. The server loads all templates from the prompts/ directory and registers them as MCP tools. You can then request visual pages, PRD drafts, catchy titles, summaries, and more by describing your goal in natural language. If your editor or launcher supports live reload, you can refresh the available prompts on the fly.

How to install

Prerequisites: you need Go installed and a shell to run commands. You also need Git to clone the repository and permissions to execute scripts.

# Clone the repository
git clone https://github.com/smallnest/mcp-prompt-server-go.git
cd mcp-prompt-server-go

# Build the project (the package ships with a build script)
chmod +x build.sh
./build.sh

# Start the MCP prompt server
./bin/mcp-prompt-server

Configuration and usage notes

The server automatically loads all prompt templates found under prompts/ and exposes them as MCP tools. You can use your preferred MCP client to call these tools with natural language prompts.

If you want to enable rapid iteration, you can reload prompts without restarting the server. This lets you add or update templates in prompts/ and then trigger a hot reload from your editor or use the provided tooling to reload.

Examples of how prompts can be used include generating visual web pages, drafting PRDs, creating engaging titles, and producing structured summaries. The prompt suite is designed to be easily extended by adding new YAML/JSON templates under prompts/.

Configuring MCP integrations (stdio servers)

You can integrate this MCP server with editors and tools that use the stdio transport by pointing at the local binary and keeping the transport as stdio.

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

Troubleshooting

If prompts do not appear or a template fails to load, verify that the prompts/ directory contains valid YAML/JSON templates and that each template has a unique name. You can trigger a hot reload to refresh the list of available prompts.

If the server cannot start, ensure the build completed successfully and that bin/mcp-prompt-server exists with execute permissions. Check for missing dependencies or permission errors in the startup logs.

Available tools

gen_visual

Generates a visually rich web page or visual output from descriptive prompts, enabling quick mockups or dashboards.

design_prd

Drafts a Product Requirements Document from user goals, constraints, and success metrics in a structured format.

gen_title

Creates attention-grabbing titles based on given content, target audience, and tone.

gen_summarize

Produces concise, structured summaries of long content or conversations.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational