소개
Explore a concise example of a Model Context Protocol (MCP) server, implemented in Go, that offers a single yet effective tool: `greet`. This server is designed to generate short, personalized greeting messages based on simple JSON input. It serves as an excellent reference for developers looking to understand and implement minimal MCP tools using the Go SDK, showcasing how to expose functionalities and descriptive prompt resources within the MCP ecosystem.
주요 기능
- Exposes a `greet` tool for personalized messages
- Provides a `greeting_prompt` resource for usage instructions
- Demonstrates minimal MCP tool implementation using Go SDK
- Supports stdin/stdout communication as an MCP server
- Allows customization of greeting text and locale in source code
- 0 GitHub stars
사용 사례
- Learning and demonstrating basic MCP tool development
- Integrating simple, customizable greeting capabilities into applications
- Serving as a foundational template for building more complex MCP tools in Go