go-mcp-server

nimrodshn/go-mcp-server

3.1

If you are the rightful owner of go-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The MCP Greeter Server is a simple server written in Go that provides a greeting tool using the Model Context Protocol (MCP).

Tools
1
Resources
0
Prompts
0

MCP Greeter Server

A simple Model Context Protocol (MCP) server written in Go that provides a greeting tool.

Features

  • Greet Tool: Say hello to someone by name

Prerequisites

  • Go 1.24.5 or later

Installation

go mod download

Usage

  1. Start the server:
./mcp-server
  1. The server will be available at http://localhost:8080

  2. Connect to Claude Code:

claude mcp add --transport sse greeter http://localhost:8080

API

Tools

greet
  • Description: Say hi to a person
  • Parameters:
    • name (string): The name of the person to greet
  • Returns: A greeting message

Development

To modify the server, edit main.go and restart the application.