
hello-mcp-go
mcp server in go
1
Github Watches
1
Github Forks
3
Github Stars
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
-
Clone the repository:
git clone https://github.com/your-username/hello-mcp-go.git cd hello-mcp
-
Install dependencies:
go mod tidy
-
Build the project:
go build -ldflags="-s -w" -o server.exe main.go
or for Linux:
go build -ldflags="-s -w" -o server main.go
You will use this later when you want to consume it from Visual Studio Code.
-
Run the server:
./server
Consuming the Server with GitHub Copilot Agent Mode 🍴
-
Place yourself in mcp.json, make sure the server has been built (right now it's adjusted).
-
Adjust the "command" to point to the absolute path of your executable.
{ "servers": { "my-mcp-server-d73c20f3": { "type": "stdio", "command": "/path/to/your/executable" } } }
-
Open Copilot and select Agent in dropdown
-
Select the play icon.
You should see the tool icon showing two tools.
-
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! 💻
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Advanced software engineer GPT that excels through nailing the basics.
Converts Figma frames into front-end code for various mobile frameworks.
Take an adjectivised noun, and create images making it progressively more adjective!
Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
Mirror ofhttps://github.com/agentience/practices_mcp_server
🧑🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.
Reviews

user_p6bsAQ4q
Hello-mcp-go by softchris is a fantastic MCP application that I've been thoroughly impressed with. The setup is user-friendly, and the documentation is clear and concise. The project hosted on GitHub (https://github.com/softchris/hello-mcp-go) showcases excellent coding practices in its language choice. Overall, it's an invaluable resource for MCP enthusiasts. Highly recommended!