What transports does MCP Server Example (MCP Coffee Shop) support?
It supports `stdio` (default, compatible with MCP Inspector) and `http` with Server-Sent Events (SSE).
@BearHuddleston
Basic information
Example how to make a DIY MCP server in Go
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"go-mcp-server-example": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-server",
"."
]
}
}
}Get list of available drinks
Get detailed drink information
An MCP server implementation in Go that provides coffee shop information through tools, resources, and prompts. It supports stdio and HTTP with Server-Sent Events transports, follows Go project layout best practices, and is compliant with the MCP 2025-03-26 specification. Designed for developers building LLM-integrated coffee shop applications.
Build and run from source with Go 1.24+ (go build -o mcpserver ./cmd/mcpserver), or use Docker. Start with ./mcpserver for stdio transport (default), or ./mcpserver -transport http -port 8080 for HTTP. Customize via flags --transport, --port, and --request-timeout. Connect using the MCP Inspector for testing.
getDrinkNames toolgetDrinkInfomenu://app)It supports `stdio` (default, compatible with MCP Inspector) and `http` with Server-Sent Events (SSE).
Build the Docker image (`docker build -t mcp-server .`) and run with `--transport http --port 8080` for HTTP or `--transport stdio` for stdio. Environment variables `TRANSPORT` and `PORT` are also supported.
`--transport` (stdio/http, default stdio), `--port` (HTTP port, default 8080), and `--request-timeout` (duration, default 30s).
Yes, when using HTTP transport, a `GET /health` endpoint is available.
It implements `initialize`, `tools/list`, `tools/call`, `resources/list`, `resources/read`, `prompts/list`, `prompts/get`, and `ping`.
Senso MCP turns a Joomla 5 or 6 site into a remote MCP server. It runs inside Joomla itself (no extra server, no Node.js bridge) and is secured with OAuth 2.1 and Joomla's own ACL. The free pack lets an AI assistant crea
Open-source MCP to use Blender with any LLM
A search tool helps dev to solve the naming things problem.
🚀 The fast, Pythonic way to build MCP servers and clients.
MCP Toolbox for Databases is an open source MCP server for databases.
Comments