mcp-go-starter
Verified Safeby SamMorrowDrums
Overview
A feature-complete Model Context Protocol (MCP) server template in Go demonstrating tools, resources, and prompts for AI agent interaction.
Installation
go run ./cmd/stdioEnvironment Variables
- PORT
Security Notes
The server is built using standard Go libraries and the official MCP SDK. It supports both stdio and HTTP transports, with the HTTP server binding to localhost by default. There are no hardcoded secrets or 'eval' patterns identified. Dynamic tool loading is used to demonstrate adding functionality at runtime, but the 'bonus_calculator' tool is defined internally, not loaded from an untrusted external source. Elicitation features (form and URL) are part of the MCP protocol and are clearly annotated, providing clients with information about potential external interactions (e.g., opening a feedback URL).
Similar Servers
mcp-k8s-go
This MCP server enables interaction with Kubernetes clusters to list, get, apply, and execute commands on various resources through a conversational interface.
mcp-python-starter
A feature-complete Model Context Protocol (MCP) server template in Python for developing AI applications and agents.
mcp-server-python-template
This server acts as a template for building Model Context Protocol (MCP) servers in Python, specifically demonstrating how to expose weather-related tools (get_alerts, get_forecast) by integrating with an external API (National Weather Service) to provide context and actions for AI models.
mcp-sdk-go
A Go SDK for building applications that communicate with large language models and external tools via the Model Context Protocol (MCP), supporting both client and server implementations.