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
基本情報
Example how to make a DIY MCP server in Go
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"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`.

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,

Connect your AI assistant to your own YOUB endurance training account. Read recorded activities with full analysis, planned sessions, race goals, wellness (HRV, sleep, resting HR) and your athletic profile. Create or mov
🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
コメント