BearHuddleston/go-mcp-server-example
If you are the rightful owner of go-mcp-server-example 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.
The MCP Coffee Shop server is a Go-based implementation of the Model Context Protocol (MCP) that provides coffee shop information through various tools, resources, and prompts.
The MCP Coffee Shop server is a robust implementation of the Model Context Protocol (MCP) designed to provide comprehensive information and services related to coffee shop operations. Built using Go, this server adheres to the MCP 2025-03-26 specification and supports multiple transport methods, including standard input/output and HTTP with Server-Sent Events (SSE). The server is structured following Go project layout best practices, ensuring maintainability and scalability. It offers a range of features tailored to the coffee shop domain, such as tools for managing operations, resources for accessing contextual data, and prompts for interactive interactions. The server is production-ready, featuring structured logging, error handling, and validation, along with graceful shutdown capabilities and configurable timeouts. It is designed to be easily deployable and configurable, making it suitable for both development and production environments.
Features
- MCP 2025-03-26 Specification Compliant
- Multiple Transport Support: stdio and HTTP with SSE
- Coffee Shop Domain: Tools, resources, and prompts for operations
- Graceful Shutdown & Configurable Timeouts
- Production Ready: Structured logging, error handling, validation
Tools
getDrinkNames
Get list of available drinks
getDrinkInfo
Get detailed drink information