main
rw-r--r--
440 B
rw-r--r--
275 B
rw-r--r--
1.0 KB
rw-r--r--
4.6 KB
rw-r--r--
1.2 KB
rw-r--r--
599 B
rw-r--r--
10.8 KB

Go MCP Servers

License: MIT

A pure Go implementation of Model Context Protocol (MCP) servers.

Quick Start

Installation

# Build all servers
make build

# Install to /usr/local/bin (requires sudo)
sudo make install

Development

Prerequisites

  • Go
  • Make

Building

# Build all servers
make build

Testing

# 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
  4. 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 file for details.

Acknowledgments