Directories
¶
| Path | Synopsis |
|---|---|
|
Package authorization defines data structures that describe an MCP server’s authorization requirements as well as helper types for carrying OAuth2 / OIDC credentials.
|
Package authorization defines data structures that describe an MCP server’s authorization requirements as well as helper types for carrying OAuth2 / OIDC credentials. |
|
Package client declares the interfaces that make up the *client side* of the Model Context Protocol (MCP).
|
Package client declares the interfaces that make up the *client side* of the Model Context Protocol (MCP). |
|
example
|
|
|
myimpl
Package myimpl shows how to create a custom MCP server implementation by extending the default handler provided in github.com/viant/mcp-protocol/server.
|
Package myimpl shows how to create a custom MCP server implementation by extending the default handler provided in github.com/viant/mcp-protocol/server. |
|
skills
Package skills validates Agent Skills metadata and builds SEP-2640 inventories.
|
Package skills validates Agent Skills metadata and builds SEP-2640 inventories. |
|
Package logger defines a minimal, leveled logging interface used throughout the MCP reference implementation.
|
Package logger defines a minimal, leveled logging interface used throughout the MCP reference implementation. |
|
oauth2
|
|
|
meta
Package meta contains Go representations of standard OAuth 2.0 / OpenID Connect discovery documents such as *Authorization Server Metadata* (RFC 8414), *Protected Resource Metadata* and *JSON Web Key Sets* (JWKS).
|
Package meta contains Go representations of standard OAuth 2.0 / OpenID Connect discovery documents such as *Authorization Server Metadata* (RFC 8414), *Protected Resource Metadata* and *JSON Web Key Sets* (JWKS). |
|
Package schema hosts the Go types that mirror the *Model Context Protocol* (MCP) JSON schema.
|
Package schema hosts the Go types that mirror the *Model Context Protocol* (MCP) JSON schema. |
|
draft
Package schema (draft) contains experimental code generated from a draft version of the Model Context Protocol JSON schema.
|
Package schema (draft) contains experimental code generated from a draft version of the Model Context Protocol JSON schema. |
|
internal/resourcecontent
Package resourcecontent owns blob/text alternative selection for every native MCP schema version.
|
Package resourcecontent owns blob/text alternative selection for every native MCP schema version. |
|
jsonschema
Package jsonschema compiles native MCP JSON schemas from canonical type and resource owners.
|
Package jsonschema compiles native MCP JSON schemas from canonical type and resource owners. |
|
Package server contains the *protocol-level* abstractions that make up the “server side” of the Model Context Protocol (MCP).
|
Package server contains the *protocol-level* abstractions that make up the “server side” of the Model Context Protocol (MCP). |
|
Package syncmap provides a very small, generic wrapper around Go’s built-in map type guarded by a sync.RWMutex.
|
Package syncmap provides a very small, generic wrapper around Go’s built-in map type guarded by a sync.RWMutex. |
Click to show internal directories.
Click to hide internal directories.