https://github.com/pascalallen/mcp-server-go
mcp-server-go is a module that is designed to give you an MCP server in Go, right out of the box. There is a publication for this repository which can be found at https://pascalallen.medium.com/how-to-build-an-mcp-server-in-go-50ed8a4c9ed4.
https://github.com/pascalallen/mcp-server-go
ai-agents claude golang mcp software-development
Last synced: about 2 months ago
JSON representation
mcp-server-go is a module that is designed to give you an MCP server in Go, right out of the box. There is a publication for this repository which can be found at https://pascalallen.medium.com/how-to-build-an-mcp-server-in-go-50ed8a4c9ed4.
- Host: GitHub
- URL: https://github.com/pascalallen/mcp-server-go
- Owner: pascalallen
- License: mit
- Created: 2026-05-15T21:26:12.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-15T21:40:51.000Z (2 months ago)
- Last Synced: 2026-05-16T00:17:57.522Z (2 months ago)
- Topics: ai-agents, claude, golang, mcp, software-development
- Language: Go
- Homepage: https://pascalallen.medium.com/how-to-build-an-mcp-server-in-go-50ed8a4c9ed4
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mcp-server-go
mcp-server-go is a module that is designed to give you an MCP server in Go, right out of the box. There is a publication for this repository which can be found [here](https://medium.com/@pascalallen/how-to-build-an-mcp-server-in-go-50ed8a4c9ed4).
## Available Tools
| Tool | Description |
|------|-------------|
| `echo` | Returns the input message unchanged. Useful for testing connectivity. |
| `server_info` | Returns server name, version, and uptime in seconds. |
## Prerequisites
- [Go](https://go.dev/dl/)
## MCP server usage
### Run the MCP server from project root
```bash
go run cmd/main.go
```
### Install the MCP server in Claude Code
```bash
claude mcp add --transport http mcp-server-go http://localhost:8080/mcp
```