Directories
¶
Path | Synopsis |
---|---|
examples
|
|
client/listfeatures
command
The listfeatures command lists all features of a stdio MCP server.
|
The listfeatures command lists all features of a stdio MCP server. |
client/loadtest
command
The load command load tests a streamable MCP server
|
The load command load tests a streamable MCP server |
client/middleware
command
|
|
http
command
|
|
server/basic
command
|
|
server/completion
command
|
|
server/custom-transport
command
|
|
server/distributed
command
The distributed command is an example of a distributed MCP server.
|
The distributed command is an example of a distributed MCP server. |
server/elicitation
command
|
|
server/everything
command
The everything server implements all supported features of an MCP server.
|
The everything server implements all supported features of an MCP server. |
server/hello
command
The hello server contains a single tool that says hi to the user.
|
The hello server contains a single tool that says hi to the user. |
server/memory
command
|
|
server/middleware
command
|
|
server/sequentialthinking
command
|
|
server/sse
command
|
|
server/toolschemas
command
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.
|
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. |
rate-limiting
module
|
|
internal
|
|
docs
The doc package generates the documentation at /doc, via go:generate.
|
The doc package generates the documentation at /doc, via go:generate. |
jsonrpc2
Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec.
|
Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec. |
oauthex
Package oauthex implements extensions to OAuth2.
|
Package oauthex implements extensions to OAuth2. |
readme
The readme package is used to generate README.md at the top-level of this repo.
|
The readme package is used to generate README.md at the top-level of this repo. |
readme/client
command
!+
|
!+ |
readme/server
command
!+
|
!+ |
xcontext
Package xcontext is a package to offer the extra functionality we need from contexts that is not available from the standard context package.
|
Package xcontext is a package to offer the extra functionality we need from contexts that is not available from the standard context package. |
Package jsonrpc exposes part of a JSON-RPC v2 implementation for use by mcp transport authors.
|
Package jsonrpc exposes part of a JSON-RPC v2 implementation for use by mcp transport authors. |
The mcp package provides an SDK for writing model context protocol clients and servers.
|
The mcp package provides an SDK for writing model context protocol clients and servers. |
Package oauthex implements extensions to OAuth2.
|
Package oauthex implements extensions to OAuth2. |
Click to show internal directories.
Click to hide internal directories.