mcp-server-go

DillonEnge/mcp-server-go

3.1

If you are the rightful owner of mcp-server-go 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.

A simple stdio MCP server implementation written in Go.

MCP Server Go is a lightweight server that implements the Model Control Protocol (MCP) using JSON-RPC 2.0 over standard input/output streams. It facilitates communication with AI models by providing a structured protocol for sending and receiving messages. The server is designed to be simple and efficient, making it suitable for various applications that require interaction with AI models. It supports essential methods for initialization, resource management, and tool invocation, ensuring a comprehensive interface for model control.

Features

  • Implements MCP over stdio using JSON-RPC 2.0
  • Supports server initialization and resource management
  • Provides tool listing and invocation capabilities
  • Thread-safe map implementation for concurrent operations
  • Customizable server name and version via environment variables