hello-mcp-go
mcp server in go
Documentation
Hello MCP Go ๐
Welcome to the Hello MCP Go repository! ๐ This project demonstrates how to build an MCP (Model Context Protocol) server in Go. Whether you're a Go enthusiast or just curious about MCP, you're in the right place! ๐ ๏ธ
What is this? ๐ค
This repository showcases:
- How to build an MCP server using Go ๐น.
- A simple and fun way to explore MCP Protocol ๐ฎ.
- A starting point for your own custom MCP server adventures! ๐
Tools ๐
- hello, takes the parameters Submitter and Content.
- calculate, takes the parameters A and B. Example use is "calculate 2 and 4".
Quick Start ๐
- Clone
- Install
- Build
- Run
1. Clone the repository:
git clone https://github.com/your-username/hello-mcp-go.git
cd hello-mcp2. Install dependencies:
go mod tidy3. Build the project:
go build -ldflags="-s -w" -o server.exe main.goor for Linux:
go build -ldflags="-s -w" -o server main.goYou will use this later when you want to consume it from Visual Studio Code.
1. Run the server:
./serverConsuming the Server with GitHub Copilot Agent Mode ๐ด
1. Place yourself in *mcp.json*, make sure the server has been built (right now it's adjusted).
1. Adjust the "command" to point to the absolute path of your executable.
{
"servers": {
"my-mcp-server-d73c20f3": {
"type": "stdio",
"command": "/path/to/your/executable"
}
}
}1. Open Copilot and select Agent in dropdown
1. Select the play icon.
You should see the tool icon showing two tools.
1. Test it with a phrase like so "calculate 2 and 4". This should present a button that invokes the tool on the server.

Have Fun! ๐
This project is all about learning and having fun. Feel free to experiment, break things, and create something amazing! ๐
Happy coding! ๐ป
Frequently asked questions
What is hello-mcp-go?
hello-mcp-go is mcp server in go
How do I install hello-mcp-go?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is hello-mcp-go open source?
Yes โ it is hosted on GitHub at https://github.com/softchris/hello-mcp-go and has 5 stars.
Related MCP tools
MCP server for Grafana Go-based implementation. Trusted by 1700+ developers. Trusted by 1700+ developers. Trusted by 1700+ developers.
Flux Operator is a Kubernetes controller for managing the lifecycle of Flux CD for the Model Context Protocol. Enhance AI assistants with powerful integrations.
MCP server connecting to Kubernetes Go-based implementation.
:robot: The free, Open Source alternative to OpenAI, Claude and others. Self-hosted and local-first. Drop-in replacement for OpenAI, running on consumer-gra...
MCP Toolbox for Databases is an open source MCP server for databases. Go-based implementation. Trusted by 10900+ developers.
A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP