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/httpEnvironment Variables
- PORT
Security Notes
The server primarily relies on the Go SDK and standard library, which are generally robust. Input validation for tools is handled via `jsonschema` tags, reducing common injection risks for server-side processing. Dynamic tool loading is an MCP feature, handled internally by the SDK with trusted, predefined tools. Minor potential for client-side XSS if client misrenders content from `greeting://{name}` or URL injection if the client directly opens `get_feedback` URLs without proper escaping, but this is a client-side rendering concern, not a server execution vulnerability.
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 starter template for developing Model Context Protocol (MCP) servers in Python, demonstrating core MCP features and patterns.
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
This Go SDK facilitates building applications that integrate with large language models (LLMs) by implementing the Model Context Protocol (MCP) for client-server communication, tool orchestration, and resource management.