Affected by GO-2026-4569
and 2 other vulnerabilities
GO-2026-4569 : MCP Go SDK Vulnerable to Improper Handling of Case Sensitivity in github.com/modelcontextprotocol/go-sdk
GO-2026-4770 : Improper handling of null Unicode character when parsing JSON in github.com/modelcontextprotocol/go-sdk
GO-2026-4773 : Cross-Site Tool Execution for HTTP Servers without Authorizatrion in github.com/modelcontextprotocol/go-sdk
Discover Packages
github.com/modelcontextprotocol/go-sdk
examples
server
toolschemas
command
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Sep 26, 2025
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
The toolschemas example demonstrates how to create tools using both the
low-level [ToolHandler] and high level [ToolHandlerFor], as well as how to
customize schemas in both cases.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.