# Go MCP Servers [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) A pure Go implementation of Model Context Protocol (MCP) servers. ## Quick Start ### Installation ```bash # Build all servers make build # Install to /usr/local/bin (requires sudo) sudo make install ``` ## Development ### Prerequisites - Go - Make ### Building ```bash # Build all servers make build ``` ### Testing ```bash # Run all tests make test # Run tests with coverage make test-coverage # Run specific server tests go test ./pkg/git/... go test ./pkg/filesystem/... ``` ### Adding New Servers 1. Create a new directory under `cmd/` 2. Implement the server using the `pkg/mcp` package 3. Add comprehensive tests 5. Add build targets to Makefile Each server is a standalone binary that communicates via JSON-RPC over stdin/stdout, following the MCP specification. The modular package structure allows for easy reuse and testing of server implementations. ## License MIT License - see [LICENSE](LICENSE) file for details. ## Acknowledgments - Inspired by the [Python MCP servers](https://github.com/modelcontextprotocol/servers) - Follows the [Model Context Protocol](https://modelcontextprotocol.io/) specification