golang-mcp-server

PfMartin/golang-mcp-server

3.2

If you are the rightful owner of golang-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 henry@mcphub.com.

MCP Server for testing the MCP Protocol in Golang.

golang-mcp-server

MCP Server for testing the MCP Protocol in Golang

Setup MCP Server Host

Ollama

ollama pull mistral
ollama serve

Download and install MCP Host Tool

mcphost tool

go install github.com/mark3labs/mcphost@latest

Setup path to your mcp server executable

  • Build binary
go build
  • Create .mcphost.json in home folder
touch ~/.mcphost.json
{
  "mcpServers": {
    "python-repl": {
      "command": "/home/martin/Projects/golang-mcp-server/golang-mcp-server"
    }
  }
}

Run server and MCP host

mcphost -m ollama:mistral # or any other model (provider:model) e.g. ollama:llama3.2

More info