Calculator
Provides a Go-based Model Context Protocol (MCP) server featuring calculator and greeting functionalities.
关于
This Go implementation offers a fully compliant Model Context Protocol (MCP) server, adhering to the official MCP specification. It provides calculator functionalities, allowing for simple arithmetic operations, alongside a greeting resource. Built with JSON-RPC 2.0 for communication, the server supports tool registration, execution, resource handling, server capability negotiation, and comprehensive error handling as per the specification.
主要功能
- Full JSON-RPC 2.0 implementation
- Error handling according to spec
- MCP protocol support
- 1 GitHub stars
- Tool registration and execution
- Server capability negotiation
- Resource handling
使用案例
- Developing MCP-compatible applications.
- Integrating calculation tools within an MCP environment.
- Implementing greeting resources within an MCP environment.