mcp-go-starter

mcp-go-starter

3.3

If you are the rightful owner of mcp-go-starter 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.

A starter repository for building a Go MCP server using mcp-go, Cobra, and Viper.

The mcp-go-starter is a foundational repository designed to help developers quickly set up a Go-based Model Context Protocol (MCP) server. It leverages the mcp-go library along with Cobra and Viper for command-line interface and configuration management, respectively. This starter kit is configured to run out of the box with a provided mcp.json file, making it easy to get started with MCP server development. It includes example tools and resources, such as a 'Hello World' tool and a markdown resource, to demonstrate the capabilities of an MCP server. The repository also supports integration with development environments like VS Code and GitHub Codespaces, providing a seamless development experience.

Features

  • Hello World Tool: A tool that takes a 'name' argument and returns a personalized greeting.
  • Markdown Resource: Serves a markdown file as an MCP resource, demonstrating resource handling.
  • Prompt Example: Provides a simple prompt that greets the user by name.